gui/motorcontrol.cpp: change signal/snr layout to vertical

This commit is contained in:
[CST] Focus
2014-06-17 16:27:30 +04:00
parent 9f4aeb2074
commit 60c965d6b8

View File

@@ -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);