mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
menu: add optional usage of toggle buttons to visualze options
This commit is contained in:
@@ -126,6 +126,10 @@ class CMenuItem : public CComponentsSignals
|
||||
neutrino_locale_t desc;
|
||||
std::string descString;
|
||||
CActivateObserver * actObserv;
|
||||
|
||||
bool has_option_icon;
|
||||
void handleOptionIcon(const std::string& str_option);
|
||||
const char* getValName(const neutrino_locale_t& Option, const char* ValName);
|
||||
public:
|
||||
int height;
|
||||
bool active, current_active;
|
||||
@@ -439,7 +443,6 @@ class CMenuOptionChooser : public CAbstractMenuOptionChooser
|
||||
bool OptionsSort
|
||||
);
|
||||
|
||||
|
||||
public:
|
||||
CMenuOptionChooser(const neutrino_locale_t Name, int * const OptionValue, const struct keyval * const Options,
|
||||
const size_t Number_Of_Options, const bool Active = false, CChangeObserver * const Observ = NULL,
|
||||
|
Reference in New Issue
Block a user