CStringInput: unify init handler inside constructors, fix message title

Alternative solution for: remove possible display of NONEXISTANT_LOCALE
c25ecd2b48

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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8dc96ec830
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-27 (Tue, 27 Dec 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-12-27 18:25:43 +01:00
parent 7eed1784e8
commit 06e8854e50
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);