mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
gui/motorcontrol.cpp: change signal/snr layout to vertical
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