mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/motorcontrol.cpp: change signal/snr layout to vertical
Origin commit data
------------------
Commit: 60c965d6b8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-06-17 (Tue, 17 Jun 2014)
This commit is contained in:
@@ -77,7 +77,7 @@ void CMotorControl::Init(void)
|
||||
|
||||
width = w_max(720, 0);
|
||||
mheight = mheight - 2;
|
||||
height = hheight + (22 * mheight) - 5;
|
||||
height = hheight + (23 * mheight) - 5;
|
||||
height = h_max(height, 0);
|
||||
|
||||
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - width) / 2;
|
||||
@@ -582,7 +582,8 @@ void CMotorControl::showSNR ()
|
||||
{
|
||||
if (signalbox == NULL){
|
||||
int xpos1 = x + 10;
|
||||
signalbox = new CSignalBox(xpos1, y + height - mheight - 5, width - 2*(xpos1-x), g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(), frontend, false);
|
||||
//signalbox = new CSignalBox(xpos1, y + height - mheight - 5, width - 2*(xpos1-x), g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(), frontend, false);
|
||||
signalbox = new CSignalBox(xpos1, y + height - 4*mheight - 5, width - 2*(xpos1-x), 4*g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(), frontend, true);
|
||||
signalbox->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||
signalbox->setTextColor(COL_MENUCONTENT_TEXT);
|
||||
signalbox->doPaintBg(true);
|
||||
|
Reference in New Issue
Block a user