gui/widget/menue, gui/osdlang_setup: drop CMenuOptionLanguageChooser class

This commit is contained in:
martii
2014-03-02 21:31:26 +01:00
committed by svenhoefer
parent c161760670
commit eb206ae523
4 changed files with 16 additions and 72 deletions

View File

@@ -245,7 +245,7 @@ class CMenuForwarder : public CMenuItem
int getWidth(void);
neutrino_locale_t getTextLocale() const {return name;}
CMenuTarget* getTarget() const {return jumpTarget;}
std::string getActionKey(){return actionKey;}
const char *getActionKey(){return actionKey.c_str();}
int exec(CMenuTarget* parent);
bool isSelectable(void) const { return active; }
@@ -444,29 +444,6 @@ class CMenuOptionStringChooser : public CMenuItem
int isMenueOptionChooser(void) const{return 1;}
};
class CMenuOptionLanguageChooser : public CMenuItem
{
int height;
std::string optionValue;
CChangeObserver * observ;
public:
CMenuOptionLanguageChooser(char* OptionValue, CChangeObserver* Observ = NULL, const char * const IconName = NULL);
~CMenuOptionLanguageChooser();
int paint(bool selected);
int getHeight(void) const
{
return height;
}
bool isSelectable(void) const
{
return true;
}
int exec(CMenuTarget* parent);
};
class CMenuGlobal
{
public: