mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
keybind-setup: addition to 0e869b8a96
Origin commit data ------------------ Commit:844d0f72e7
Author: vanhofen <vanhofen@gmx.de> Date: 2021-12-10 (Fri, 10 Dec 2021) Origin message was: ------------------ - keybind-setup: addition to0e869b8a96
This commit is contained in:
@@ -146,8 +146,8 @@ int CKeybindSetup::exec(CMenuTarget *parent, const std::string &actionKey)
|
||||
return res;
|
||||
}
|
||||
|
||||
#define KEYBINDINGMENU_BOUQUETHANDLING_OPTION_COUNT 2
|
||||
const CMenuOptionChooser::keyval KEYBINDINGMENU_BOUQUETHANDLING_OPTIONS[KEYBINDINGMENU_BOUQUETHANDLING_OPTION_COUNT] =
|
||||
#define KEYBINDINGMENU_BOUQUETLIST_MODE_OPTION_COUNT 2
|
||||
const CMenuOptionChooser::keyval KEYBINDINGMENU_BOUQUETLIST_MODE_OPTIONS[KEYBINDINGMENU_BOUQUETLIST_MODE_OPTION_COUNT] =
|
||||
{
|
||||
{ SNeutrinoSettings::CHANNELLIST, LOCALE_KEYBINDINGMENU_CHANNELLIST },
|
||||
{ SNeutrinoSettings::FAVORITES, LOCALE_KEYBINDINGMENU_FAVORITES }
|
||||
@@ -508,7 +508,7 @@ void CKeybindSetup::showKeyBindChannellistSetup(CMenuWidget *bindSettings_chlist
|
||||
{
|
||||
bindSettings_chlist->addIntroItems(LOCALE_KEYBINDINGMENU_CHANNELLIST);
|
||||
|
||||
CMenuOptionChooser *oj = new CMenuOptionChooser(LOCALE_KEYBINDINGMENU_BOUQUETHANDLING, &g_settings.bouquetlist_mode, KEYBINDINGMENU_BOUQUETHANDLING_OPTIONS, KEYBINDINGMENU_BOUQUETHANDLING_OPTION_COUNT, true);
|
||||
CMenuOptionChooser *oj = new CMenuOptionChooser(LOCALE_KEYBINDINGMENU_BOUQUETLIST_MODE, &g_settings.bouquetlist_mode, KEYBINDINGMENU_BOUQUETLIST_MODE_OPTIONS, KEYBINDINGMENU_BOUQUETLIST_MODE_OPTION_COUNT, true);
|
||||
bindSettings_chlist->addItem(oj);
|
||||
|
||||
for (int i = NKEY_LIST_START; i <= NKEY_CURRENT_TRANSPONDER; i++)
|
||||
|
@@ -1157,7 +1157,7 @@ typedef enum
|
||||
LOCALE_KEYBINDINGMENU_ADDRECORD,
|
||||
LOCALE_KEYBINDINGMENU_ADDREMIND,
|
||||
LOCALE_KEYBINDINGMENU_BOUQUETDOWN,
|
||||
LOCALE_KEYBINDINGMENU_BOUQUETHANDLING,
|
||||
LOCALE_KEYBINDINGMENU_BOUQUETLIST_MODE,
|
||||
LOCALE_KEYBINDINGMENU_BOUQUETUP,
|
||||
LOCALE_KEYBINDINGMENU_CANCEL,
|
||||
LOCALE_KEYBINDINGMENU_CHANNELDOWN,
|
||||
|
@@ -1157,7 +1157,7 @@ const char * locale_real_names[] =
|
||||
"keybindingmenu.addrecord",
|
||||
"keybindingmenu.addremind",
|
||||
"keybindingmenu.bouquetdown",
|
||||
"keybindingmenu.bouquethandling",
|
||||
"keybindingmenu.bouquetlist_mode",
|
||||
"keybindingmenu.bouquetup",
|
||||
"keybindingmenu.cancel",
|
||||
"keybindingmenu.channeldown",
|
||||
|
@@ -1267,10 +1267,10 @@ struct SNeutrinoSettings
|
||||
INFOBAR = 3
|
||||
};
|
||||
|
||||
enum BOUQUETHANDLING_SETTINGS
|
||||
enum BOUQUETLIST_MODES
|
||||
{
|
||||
CHANNELLIST = 0,
|
||||
FAVORITES = 2
|
||||
FAVORITES = 1
|
||||
};
|
||||
|
||||
int mode_left_right_key_tv;
|
||||
|
Reference in New Issue
Block a user