mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- strech most windows to full screen
* switchable with existing switch for 'big_windows' * 'big_windows' default is on Conflicts: src/gui/bedit/bouqueteditor_bouquets.cpp src/gui/bedit/bouqueteditor_channels.cpp src/gui/bedit/bouqueteditor_chanselect.cpp
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
#include <driver/screen_max.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
@@ -372,11 +373,9 @@ void CFileBrowser::commonInit()
|
||||
selected = 0;
|
||||
selections.clear();
|
||||
|
||||
x = g_settings.screen_StartX + 20;
|
||||
y = g_settings.screen_StartY + 20;
|
||||
|
||||
width = (g_settings.screen_EndX - g_settings.screen_StartX - 40);
|
||||
height = (g_settings.screen_EndY - g_settings.screen_StartY - 40);
|
||||
width = frameBuffer->getScreenWidthRel();
|
||||
height = frameBuffer->getScreenHeightRel();
|
||||
x = getScreenStartX(width);
|
||||
|
||||
theight = g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE]->getHeight();
|
||||
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_FILEBROWSER_ITEM]->getHeight();
|
||||
@@ -389,6 +388,7 @@ void CFileBrowser::commonInit()
|
||||
|
||||
//recalc height
|
||||
height = theight + listmaxshow * fheight + 2 * foheight;
|
||||
y = getScreenStartY(height);
|
||||
|
||||
m_SMSKeyInput.setTimeout(SMSKEY_TIMEOUT);
|
||||
|
||||
|
Reference in New Issue
Block a user