mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
Fix infoviewer global font zoom faktor
Change the zoom factor made time display broken, left side
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab1c33f024
Author: defans <defans@bluepeercrew.us>
Date: 2013-10-03 (Thu, 03 Oct 2013)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -150,9 +150,6 @@ void CInfoViewer::Init()
|
||||
casysChange = g_settings.casystem_display;
|
||||
channellogoChange = g_settings.infobar_show_channellogo;
|
||||
|
||||
/* we need to calculate this only once */
|
||||
info_time_width = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth("22:22") + 10;
|
||||
|
||||
channel_id = CZapit::getInstance()->GetCurrentChannelID();;
|
||||
lcdUpdateTimer = 0;
|
||||
rt_x = rt_y = rt_h = rt_w = 0;
|
||||
@@ -186,6 +183,8 @@ void CInfoViewer::Init()
|
||||
*/
|
||||
void CInfoViewer::start ()
|
||||
{
|
||||
info_time_width = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getRenderWidth("22:22") + 10;
|
||||
|
||||
InfoHeightY = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME]->getHeight() * 9/8 +
|
||||
2 * g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight() + 25;
|
||||
infoViewerBB->Init();
|
||||
|
Reference in New Issue
Block a user