mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
Bottom screen margin preset for lazy Boss
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@494 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -172,6 +172,12 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
if (parent)
|
||||
parent->hide();
|
||||
|
||||
/* set the max height to 9/10 of usable screen height
|
||||
debatable, if the callers need a possibility to set this */
|
||||
//FIXME width ??
|
||||
height = frameBuffer->getScreenHeight() / 20 * 18; /* make sure its a multiple of 2 */
|
||||
wanted_height = height;
|
||||
|
||||
bool fadeIn = g_settings.widget_fade;
|
||||
bool fadeOut = false;
|
||||
int fadeValue;
|
||||
|
Reference in New Issue
Block a user