mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
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:
@@ -232,7 +232,7 @@ const CBookmark * CBookmarkManager::getBookmark(CMenuTarget* parent)
|
|||||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
theight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||||
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||||
x=getScreenStartX( width );
|
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);
|
listmaxshow = (height-theight-0)/(fheight*2);
|
||||||
liststart = 0;
|
liststart = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user