infoviewer: alignment fixes for curr/next and time

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@295 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 64bfeeb1e3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-02-07 (Sun, 07 Feb 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2010-02-07 17:03:15 +00:00
parent 1b74f9c29e
commit 989e71add8

View File

@@ -243,7 +243,7 @@ void CInfoViewer::start ()
ChanInfoX = BoxStartX + (ChanWidth / 3);
time_height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getHeight()+5;
time_left_width = 2* g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getRenderWidth(widest_number);
time_left_width = 2 * g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getWidth(); /* still a kludge */
time_dot_width = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getRenderWidth(":");
time_width = time_left_width* 2+ time_dot_width;
@@ -1211,14 +1211,9 @@ void CInfoViewer::display_Info(const char *current, const char *next,
int xStart;
int InfoX = ChanInfoX + 10;
xStart = InfoX;
if (starttimes)
{
xStart = InfoX + info_time_width;
if (xStart < BoxStartX + ChanWidth) /* for small fonts, adjusting to the edge of the */
xStart = BoxStartX + ChanWidth; /* channelnumberbox looks better */
}
else
xStart = InfoX;
xStart += info_time_width + 10;
if (pb_pos > -1)
{