- 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.

Signed-off-by: Thilo Graf <dbt@novatux.de>

 Conflicts:
	gui/channellist.cpp
This commit is contained in:
svenhoefer
2018-01-22 12:06:15 +01:00
committed by Thilo Graf
parent e32dc71ead
commit 3b65251e00
17 changed files with 43 additions and 43 deletions

View File

@@ -307,14 +307,14 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
if (ch)
epg_id = ch->getEpgID();
full_width = frameBuffer->getScreenWidthRel();
full_width = frameBuffer->getWindowWidth();
x = getScreenStartX(full_width);
if (g_settings.eventlist_additional)
width = full_width / 3 * 2;
else
width = full_width;
height = frameBuffer->getScreenHeightRel();
height = frameBuffer->getWindowHeight();
// Calculate header_height
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();