mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
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:
@@ -510,8 +510,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);
|
||||
|
||||
|
Reference in New Issue
Block a user