menu: add overloaded version for CMenuOptionStringChooser

This commit is contained in:
2012-06-05 21:24:42 +02:00
parent 24dd74e471
commit f836f3c3f3
2 changed files with 22 additions and 3 deletions

View File

@@ -355,6 +355,7 @@ class CMenuOptionChooser : public CAbstractMenuOptionChooser
class CMenuOptionStringChooser : public CMenuItem
{
neutrino_locale_t optionName;
std::string optionNameString;
int height;
char * optionValue;
std::vector<std::string> options;
@@ -363,6 +364,8 @@ class CMenuOptionStringChooser : public CMenuItem
public:
CMenuOptionStringChooser(const neutrino_locale_t OptionName, char* OptionValue, bool Active = false, CChangeObserver* Observ = NULL, const neutrino_msg_t DirectKey = CRCInput::RC_nokey, const std::string & IconName= "", bool Pulldown = false);
CMenuOptionStringChooser(const char* OptionName, char* OptionValue, bool Active = false, CChangeObserver* Observ = NULL, const neutrino_msg_t DirectKey = CRCInput::RC_nokey, const std::string & IconName= "", bool Pulldown = false);
~CMenuOptionStringChooser();
void addOption(const char * value);