mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/widget/menue.cpp: simplify CMenuOptionLanguageChooser - we have one option for every instance
This commit is contained in:
@@ -362,15 +362,13 @@ class CMenuOptionStringChooser : public CMenuItem
|
||||
class CMenuOptionLanguageChooser : public CMenuItem
|
||||
{
|
||||
int height;
|
||||
char * optionValue;
|
||||
std::vector<std::string> options;
|
||||
std::string optionValue;
|
||||
CChangeObserver * observ;
|
||||
|
||||
public:
|
||||
CMenuOptionLanguageChooser(char* OptionValue, CChangeObserver* Observ = NULL, const char * const IconName = NULL);
|
||||
~CMenuOptionLanguageChooser();
|
||||
|
||||
void addOption(const char * value);
|
||||
int paint(bool selected);
|
||||
int getHeight(void) const
|
||||
{
|
||||
|
Reference in New Issue
Block a user