mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
------------------
This commit was generated by Migit
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