*neutrino osd settings: use enums

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1435 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2011-05-06 18:15:53 +00:00
parent f26db77d13
commit 4eee095aad
2 changed files with 13 additions and 5 deletions

View File

@@ -60,10 +60,6 @@
void AddFontSettingItem(CMenuWidget &font_Settings, const SNeutrinoSettings::FONT_TYPES number_of_fontsize_entry); void AddFontSettingItem(CMenuWidget &font_Settings, const SNeutrinoSettings::FONT_TYPES number_of_fontsize_entry);
public: public:
COsdSetup(bool wizard_mode = false);
~COsdSetup();
int exec(CMenuTarget* parent, const std::string & actionKey);
enum INFOBAR_CHANNEL_LOGO_POS_OPTIONS enum INFOBAR_CHANNEL_LOGO_POS_OPTIONS
{ {
INFOBAR_NO_LOGO, INFOBAR_NO_LOGO,
@@ -78,6 +74,18 @@
INFOBAR_LOGO_FRAMED, INFOBAR_LOGO_FRAMED,
INFOBAR_LOGO_SHADED INFOBAR_LOGO_SHADED
}; };
enum OSD_SETUP_MODE
{
OSD_SETUP_MODE_WIZARD_NO = 0,
OSD_SETUP_MODE_WIZARD = 1
};
COsdSetup(bool wizard_mode = OSD_SETUP_MODE_WIZARD_NO);
~COsdSetup();
int exec(CMenuTarget* parent, const std::string & actionKey);
}; };

View File

@@ -71,7 +71,7 @@ class COsdLangSetup : public CMenuTarget, CChangeObserver
OSDLANG_SETUP_MODE_WIZARD = 1 OSDLANG_SETUP_MODE_WIZARD = 1
}; };
COsdLangSetup(bool wizard_mode = false); COsdLangSetup(bool wizard_mode = OSDLANG_SETUP_MODE_WIZARD_NO);
~COsdLangSetup(); ~COsdLangSetup();
int exec(CMenuTarget* parent, const std::string & actionKey); int exec(CMenuTarget* parent, const std::string & actionKey);
}; };