mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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:
@@ -290,8 +290,8 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
m_selected = 0;
|
||||
|
||||
m_width = m_frameBuffer->getScreenWidthRel();
|
||||
m_height = m_frameBuffer->getScreenHeightRel();
|
||||
m_width = m_frameBuffer->getWindowWidth();
|
||||
m_height = m_frameBuffer->getWindowHeight();
|
||||
|
||||
m_header_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight();
|
||||
m_item_height = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||
|
Reference in New Issue
Block a user