mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
menu: add optional usage of toggle buttons to visualze options
Origin commit data
------------------
Commit: f0f4698984
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)
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;
|
||||
@@ -442,7 +446,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