framebuffer: better name for getWindowWidth/Height() functions

getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 86cdc12c8f
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-22 (Mon, 22 Jan 2018)

Origin message was:
------------------
- framebuffer: better name for getWindowWidth/Height() functions

getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-22 12:06:15 +01:00
parent 465e8a9d0b
commit a8bbad2772
17 changed files with 43 additions and 43 deletions

View File

@@ -143,8 +143,8 @@ CEpgData::~CEpgData()
void CEpgData::start()
{
ox = frameBuffer->getScreenWidthRel(bigFonts ? false /* big */ : true /* small */);
oy = frameBuffer->getScreenHeightRel(bigFonts ? false /* big */ : true /* small */);
ox = frameBuffer->getWindowWidth(bigFonts ? false /* big */ : true /* small */);
oy = frameBuffer->getWindowHeight(bigFonts ? false /* big */ : true /* small */);
font_title = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]; //NI
topheight = font_title->getHeight();