Neutrino: Show key names in keybind setup menu (thx Gaucho316)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1923 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-11-28 12:55:44 +00:00
parent a96b952ca6
commit ae6d3bfe8d
3 changed files with 10 additions and 7 deletions

View File

@@ -68,6 +68,7 @@ CKeyChooser::CKeyChooser(int * const Key, const neutrino_locale_t title, const s
{
frameBuffer = CFrameBuffer::getInstance();
key = Key;
keyName = CRCInput::getKeyName(*key);
keyChooser = new CKeyChooserItem(LOCALE_KEYCHOOSER_HEAD, key);
keyDeleter = new CKeyChooserItemNoKey(key);
@@ -90,7 +91,7 @@ CKeyChooser::~CKeyChooser()
void CKeyChooser::paint()
{
(((CKeyValue *)(items[0]))->keyvalue) = *key;
keyName = CRCInput::getKeyName(*key);
CMenuWidget::paint();
}