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:
Stefan Seyfried
2012-04-01 12:57:38 +02:00
parent ca873b609f
commit a029333c1a
36 changed files with 134 additions and 7 deletions

View File

@@ -512,6 +512,7 @@ bool CMsgBox::hide(void)
// delete window
// delete m_pcWindow;
m_pcWindow->paintBackgroundBoxRel(m_cBoxFrame.iX, m_cBoxFrame.iY, m_cBoxFrame.iWidth, m_cBoxFrame.iHeight);
m_pcWindow->blit();
m_pcWindow = NULL;
return (true);
}
@@ -638,6 +639,7 @@ int CMsgBox::exec( int timeout, int returnDefaultOnTimeout)
// show message box
paint();
m_pcWindow->blit();
if (m_pcWindow == NULL)
{
return res; /* out of memory */
@@ -717,7 +719,7 @@ int CMsgBox::exec( int timeout, int returnDefaultOnTimeout)
res = menu_return::RETURN_EXIT_ALL;
loop = false;
}
m_pcWindow->blit();
}
hide();