change most code to use CKeyboardInput in place of CStringInputSMS

Origin commit data
------------------
Commit: 549e110e14
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-19 (Wed, 19 Nov 2014)
This commit is contained in:
[CST] Focus
2014-11-19 18:21:38 +03:00
parent 402b08969e
commit dde8cb519f
13 changed files with 43 additions and 36 deletions

View File

@@ -42,6 +42,7 @@
#include <gui/plugins.h>
#include <gui/widget/icons.h>
#include <gui/widget/stringinput.h>
#include <gui/widget/keyboard_input.h>
#include <gui/widget/keychooser.h>
#include <gui/widget/messagebox.h>
@@ -207,7 +208,7 @@ int CUserMenuSetup::showSetup()
ums->addIntroItems();
int old_key = g_settings.usermenu[button]->key;
CStringInputSMS name(LOCALE_USERMENU_NAME, &g_settings.usermenu[button]->title, 20, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzäöüß/- "/*, notify*/);
CKeyboardInput name(LOCALE_USERMENU_NAME, &g_settings.usermenu[button]->title, 20);
CMenuForwarder * mf = new CMenuForwarder(LOCALE_USERMENU_NAME, true, NULL, &name);
ums->addItem(mf);