keyboard_input: auto calculate size of input-field ...

... if size is 0 or not given.


Origin commit data
------------------
Branch: ni/coolstream
Commit: b727ea4be8
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-22 (Sat, 22 Nov 2014)

Origin message was:
------------------
- keyboard_input: auto calculate size of input-field ...

 ... if size is 0 or not given.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-11-22 15:53:47 +01:00
parent 809344dadf
commit a2db36124a
2 changed files with 14 additions and 6 deletions

View File

@@ -124,8 +124,8 @@ class CKeyboardInput : public CMenuTarget
virtual void setLayout();
public:
CKeyboardInput(const neutrino_locale_t Name, std::string* Value, int Size, CChangeObserver* Observ = NULL, const char * const Icon = NULL, const neutrino_locale_t Hint_1 = NONEXISTANT_LOCALE, const neutrino_locale_t Hint_2 = NONEXISTANT_LOCALE);
CKeyboardInput(const std::string &Name, std::string* Value, int Size, CChangeObserver* Observ = NULL, const char * const Icon = NULL, const neutrino_locale_t Hint_1 = NONEXISTANT_LOCALE, const neutrino_locale_t Hint_2 = NONEXISTANT_LOCALE);
CKeyboardInput(const neutrino_locale_t Name, std::string* Value, int Size = 0, CChangeObserver* Observ = NULL, const char * const Icon = NULL, const neutrino_locale_t Hint_1 = NONEXISTANT_LOCALE, const neutrino_locale_t Hint_2 = NONEXISTANT_LOCALE);
CKeyboardInput(const std::string &Name, std::string* Value, int Size = 0, CChangeObserver* Observ = NULL, const char * const Icon = NULL, const neutrino_locale_t Hint_1 = NONEXISTANT_LOCALE, const neutrino_locale_t Hint_2 = NONEXISTANT_LOCALE);
~CKeyboardInput();
void hide();