- 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:
svenhoefer
2013-03-25 09:45:22 +01:00
committed by [CST] Focus
parent fc614004cf
commit 4714a30f83
16 changed files with 62 additions and 67 deletions

View File

@@ -94,8 +94,6 @@ extern int old_b_id;
extern cVideo * videoDecoder;
#define ConnectLineBox_Width 16
CChannelList::CChannelList(const char * const pName, bool phistoryMode, bool _vlist)
{
frameBuffer = CFrameBuffer::getInstance();
@@ -487,7 +485,7 @@ void CChannelList::calcSize()
footerHeight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()+6;
// calculate width
full_width = frameBuffer->getScreenWidth() - frameBuffer->getScreenX() - 2*ConnectLineBox_Width;
full_width = frameBuffer->getScreenWidthRel();
if (g_settings.channellist_additional)
width = full_width / 3 * 2;
else
@@ -495,7 +493,7 @@ void CChannelList::calcSize()
// calculate height (the infobox below mainbox is handled outside height)
info_height = 2*fheight + g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getHeight() + 10;
height = h_max ((frameBuffer->getScreenHeight() / 20 * 18) - info_height, 0);
height = frameBuffer->getScreenHeightRel() - info_height;
// calculate x position
x = getScreenStartX(full_width);