neutrino: adapt to the framebuffer_spark blitter change

basically add fb->blit() in every widget where necessary to
make sure the framebuffer is updated with current content


Origin commit data
------------------
Branch: ni/coolstream
Commit: a029333c1a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-01 (Sun, 01 Apr 2012)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-04-01 12:57:38 +02:00
parent d5d960300f
commit c2112d87bb
36 changed files with 134 additions and 7 deletions

View File

@@ -263,6 +263,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
tuned = CFrontend::getInstance()->getStatus();
paint(test);
frameBuffer->blit();
/* go */
if(test) {
testFunc();
@@ -308,6 +310,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
}
while (!(msg == CRCInput::RC_timeout));
showSNR(); // FIXME commented until scan slowdown will be solved
frameBuffer->blit();
}
/* to join scan thread */
g_Zapit->stopScan();
@@ -324,6 +327,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
//paintLine(xpos2, ypos_frequency, xpos_frequency, text);
frameBuffer->paintBoxRel(x, y, width, hheight, COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_TOP);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->RenderString(xpos1, y + hheight, width, text, COL_MENUHEAD, 0, true); // UTF-8
frameBuffer->blit();
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(0xFFFF);
do {
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);