Experimental: save/restore screen for channel list context menu

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1935 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: e85c48501f
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-12-05 (Mon, 05 Dec 2011)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2011-12-05 14:16:28 +00:00
parent 0e5976c8ea
commit 02275a1ab7
5 changed files with 77 additions and 21 deletions

View File

@@ -664,6 +664,7 @@ int COsdSetup::showContextChanlistMenu()
static int cselected = -1;
CMenuWidget * menu_chanlist = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width);
menu_chanlist->enableSaveScreen(true);
menu_chanlist->setSelected(cselected);
menu_chanlist->addIntroItems(LOCALE_MISCSETTINGS_CHANNELLIST);
@@ -676,8 +677,9 @@ int COsdSetup::showContextChanlistMenu()
/* TODO ? problems:
* 1. channel list not re-calc sizes after menu;
* 2. font menu smaller and make hole in channel list */
#if 0
#if 1
CMenuWidget *fontSettingsSubMenu = new CMenuWidget(LOCALE_FONTMENU_HEAD, NEUTRINO_ICON_KEYBINDING);
fontSettingsSubMenu->enableSaveScreen(true);
int i = 1;
fontSettingsSubMenu->addIntroItems(font_sizes_groups[i].groupname);