From d9e540b865f3deb50766fdbeace4839368a62b4f Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 25 Sep 2017 08:42:26 +0200 Subject: [PATCH] - menue: add possibility to add localized values in CMenuOptionNumberChooser seperately --- src/gui/widget/menue.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index 7e78de2ab..ade80cafd 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -361,6 +361,8 @@ private: void setNumberFormat(std::string format) { numberFormat = format; } void setNumberFormat(std::string (*fun)(int)) { numberFormatFunction = fun; } 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