mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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
This commit is contained in:
@@ -683,6 +683,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_EPG_DATE]->RenderString(sx+ ox- botboxheight+ 8, sy+ oy- 3, widthr, ">", COL_MENUCONTENT + 3);
|
||||
}
|
||||
|
||||
frameBuffer->blit();
|
||||
if ( doLoop )
|
||||
{
|
||||
neutrino_msg_t msg;
|
||||
@@ -911,6 +912,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
||||
}
|
||||
}
|
||||
}
|
||||
frameBuffer->blit();
|
||||
}
|
||||
hide();
|
||||
fader.Stop();
|
||||
@@ -928,6 +930,7 @@ void CEpgData::hide()
|
||||
}
|
||||
|
||||
frameBuffer->paintBackgroundBoxRel(sx, sy, ox, oy);
|
||||
frameBuffer->blit();
|
||||
showTimerEventBar (false);
|
||||
}
|
||||
|
||||
@@ -1100,8 +1103,10 @@ void CEpgData::showTimerEventBar (bool pshow)
|
||||
|
||||
frameBuffer->paintBackgroundBoxRel(sx,y,ox,h);
|
||||
// hide only?
|
||||
if (! pshow)
|
||||
if (! pshow) {
|
||||
frameBuffer->blit();
|
||||
return;
|
||||
}
|
||||
|
||||
frameBuffer->paintBoxRel(sx,y,ox,h, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM);//round
|
||||
|
||||
@@ -1112,6 +1117,7 @@ void CEpgData::showTimerEventBar (bool pshow)
|
||||
else
|
||||
::paintButtons(x, y, 0, 1, &EpgButtons[1], aw, h);
|
||||
|
||||
frameBuffer->blit();
|
||||
#if 0
|
||||
// Button: Timer Record & Channelswitch
|
||||
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
||||
|
Reference in New Issue
Block a user