mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled outside of relevant objects.
This commit is contained in:
@@ -2060,8 +2060,10 @@ void CChannelList::paint()
|
||||
|
||||
void CChannelList::paintHead()
|
||||
{
|
||||
if (header == NULL)
|
||||
if (header == NULL){
|
||||
header = new CComponentsHeader();
|
||||
header->getTextObject()->enableTboxSaveScreen(g_settings.theme.menu_Head_gradient);//enable screen save for title text if color gradient is in use
|
||||
}
|
||||
|
||||
header->setDimensionsAll(x, y, full_width, theight);
|
||||
|
||||
@@ -2098,7 +2100,7 @@ void CChannelList::paintHead()
|
||||
else
|
||||
logo_off = 10;
|
||||
|
||||
header->paint(CC_SAVE_SCREEN_NO);
|
||||
header->paint(CC_SAVE_SCREEN_NO); //TODO: paint title only, currently paint() does paint all enabled header items at once and causes flicker effects in unchanged items (e.g. clock)
|
||||
}
|
||||
|
||||
CComponentsHeader* CChannelList::getHeaderObject()
|
||||
|
Reference in New Issue
Block a user