mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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++)
|
||||
|
Reference in New Issue
Block a user