add digi icons to menus

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@246 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 6c31b026f7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-01 (Mon, 01 Feb 2010)

Origin message was:
------------------
 add digi icons to menus

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@246 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
Jacek Jendrzej
2010-02-01 17:45:18 +00:00
parent b414b208a7
commit 05be7f97a2
2 changed files with 3 additions and 3 deletions

View File

@@ -4308,7 +4308,7 @@ printf("New timeshift dir: %s\n", timeshiftDir);
// zB vtxt-plugins
sprintf(id, "%d", count);
enabled_count++;
MoviePluginSelector.addItem(new CMenuForwarderNonLocalized(g_PluginList->getName(count), true, NULL, MoviePluginChanger, id, CRCInput::convertDigitToKey(count)), (cnt == 0));
MoviePluginSelector.addItem(new CMenuForwarderNonLocalized(g_PluginList->getName(count), true, NULL, MoviePluginChanger, id, CRCInput::convertDigitToKey(count), digiIcon(count)), (cnt == 0));
cnt++;
}
}
@@ -4329,7 +4329,7 @@ printf("New timeshift dir: %s\n", timeshiftDir);
// zB vtxt-plugins
sprintf(id, "%d", count);
enabled_count++;
MoviePluginSelector.addItem(new CMenuForwarderNonLocalized(g_PluginList->getName(count), true, NULL, OnekeyPluginChanger, id, CRCInput::convertDigitToKey(count)), (cnt == 0));
MoviePluginSelector.addItem(new CMenuForwarderNonLocalized(g_PluginList->getName(count), true, NULL, OnekeyPluginChanger, id, CRCInput::convertDigitToKey(count), digiIcon(count)), (cnt == 0));
cnt++;
}
}

View File

@@ -2695,7 +2695,7 @@ public:
{
// there is still a available number_key
*msg = CRCInput::convertDigitToKey(number_key);
*icon = "";
*icon = CNeutrinoApp::getInstance()->digiIcon(number_key);
if (number_key == 9)
number_key = 0;
else if (number_key == 0)