menue: add possibility to add localized values in CMenuOptionNumberChooser seperately

Origin commit data
------------------
Branch: ni/coolstream
Commit: d9e540b865
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-25 (Mon, 25 Sep 2017)

Origin message was:
------------------
- menue: add possibility to add localized values in CMenuOptionNumberChooser seperately

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-09-25 08:42:26 +02:00
committed by Jacek Jendrzej
parent c3714b6af6
commit 516f957a6b

View File

@@ -361,6 +361,8 @@ private:
void setNumberFormat(std::string format) { numberFormat = format; } void setNumberFormat(std::string format) { numberFormat = format; }
void setNumberFormat(std::string (*fun)(int)) { numberFormatFunction = fun; } void setNumberFormat(std::string (*fun)(int)) { numberFormatFunction = fun; }
void setNumericInput(bool _numeric_input) { numeric_input = _numeric_input; } void setNumericInput(bool _numeric_input) { numeric_input = _numeric_input; }
void setLocalizedValue(int special_value) { localized_value = special_value; }
void setLocalizedValueName(neutrino_locale_t special_value_name) { localized_value_name = special_value_name; }
}; };
class CMenuOptionChooserOptions class CMenuOptionChooserOptions