mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
infoviewer: remove fixed values from showInfoFile() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8cd4654468
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-09 (Tue, 09 Jan 2018)
Origin message was:
------------------
- infoviewer: remove fixed values from showInfoFile() function
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2069,11 +2069,11 @@ void CInfoViewer::showInfoFile()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//set position of info area
|
//set position of info area
|
||||||
const int oOffset = 140; // outer left/right offset
|
const int oOffset = frameBuffer->scale2Res(140); // outer left/right offset; space for rec-Icon box
|
||||||
const int xStart = BoxStartX + ChanWidth + oOffset;
|
const int xStart = BoxStartX + ChanWidth + oOffset;
|
||||||
const int yStart = BoxStartY;
|
const int yStart = BoxStartY;
|
||||||
const int width = BoxEndX - xStart - oOffset - pb_w;
|
const int width = BoxEndX - xStart - oOffset - pb_w;
|
||||||
const int height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight() + 2;
|
const int height = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight() + OFFSET_INNER_MIN;
|
||||||
|
|
||||||
//create info object
|
//create info object
|
||||||
if (infobar_txt == NULL){
|
if (infobar_txt == NULL){
|
||||||
|
Reference in New Issue
Block a user