port getScreenStartX() & getScreenStartY() code from tuxbox CVS; use getScreenStartX(),getScreenStartY(),h_max(),w_max() routines

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@89 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2009-12-17 10:49:00 +00:00
parent 0cab2ca9fd
commit 2cea351f94

View File

@@ -232,7 +232,7 @@ const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent)
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
x=getScreenStartX( width );
y=(((g_settings.screen_EndY- g_settings.screen_StartY)-( height+ info_height) ) / 2) + g_settings.screen_StartY;
y=getScreenStartY( height + info_height );
listmaxshow = (height-theight-0)/(fheight*2);
liststart = 0;