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


Origin commit data
------------------
Branch: ni/coolstream
Commit: e630c1967a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-03-17 (Wed, 17 Mar 2010)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2010-03-17 12:40:53 +00:00
parent 4ee1005472
commit d93c320ef8
6 changed files with 28 additions and 0 deletions

View File

@@ -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;