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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user