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


Origin commit data
------------------
Commit: ae6d3bfe8d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-11-28 (Mon, 28 Nov 2011)

Origin message was:
------------------
 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:
Jacek Jendrzej
2011-11-28 12:55:44 +00:00
parent 26e9f9a17f
commit 7f12cf7538
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();
}