mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
channellist: use "classic" width if minitv is unused
Origin commit data
------------------
Branch: ni/coolstream
Commit: 901b7cbd38
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-02-22 (Fri, 22 Feb 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -486,9 +486,13 @@ void CChannelList::calcSize()
|
||||
if (g_settings.channellist_additional)
|
||||
width = full_width / 3 * 2;
|
||||
else
|
||||
{
|
||||
/* don't use 100% of screen if additional info / minitv is not used */
|
||||
full_width = full_width * 76 / 99; /* same width as the old code with my settings :-) */
|
||||
width = full_width;
|
||||
}
|
||||
|
||||
height = h_max ((frameBuffer->getScreenHeight() / 20 * 17), 0);
|
||||
height = h_max ((frameBuffer->getScreenHeight() / 20 * 16), 0);
|
||||
|
||||
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - full_width) / 2;
|
||||
if (x < ConnectLineBox_Width)
|
||||
|
Reference in New Issue
Block a user