widget/menu.*: add keyval_ext type

instead of adding unneeded default values to all menuchooser options
just to cater for two special cases, add an extra version that does
not need a locale setting but instead takes a char* instead.

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


Origin commit data
------------------
Commit: 7dcf8fe14d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-31 (Thu, 31 Dec 2009)
This commit is contained in:
Stefan Seyfried
2009-12-31 09:34:53 +00:00
parent 4f81bd2eac
commit f889ea0743
12 changed files with 373 additions and 295 deletions

View File

@@ -912,21 +912,21 @@ bool CEventFinderMenuHandler::changeNotify(const neutrino_locale_t OptionName, v
#define SEARCH_LIST_OPTION_COUNT 3
const CMenuOptionChooser::keyval SEARCH_LIST_OPTIONS[SEARCH_LIST_OPTION_COUNT] =
{
// { EventList::SEARCH_LIST_NONE , LOCALE_PICTUREVIEWER_RESIZE_NONE ,0 },
{ EventList::SEARCH_LIST_CHANNEL , LOCALE_TIMERLIST_CHANNEL ,0 },
{ EventList::SEARCH_LIST_BOUQUET , LOCALE_BOUQUETLIST_HEAD ,0 },
{ EventList::SEARCH_LIST_ALL , LOCALE_CHANNELLIST_HEAD ,0 }
// { EventList::SEARCH_LIST_NONE, LOCALE_PICTUREVIEWER_RESIZE_NONE },
{ EventList::SEARCH_LIST_CHANNEL, LOCALE_TIMERLIST_CHANNEL },
{ EventList::SEARCH_LIST_BOUQUET, LOCALE_BOUQUETLIST_HEAD },
{ EventList::SEARCH_LIST_ALL, LOCALE_CHANNELLIST_HEAD }
};
#define SEARCH_EPG_OPTION_COUNT 3
const CMenuOptionChooser::keyval SEARCH_EPG_OPTIONS[SEARCH_EPG_OPTION_COUNT] =
{
// { EventList::SEARCH_EPG_NONE , LOCALE_PICTUREVIEWER_RESIZE_NONE ,0 },
{ EventList::SEARCH_EPG_TITLE , LOCALE_FONTSIZE_EPG_TITLE ,0},
{ EventList::SEARCH_EPG_INFO1 , LOCALE_FONTSIZE_EPG_INFO1 ,0 },
{ EventList::SEARCH_EPG_INFO2 , LOCALE_FONTSIZE_EPG_INFO2 ,0 }
// ,{ EventList::SEARCH_EPG_GENRE , LOCALE_MOVIEBROWSER_INFO_GENRE_MAJOR }
// { EventList::SEARCH_EPG_NONE, LOCALE_PICTUREVIEWER_RESIZE_NONE },
{ EventList::SEARCH_EPG_TITLE, LOCALE_FONTSIZE_EPG_TITLE },
{ EventList::SEARCH_EPG_INFO1, LOCALE_FONTSIZE_EPG_INFO1 },
{ EventList::SEARCH_EPG_INFO2, LOCALE_FONTSIZE_EPG_INFO2 }
// ,{ EventList::SEARCH_EPG_GENRE, LOCALE_MOVIEBROWSER_INFO_GENRE_MAJOR }
};