mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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@90 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2e9d4bc46a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2009-12-17 (Thu, 17 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -130,7 +130,7 @@ void CEpgData::start()
|
||||
{
|
||||
ox = w_max (MAX_W * (bigFonts ? BIG_FONT_FAKTOR : 1), 0);
|
||||
oy = h_max (MAX_H * (bigFonts ? BIG_FONT_FAKTOR : 1), 0);
|
||||
sx = (((g_settings.screen_EndX-g_settings.screen_StartX) -ox) / 2) + g_settings.screen_StartX;
|
||||
sx = getScreenStartX( ox );
|
||||
|
||||
topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight();
|
||||
topboxheight = topheight + 6;
|
||||
|
Reference in New Issue
Block a user