mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
add digi icons to menus
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@245 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 56536f2709
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@245 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -93,7 +93,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
sprintf(apid, "%d", count);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(
|
||||
g_RemoteControl->current_PIDs.APIDs[count].desc, true, NULL,
|
||||
APIDChanger, apid, CRCInput::convertDigitToKey(count + 1)),
|
||||
APIDChanger, apid, CRCInput::convertDigitToKey(count + 1), CNeutrinoApp::getInstance()->digiIcon(count + 1)),
|
||||
(count == g_RemoteControl->current_PIDs.PIDs.selected_apid));
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
char item[64];
|
||||
sprintf(item, "DVB: %s (pid %x)", sd->ISO639_language_code.c_str(), sd->pId);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(item /*sd->ISO639_language_code.c_str()*/,
|
||||
sd->pId != dvbsub_getpid(), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count)));
|
||||
sd->pId != dvbsub_getpid(), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count), CNeutrinoApp::getInstance()->digiIcon(count)));
|
||||
}
|
||||
if (s->thisSubType == CZapitAbsSub::TTX) {
|
||||
CZapitTTXSub* sd = reinterpret_cast<CZapitTTXSub*>(s);
|
||||
@@ -148,7 +148,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
char item[64];
|
||||
sprintf(item, "TTX: %s (pid %x page %03X)", sd->ISO639_language_code.c_str(), sd->pId, page);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(item /*sd->ISO639_language_code.c_str()*/,
|
||||
!tuxtx_subtitle_running(sd->pId, page, NULL), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count)));
|
||||
!tuxtx_subtitle_running(sd->pId, page, NULL), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count), CNeutrinoApp::getInstance()->digiIcon(count)));
|
||||
}
|
||||
}
|
||||
if(sep_added) {
|
||||
|
Reference in New Issue
Block a user