mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 08:53:38 +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:
@@ -307,14 +307,14 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
||||
if (ch)
|
||||
epg_id = ch->getEpgID();
|
||||
|
||||
full_width = frameBuffer->getScreenWidthRel();
|
||||
full_width = frameBuffer->getWindowWidth();
|
||||
x = getScreenStartX(full_width);
|
||||
|
||||
if (g_settings.eventlist_additional)
|
||||
width = full_width / 3 * 2;
|
||||
else
|
||||
width = full_width;
|
||||
height = frameBuffer->getScreenHeightRel();
|
||||
height = frameBuffer->getWindowHeight();
|
||||
|
||||
// Calculate header_height
|
||||
header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||
|
Reference in New Issue
Block a user