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

@@ -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);