osd_setup: introduce g_settings.window_size to scale some windows

* remove g_settings.big_windows
* add setup window (use up/down to change size)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ed30528f9
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-09-02 (Mon, 02 Sep 2013)

Origin message was:
------------------
- osd_setup: introduce g_settings.window_size to scale some windows

* remove g_settings.big_windows
* add setup window (use up/down to change size)


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-09-02 20:59:26 +02:00
parent c4ae13fa98
commit 930f73dae6
10 changed files with 112 additions and 36 deletions

View File

@@ -31,6 +31,7 @@
#ifndef __osd_setup__
#define __osd_setup__
#include <gui/components/cc_item_shapes.h>
#include <gui/widget/menue.h>
#include <driver/framebuffer.h>
@@ -43,12 +44,15 @@
class COsdSetup : public CMenuTarget, public CChangeObserver
{
private:
CFrameBuffer *frameBuffer;
CColorSetupNotifier *colorSetupNotifier;
CFontSizeNotifier *fontsizenotifier;
CMenuWidget *osd_menu;
CMenuWidget *submenu_menus;
CMenuForwarder *mfFontFile, *mfTtxFontFile;
CMenuForwarder *mfFontFile, *mfTtxFontFile, *mfWindowSize;
char window_size_value[6];
std::string osdFontFile, osdTtxFontFile;
CComponentsShapeSquare *win_demo;
int width;
bool is_wizard;