mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
check ChanWidth size if to smal
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@254 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8625745212
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-03 (Wed, 03 Feb 2010)
Origin message was:
------------------
check ChanWidth size if to smal
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@254 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -218,6 +218,11 @@ void CInfoViewer::start ()
|
||||
{ /* default mode, with signal bars etc. */
|
||||
ChanWidth = 122;
|
||||
ChanHeight = 74;
|
||||
int test = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getRenderWidth("12555.0 MHz H") + 10;
|
||||
if(test > ChanWidth){
|
||||
ChanWidth = test;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BoxStartX = g_settings.screen_StartX + 10;
|
||||
|
Reference in New Issue
Block a user