mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4714a30f83
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-03-25 (Mon, 25 Mar 2013)
Origin message was:
------------------
- 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 was generated by Migit
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