mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
At least keychooser display was broken with overloaded paint, revert and use double calcSize for now
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2007 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -479,7 +479,11 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
}
|
||||
}
|
||||
}
|
||||
paint(true);
|
||||
if(savescreen) {
|
||||
calcSize();
|
||||
saveScreen();
|
||||
}
|
||||
paint();
|
||||
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]);
|
||||
|
||||
@@ -814,12 +818,13 @@ void CMenuWidget::calcSize()
|
||||
setMenuPos(width - sb_width);
|
||||
}
|
||||
|
||||
void CMenuWidget::paint(bool save)
|
||||
void CMenuWidget::paint()
|
||||
{
|
||||
calcSize();
|
||||
#if 0
|
||||
if(save)
|
||||
saveScreen();
|
||||
|
||||
#endif
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, nameString.c_str());
|
||||
|
||||
//paint shadow and backround
|
||||
|
Reference in New Issue
Block a user