CStringInput: unify init handler inside constructors, fix message title

Alternative solution for: remove possible display of NONEXISTANT_LOCALE
4e853d98c2

Locales are used for setting keys and passed with notifies for
observer objects. It seems this is not really a good idea in some
constellations.
This commit is contained in:
2016-12-27 18:25:43 +01:00
parent b9eeaf74dc
commit 8dc96ec830
2 changed files with 20 additions and 30 deletions

View File

@@ -64,7 +64,7 @@ class CStringInput : public CMenuTarget
bool force_saveScreen;
fb_pixel_t *pixBuf;
virtual void init();
virtual void init(const std::string &Name, std::string *Value, int Size, const neutrino_locale_t Hint_1, const neutrino_locale_t Hint_2, const char * const Valid_Chars, CChangeObserver* Observ, const char * const Icon);
virtual void paint(bool sms = false);
virtual void paintChar(int pos, char c);