mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CNeutrinoEventList: Paint event list alone after the list was sorted
- paintDescription(): force paint of text
Origin commit data
------------------
Commit: 266a975e5b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-04 (Sat, 04 May 2013)
Origin message was:
------------------
* CNeutrinoEventList: Paint event list alone after the list was sorted
- paintDescription(): force paint of text
This commit is contained in:
@@ -420,11 +420,7 @@ int CNeutrinoEventList::exec(const t_channel_id channel_id, const std::string& c
|
|||||||
liststart=0;
|
liststart=0;
|
||||||
else
|
else
|
||||||
liststart=(selected/listmaxshow)*listmaxshow;
|
liststart=(selected/listmaxshow)*listmaxshow;
|
||||||
hide();
|
|
||||||
paintHead(channel_id, channelname);
|
|
||||||
paint(channel_id);
|
paint(channel_id);
|
||||||
showFunctionBar(true, channel_id);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- I commented out the following part (code is working)
|
// -- I commented out the following part (code is working)
|
||||||
@@ -831,13 +827,14 @@ void CNeutrinoEventList::paintDescription(int index)
|
|||||||
CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData );
|
CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData );
|
||||||
|
|
||||||
if(!epgData.info2.empty())
|
if(!epgData.info2.empty())
|
||||||
infozone_text = epgData.info2.c_str();
|
infozone_text = epgData.info2;
|
||||||
else
|
else
|
||||||
infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
||||||
|
|
||||||
cc_infozone->setText(infozone_text, CTextBox::TOP, g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_EVENT]);
|
cc_infozone->setText(infozone_text, CTextBox::TOP, g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_EVENT]);
|
||||||
cc_infozone->doPaintTextBoxBg(true);
|
cc_infozone->doPaintTextBoxBg(true);
|
||||||
cc_infozone->doPaintBg(false);
|
cc_infozone->doPaintBg(false);
|
||||||
|
cc_infozone->forceTextPaint();
|
||||||
cc_infozone->paint(CC_SAVE_SCREEN_NO);
|
cc_infozone->paint(CC_SAVE_SCREEN_NO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user