gui/widget/menue.cpp: simplify CMenuOptionLanguageChooser - we have one option for every instance

This commit is contained in:
[CST] Focus
2012-05-07 14:55:29 +04:00
parent 65edc676b4
commit b314d9329f
2 changed files with 6 additions and 37 deletions

View File

@@ -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
{