gui/osd_setup.cpp: add support to change window width and height,

use buttons up/down to change height, left/right to change width, page up/down to change both


Origin commit data
------------------
Branch: ni/coolstream
Commit: aaf9d3edf6
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-07 (Thu, 07 Nov 2013)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-11-07 17:27:23 +04:00
parent 1640aeae8d
commit d535a4c4d6
2 changed files with 60 additions and 37 deletions

View File

@@ -50,7 +50,7 @@ class COsdSetup : public CMenuTarget, public CChangeObserver
CMenuWidget *osd_menu;
CMenuWidget *submenu_menus;
CMenuForwarder *mfFontFile, *mfTtxFontFile, *mfWindowSize;
char window_size_value[6];
char window_size_value[10];
std::string osdFontFile, osdTtxFontFile;
CComponentsShapeSquare *win_demo;
@@ -69,6 +69,7 @@ class COsdSetup : public CMenuTarget, public CChangeObserver
void showOsdEventlistSetup(CMenuWidget *menu_eventlist);
void showOsdVolumeSetup(CMenuWidget *menu_volume);
void showOsdScreenShotSetup(CMenuWidget *menu_screenshot);
void paintWindowSize(int w, int h);
void AddFontSettingItem(CMenuWidget &font_Settings, const SNeutrinoSettings::FONT_TYPES number_of_fontsize_entry);