mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +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
------------------
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 is contained in:
@@ -798,8 +798,8 @@ void EpgPlus::init()
|
||||
currentViewMode = ViewMode_Scroll;
|
||||
currentSwapMode = SwapMode_ByPage;
|
||||
#endif
|
||||
usableScreenWidth = frameBuffer->getScreenWidthRel();
|
||||
usableScreenHeight = frameBuffer->getScreenHeightRel();
|
||||
usableScreenWidth = frameBuffer->getWindowWidth();
|
||||
usableScreenHeight = frameBuffer->getWindowHeight();
|
||||
|
||||
for (size_t i = 0; i < NumberOfSizeSettings; ++i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user