mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 19:01:25 +02:00
-add CA display mode
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@689 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -548,6 +548,7 @@ typedef enum {
|
||||
LOCALE_MISCSETTINGS_HWSECTIONS,
|
||||
LOCALE_MISCSETTINGS_INFOBAR,
|
||||
LOCALE_MISCSETTINGS_INFOBAR_CASYSTEM_DISPLAY,
|
||||
LOCALE_MISCSETTINGS_INFOBAR_CASYSTEM_MODE,
|
||||
LOCALE_MISCSETTINGS_INFOBAR_DISP_0,
|
||||
LOCALE_MISCSETTINGS_INFOBAR_DISP_1,
|
||||
LOCALE_MISCSETTINGS_INFOBAR_DISP_2,
|
||||
|
@@ -548,6 +548,7 @@ const char *locale_real_names[] = {
|
||||
"miscsettings.hwsections",
|
||||
"miscsettings.infobar",
|
||||
"miscsettings.infobar_casystem_display",
|
||||
"miscsettings.infobar_casystem_mode",
|
||||
"miscsettings.infobar_disp_0",
|
||||
"miscsettings.infobar_disp_1",
|
||||
"miscsettings.infobar_disp_2",
|
||||
|
@@ -1017,3 +1017,15 @@ printf("CAllUsalsNotifier::changeNotify: %s\n", onoff ? "ON" : "OFF");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
CAModeNotifier::CAModeNotifier(CMenuOptionChooser* i1)
|
||||
{
|
||||
toDisable=i1;
|
||||
}
|
||||
|
||||
bool CAModeNotifier::changeNotify(const neutrino_locale_t, void *)
|
||||
{
|
||||
toDisable->setActive(g_settings.casystem_display);
|
||||
return true;
|
||||
}
|
||||
|
@@ -318,4 +318,14 @@ public:
|
||||
bool changeNotify(const neutrino_locale_t, void * data);
|
||||
};
|
||||
|
||||
class CAModeNotifier : public CChangeObserver
|
||||
{
|
||||
private:
|
||||
CMenuOptionChooser* toDisable;
|
||||
public:
|
||||
CAModeNotifier( CMenuOptionChooser* );
|
||||
bool changeNotify(const neutrino_locale_t, void *);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
@@ -66,6 +66,7 @@ struct SNeutrinoSettings
|
||||
int infobar_show_channellogo;
|
||||
int progressbar_color;
|
||||
int casystem_display;
|
||||
int casystem_mode;
|
||||
int scrambled_message;
|
||||
int volume_pos;
|
||||
int menu_pos;
|
||||
|
Reference in New Issue
Block a user