mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user