mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-05 04:38:28 +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:
@@ -265,8 +265,8 @@ void CFileBrowser::fontInit()
|
||||
fnt_title = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE];
|
||||
fnt_item = g_Font[SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM];
|
||||
fnt_foot = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];
|
||||
width = frameBuffer->getScreenWidthRel();
|
||||
height = frameBuffer->getScreenHeightRel();
|
||||
width = frameBuffer->getWindowWidth();
|
||||
height = frameBuffer->getWindowHeight();
|
||||
x = getScreenStartX(width);
|
||||
|
||||
header_height = fnt_title->getHeight();
|
||||
|
Reference in New Issue
Block a user