change most code to use CKeyboardInput in place of CStringInputSMS

This commit is contained in:
[CST] Focus
2014-11-19 18:21:38 +03:00
parent 003acea160
commit 549e110e14
13 changed files with 43 additions and 36 deletions

View File

@@ -62,6 +62,7 @@
#include <gui/widget/messagebox.h>
#include <gui/widget/stringinput.h>
#include <gui/widget/stringinput_ext.h>
#include <gui/widget/keyboard_input.h>
#include <system/settings.h>
#include <system/fsmounter.h>
@@ -1223,7 +1224,7 @@ int CTimerList::newTimer()
CMenuOptionChooser* m8 = new CMenuOptionChooser(LOCALE_TIMERLIST_STANDBY, &timerNew_standby_on, TIMERLIST_STANDBY_OPTIONS, TIMERLIST_STANDBY_OPTION_COUNT, false);
timerNew_message = std::string(timerNew.message);
CStringInputSMS timerSettings_msg(LOCALE_TIMERLIST_MESSAGE, &timerNew_message, 30, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "abcdefghijklmnopqrstuvwxyz0123456789-.,:!?/ ");
CKeyboardInput timerSettings_msg(LOCALE_TIMERLIST_MESSAGE, &timerNew_message, 30);
CMenuForwarder *m9 = new CMenuForwarder(LOCALE_TIMERLIST_MESSAGE, false, timerNew_message, &timerSettings_msg );
timerNew_pluginName = "---";