- 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

@@ -501,8 +501,8 @@ void CMovieBrowser::initFrames(void)
m_pcFontTitle = TITLE_FONT;
//TRACE("[mb]->%s\n", __func__);
m_cBoxFrame.iWidth = framebuffer->getScreenWidthRel();
m_cBoxFrame.iHeight = framebuffer->getScreenHeightRel();
m_cBoxFrame.iWidth = framebuffer->getWindowWidth();
m_cBoxFrame.iHeight = framebuffer->getWindowHeight();
m_cBoxFrame.iX = getScreenStartX(m_cBoxFrame.iWidth);
m_cBoxFrame.iY = getScreenStartY(m_cBoxFrame.iHeight);