mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +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. Signed-off-by: Thilo Graf <dbt@novatux.de> Conflicts: gui/channellist.cpp
This commit is contained in:
@@ -1672,8 +1672,8 @@ void COsdSetup::paintWindowSize(int w, int h)
|
||||
if (g_settings.window_height < WINDOW_SIZE_MIN)
|
||||
g_settings.window_height = WINDOW_SIZE_MIN;
|
||||
|
||||
win_demo->setWidth(frameBuffer->getScreenWidthRel());
|
||||
win_demo->setHeight(frameBuffer->getScreenHeightRel());
|
||||
win_demo->setWidth(frameBuffer->getWindowWidth());
|
||||
win_demo->setHeight(frameBuffer->getWindowHeight());
|
||||
win_demo->setXPos(getScreenStartX(win_demo->getWidth()));
|
||||
win_demo->setYPos(getScreenStartY(win_demo->getHeight()));
|
||||
|
||||
|
Reference in New Issue
Block a user