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

@@ -508,6 +508,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
saveScreen();
}
paint();
frameBuffer->blit();
int retval = menu_return::RETURN_REPAINT;
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
@@ -716,6 +718,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
}
}
frameBuffer->blit();
}
while ( msg!=CRCInput::RC_timeout );
hide();
@@ -749,6 +752,7 @@ void CMenuWidget::hide()
restoreScreen();//FIXME
else
frameBuffer->paintBackgroundBoxRel(x, y, full_width, full_height);
frameBuffer->blit();
/* setActive() paints item for hidden parent menu, if called from child menu */
for (unsigned int count = 0; count < items.size(); count++)