infoviewer: fix overlaps on buttons while zapping

Origin commit data
------------------
Branch: ni/coolstream
Commit: 23242e605c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-22 (Fri, 22 Jan 2016)

Origin message was:
------------------
- infoviewer: fix overlaps on buttons while zapping

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-01-22 10:49:45 +01:00
parent b0ca9a30cd
commit 0b8fa55400
3 changed files with 5 additions and 5 deletions

View File

@@ -377,7 +377,7 @@ void CInfoViewerBB::getBBButtonInfo()
}
}
void CInfoViewerBB::showBBButtons(const int modus)
void CInfoViewerBB::showBBButtons(bool paintFooter)
{
if (!is_visible)
return;
@@ -406,7 +406,7 @@ void CInfoViewerBB::showBBButtons(const int modus)
int buf_y = BBarY;
int buf_w = g_InfoViewer->BoxEndX-buf_x;
int buf_h = InfoHeightY_Info;
if (modus != -1) {
if (paintFooter) {
pixbuf = new fb_pixel_t[buf_w * buf_h];
//printf("\nbuf_x: %d, buf_y: %d, buf_w: %d, buf_h: %d, pixbuf: %p\n \n", buf_x, buf_y, buf_w, buf_h, pixbuf);
frameBuffer->SaveScreen(buf_x, buf_y, buf_w, buf_h, pixbuf);