From fb308c6334cba9e3db74deda03b14ca5bcdfe2ed Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 28 May 2013 10:42:39 +0200 Subject: [PATCH] neutrino: don't save screen while paint headers Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/6c41ffbe4727b21020d5895aba01ef0c43bc2bf4 Author: vanhofen Date: 2013-05-28 (Tue, 28 May 2013) Origin message was: ------------------ - neutrino: don't save screen while paint headers ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/audioplayer.cpp | 2 +- src/gui/bedit/bouqueteditor_bouquets.cpp | 2 +- src/gui/bedit/bouqueteditor_channels.cpp | 2 +- src/gui/bookmarkmanager.cpp | 2 +- src/gui/bouquetlist.cpp | 2 +- src/gui/filebrowser.cpp | 2 +- src/gui/pictureviewer.cpp | 2 +- src/gui/timerlist.cpp | 2 +- src/gui/widget/menue.cpp | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gui/audioplayer.cpp b/src/gui/audioplayer.cpp index 3e99f7b5c..0ec416093 100644 --- a/src/gui/audioplayer.cpp +++ b/src/gui/audioplayer.cpp @@ -1658,7 +1658,7 @@ void CAudioPlayerGui::paintHead() header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU); #endif - header.paint(); + header.paint(CC_SAVE_SCREEN_NO); } //------------------------------------------------------------------------ diff --git a/src/gui/bedit/bouqueteditor_bouquets.cpp b/src/gui/bedit/bouqueteditor_bouquets.cpp index 56b96a2e0..bd772b241 100644 --- a/src/gui/bedit/bouqueteditor_bouquets.cpp +++ b/src/gui/bedit/bouqueteditor_bouquets.cpp @@ -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] = diff --git a/src/gui/bedit/bouqueteditor_channels.cpp b/src/gui/bedit/bouqueteditor_channels.cpp index 096835274..15fcada16 100644 --- a/src/gui/bedit/bouqueteditor_channels.cpp +++ b/src/gui/bedit/bouqueteditor_channels.cpp @@ -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] = diff --git a/src/gui/bookmarkmanager.cpp b/src/gui/bookmarkmanager.cpp index fa723ec03..05bbabd04 100644 --- a/src/gui/bookmarkmanager.cpp +++ b/src/gui/bookmarkmanager.cpp @@ -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] = diff --git a/src/gui/bouquetlist.cpp b/src/gui/bouquetlist.cpp index ae205e4d2..cf5d5ccc6 100644 --- a/src/gui/bouquetlist.cpp +++ b/src/gui/bouquetlist.cpp @@ -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() diff --git a/src/gui/filebrowser.cpp b/src/gui/filebrowser.cpp index 7ea9bb4c4..277e1516b 100644 --- a/src/gui/filebrowser.cpp +++ b/src/gui/filebrowser.cpp @@ -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); } diff --git a/src/gui/pictureviewer.cpp b/src/gui/pictureviewer.cpp index d392392cb..0f4d3b98b 100644 --- a/src/gui/pictureviewer.cpp +++ b/src/gui/pictureviewer.cpp @@ -708,7 +708,7 @@ void CPictureViewerGui::paintHead() header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU); #endif - header.paint(); + header.paint(CC_SAVE_SCREEN_NO); } //------------------------------------------------------------------------ diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index f4ae3fb2f..0101f5e80 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -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() diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index 11bb728a5..435856c8d 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -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);