mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
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
This commit is contained in:
@@ -56,9 +56,9 @@ int dvbsub_getpid();
|
||||
#define AUDIOMENU_ANALOGOUT_OPTION_COUNT 3
|
||||
const CMenuOptionChooser::keyval AUDIOMENU_ANALOGOUT_OPTIONS[AUDIOMENU_ANALOGOUT_OPTION_COUNT] =
|
||||
{
|
||||
{ 0, LOCALE_AUDIOMENU_STEREO ,0 },
|
||||
{ 1, LOCALE_AUDIOMENU_MONOLEFT ,0 },
|
||||
{ 2, LOCALE_AUDIOMENU_MONORIGHT ,0}
|
||||
{ 0, LOCALE_AUDIOMENU_STEREO },
|
||||
{ 1, LOCALE_AUDIOMENU_MONOLEFT },
|
||||
{ 2, LOCALE_AUDIOMENU_MONORIGHT }
|
||||
};
|
||||
|
||||
int CAudioSelectMenuHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
|
||||
|
Reference in New Issue
Block a user