mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- channellist.cpp: show pic instead of miniTV in radiomode
This commit is contained in:
@@ -2032,8 +2032,13 @@ void CChannelList::paint()
|
|||||||
if (g_settings.channellist_additional == 2) // with miniTV
|
if (g_settings.channellist_additional == 2) // with miniTV
|
||||||
{
|
{
|
||||||
// 5px offset - same value as in list below
|
// 5px offset - same value as in list below
|
||||||
|
if(CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_tv) {
|
||||||
paint_pig(x+width+5, y+theight+5, pig_width-10, pig_height-10);
|
paint_pig(x+width+5, y+theight+5, pig_width-10, pig_height-10);
|
||||||
}
|
}
|
||||||
|
else if(CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_radio) {
|
||||||
|
g_PicViewer->DisplayImage(DATADIR "/neutrino/icons/radiomode.jpg", x+width+5, y+theight+5, pig_width-10, pig_height-10, frameBuffer->TM_NONE);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
numwidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(MaxChanNr().c_str());
|
numwidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_NUMBER]->getRenderWidth(MaxChanNr().c_str());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user