mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/videosettings.cpp: add font scaling for easymenu mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 74ba3ca979
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/hintbox.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <gui/osd_setup.h>
|
||||
|
||||
#include <driver/screen_max.h>
|
||||
|
||||
@@ -329,6 +330,11 @@ int CVideoSettings::showVideoSetup()
|
||||
pipsetup->setHint("", LOCALE_MENU_HINT_VIDEO_PIP);
|
||||
videosetup->addItem(pipsetup);
|
||||
#endif
|
||||
if (g_settings.easymenu) {
|
||||
CMenuForwarder * mf = new CMenuDForwarder(LOCALE_FONTMENU_SCALING, true, NULL, new COsdSetup(), "font_scaling");
|
||||
mf->setHint("", LOCALE_MENU_HINT_FONT_SCALING);
|
||||
videosetup->addItem(mf);
|
||||
}
|
||||
int res = videosetup->exec(NULL, "");
|
||||
selected = videosetup->getSelected();
|
||||
delete videosetup;
|
||||
|
Reference in New Issue
Block a user