- 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 is contained in:
svenhoefer
2013-09-02 20:59:26 +02:00
parent b8ec3b55e6
commit 6ed30528f9
10 changed files with 112 additions and 36 deletions

View File

@@ -54,7 +54,8 @@ typedef struct fb_var_screeninfo t_fb_var_screeninfo;
#define FADE_STEP 5
#define FADE_RESET 0xFFFF
#define NON_BIG_WINDOWS 85 // %
#define WINDOW_SIZE_MAX 100 // %
#define WINDOW_SIZE_MIN 80 // %
#define ConnectLineBox_Width 16 // px
/** Ausfuehrung als Singleton */
@@ -157,7 +158,6 @@ class CFrameBuffer
unsigned int getStride() const; // size of a single line in the framebuffer (in bytes)
unsigned int getScreenWidth(bool real = false);
unsigned int getScreenHeight(bool real = false);
unsigned int getScreenPercentRel(bool force_small);
unsigned int getScreenWidthRel(bool force_small = false);
unsigned int getScreenHeightRel(bool force_small = false);
unsigned int getScreenX();