mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- code alignments to master branch
This commit is contained in:
@@ -34,29 +34,16 @@ class CFrameBuffer;
|
||||
class CPlugins
|
||||
{
|
||||
public:
|
||||
typedef enum p_type
|
||||
{
|
||||
P_TYPE_DISABLED = 0x1,
|
||||
P_TYPE_GAME = 0x2,
|
||||
P_TYPE_TOOL = 0x4,
|
||||
P_TYPE_SCRIPT = 0x8,
|
||||
P_TYPE_LUA = 0x10,
|
||||
P_TYPE_NO_GAME = P_TYPE_TOOL|P_TYPE_SCRIPT|P_TYPE_LUA
|
||||
}
|
||||
p_type_t;
|
||||
|
||||
typedef enum i_type
|
||||
{
|
||||
I_TYPE_DISABLED = 0x1,
|
||||
/*
|
||||
I_TYPE_MAIN = 0x2,
|
||||
*/
|
||||
I_TYPE_MULTIMEDIA = 0x4,
|
||||
I_TYPE_SETTING = 0x8,
|
||||
I_TYPE_SERVICE = 0x10,
|
||||
I_TYPE_INFORMATION = 0x20
|
||||
}
|
||||
i_type_t;
|
||||
typedef enum p_type
|
||||
{
|
||||
P_TYPE_DISABLED = 0x1,
|
||||
P_TYPE_GAME = 0x2,
|
||||
P_TYPE_TOOL = 0x4,
|
||||
P_TYPE_SCRIPT = 0x8,
|
||||
P_TYPE_LUA = 0x10,
|
||||
P_TYPE_NO_GAME = P_TYPE_TOOL|P_TYPE_SCRIPT|P_TYPE_LUA
|
||||
}
|
||||
p_type_t;
|
||||
|
||||
private:
|
||||
CFrameBuffer *frameBuffer;
|
||||
|
@@ -388,7 +388,7 @@ int CVideoSettings::showVideoSetup()
|
||||
|
||||
for (int i = 0; i < VIDEOMENU_VIDEOMODE_OPTION_COUNT; i++)
|
||||
if (VIDEOMENU_VIDEOMODE_OPTIONS[i].key != -1)
|
||||
videomodes.addItem(new CMenuOptionChooser(VIDEOMENU_VIDEOMODE_OPTIONS[i].valname, &g_settings.enabled_video_modes[i], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, &anotify));
|
||||
videomodes.addItem(new CMenuOptionChooser(VIDEOMENU_VIDEOMODE_OPTIONS[i].valname, &g_settings.enabled_video_modes[i], OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, &anotify));
|
||||
|
||||
vs_videomodes_fw = new CMenuForwarder(LOCALE_VIDEOMENU_ENABLED_MODES, true, NULL, &videomodes, NULL, CRCInput::RC_red);
|
||||
vs_videomodes_fw->setHint("", LOCALE_MENU_HINT_VIDEO_MODES);
|
||||
|
@@ -393,7 +393,7 @@ void CNeutrinoApp::InitMenuService()
|
||||
mf->setHint(NEUTRINO_ICON_HINT_SERVICE_SCAN, LOCALE_MENU_HINT_SERVICE_SCAN);
|
||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_SCANTS], false, CPersonalizeGui::PERSONALIZE_SHOW_AS_ITEM_OPTION, NULL, DCOND_MODE_TS);
|
||||
|
||||
//reload channels
|
||||
//reload channels
|
||||
mf = new CMenuForwarder(LOCALE_SERVICEMENU_RELOAD , true, NULL, CScanSetup::getInstance(), "reloadchannels", CRCInput::RC_yellow);
|
||||
mf->setHint(NEUTRINO_ICON_HINT_RELOAD_CHANNELS, LOCALE_MENU_HINT_RELOAD_CHANNELS);
|
||||
personalize.addItem(MENU_SERVICE, mf, &g_settings.personalize[SNeutrinoSettings::P_MSER_RELOAD_CHANNELS]);
|
||||
@@ -402,10 +402,10 @@ void CNeutrinoApp::InitMenuService()
|
||||
// TODO: this needs a neutrino restart after changing parentallock_prompt to activate :-(
|
||||
CLockedMenuForwarder *lf;
|
||||
lf = new CLockedMenuForwarder(LOCALE_BOUQUETEDITOR_NAME, g_settings.parentallock_pincode, g_settings.parentallock_prompt == PARENTALLOCK_PROMPT_CHANGETOLOCKED, true, NULL, new CBEBouquetWidget(), NULL, CRCInput::RC_blue);
|
||||
|
||||
/* does not work with CLockedMenuForwarder yet?
|
||||
lf->setHint(NEUTRINO_ICON_HINT_BEDIT, LOCALE_MENU_HINT_BEDIT);
|
||||
*/
|
||||
|
||||
personalize.addItem(MENU_SERVICE, lf, &g_settings.personalize[SNeutrinoSettings::P_MSER_BOUQUET_EDIT]);
|
||||
|
||||
//channel reset
|
||||
|
Reference in New Issue
Block a user