- neutrino: don't save screen while paint headers

This commit is contained in:
svenhoefer
2013-05-28 10:42:39 +02:00
parent 890d282315
commit 6c41ffbe47
9 changed files with 9 additions and 9 deletions

View File

@@ -1658,7 +1658,7 @@ void CAudioPlayerGui::paintHead()
header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU);
#endif
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
//------------------------------------------------------------------------

View File

@@ -131,7 +131,7 @@ void CBEBouquetWidget::paint()
void CBEBouquetWidget::paintHead()
{
CComponentsHeader header(x, y, width, theight, LOCALE_BOUQUETLIST_HEAD, NULL /*no header icon*/, CComponentsHeader::CC_BTN_MENU);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
const struct button_label CBEBouquetWidgetButtons[4] =

View File

@@ -169,7 +169,7 @@ void CBEChannelWidget::paint()
void CBEChannelWidget::paintHead()
{
CComponentsHeader header(x, y, width, theight, caption.c_str(), NULL /*no header icon*/);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
const struct button_label CBEChannelWidgetButtons[4] =

View File

@@ -426,7 +426,7 @@ void CBookmarkManager::hide()
void CBookmarkManager::paintHead()
{
CComponentsHeader header(x, y, width, theight, LOCALE_BOOKMARKMANAGER_NAME, NEUTRINO_ICON_BOOKMARK_MANAGER, CComponentsHeader::CC_BTN_HELP);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
const struct button_label BookmarkmanagerButtons[2] =

View File

@@ -576,7 +576,7 @@ void CBouquetList::paintItem(int pos)
void CBouquetList::paintHead()
{
CComponentsHeader header(x, y, width, theight, name, NULL /*no header icon*/);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
void CBouquetList::paint()

View File

@@ -1408,7 +1408,7 @@ void CFileBrowser::paintHead()
i++;
CComponentsHeader header(x, y, width, theight, &l_name[i], NULL /*no header icon*/);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
free(l_name);
}

View File

@@ -708,7 +708,7 @@ void CPictureViewerGui::paintHead()
header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU);
#endif
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
//------------------------------------------------------------------------

View File

@@ -864,7 +864,7 @@ void CTimerList::paintHead()
{
CComponentsHeader header(x, y, width, theight, LOCALE_TIMERLIST_NAME, NEUTRINO_ICON_TIMER);
header.setShadowOnOff(CC_SHADOW_ON);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
}
void CTimerList::paintFoot()

View File

@@ -894,7 +894,7 @@ void CMenuWidget::paint()
// paint head
CComponentsHeader header(x, y, width + sb_width, hheight, nameString, iconfile.c_str());
header.setShadowOnOff(CC_SHADOW_ON);
header.paint();
header.paint(CC_SAVE_SCREEN_NO);
// paint body shadow
frameBuffer->paintBoxRel(x+SHADOW_OFFSET, y + hheight + SHADOW_OFFSET, width + sb_width, height - hheight + RADIUS_LARGE, COL_MENUCONTENTDARK_PLUS_0, RADIUS_LARGE, CORNER_BOTTOM);