mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
infoviewer.cpp: more suitable icons for tuner
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3b1d063c04
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-05-14 (Mon, 14 May 2012)
Origin message was:
------------------
- infoviewer.cpp: more suitable icons for tuner
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -488,11 +488,18 @@ void CInfoViewer::paintshowButtonBar()
|
||||
|
||||
void CInfoViewer::showIcon_Tuner() const
|
||||
{
|
||||
//FIXME test
|
||||
int tuner_x = BoxEndX - 2 - (((g_settings.casystem_display !=2) ? 0:icon_crypt_width )+ icon_xres_width + 2*icon_large_width + 3*icon_small_width + ((g_settings.casystem_display !=2) ?5:6)*2);
|
||||
int tuner = 1 + CFEManager::getInstance()->getLiveFE()->getNumber();
|
||||
char icon_name[3];
|
||||
snprintf(icon_name, 3, "%d", tuner);
|
||||
const char *icon_name = NULL;
|
||||
switch (tuner) {
|
||||
case 2:
|
||||
icon_name = NEUTRINO_ICON_TUNER_2;
|
||||
break;
|
||||
case 1:
|
||||
default:
|
||||
icon_name = NEUTRINO_ICON_TUNER_1;
|
||||
break;
|
||||
}
|
||||
frameBuffer->paintIcon(icon_name, tuner_x, BBarY, InfoHeightY_Info);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user