mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
infoviewer: remove unneeded blit()
This commit is contained in:
@@ -1065,7 +1065,6 @@ void CInfoViewer::killRadiotext()
|
|||||||
if (g_Radiotext->S_RtOsd)
|
if (g_Radiotext->S_RtOsd)
|
||||||
frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h);
|
frameBuffer->paintBackgroundBox(rt_x, rt_y, rt_w, rt_h);
|
||||||
rt_x = rt_y = rt_h = rt_w = 0;
|
rt_x = rt_y = rt_h = rt_w = 0;
|
||||||
frameBuffer->blit();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInfoViewer::showRadiotext()
|
void CInfoViewer::showRadiotext()
|
||||||
@@ -1846,11 +1845,11 @@ void CInfoViewer::killTitle()
|
|||||||
bottom += infoViewerBB->InfoHeightY_Info;
|
bottom += infoViewerBB->InfoHeightY_Info;
|
||||||
//printf("killTitle(%d, %d, %d, %d)\n", BoxStartX, BoxStartY, BoxEndX+ SHADOW_OFFSET-BoxStartX, bottom-BoxStartY);
|
//printf("killTitle(%d, %d, %d, %d)\n", BoxStartX, BoxStartY, BoxEndX+ SHADOW_OFFSET-BoxStartX, bottom-BoxStartY);
|
||||||
frameBuffer->paintBackgroundBox(BoxStartX, BoxStartY, BoxEndX+ SHADOW_OFFSET, bottom);
|
frameBuffer->paintBackgroundBox(BoxStartX, BoxStartY, BoxEndX+ SHADOW_OFFSET, bottom);
|
||||||
frameBuffer->blit();
|
|
||||||
if (g_settings.radiotext_enable && g_Radiotext) {
|
if (g_settings.radiotext_enable && g_Radiotext) {
|
||||||
g_Radiotext->S_RtOsd = g_Radiotext->haveRadiotext() ? 1 : 0;
|
g_Radiotext->S_RtOsd = g_Radiotext->haveRadiotext() ? 1 : 0;
|
||||||
killRadiotext();
|
killRadiotext();
|
||||||
}
|
}
|
||||||
|
frameBuffer->blit();
|
||||||
}
|
}
|
||||||
showButtonBar = false;
|
showButtonBar = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user