From b8167f49bdcd951a05913be4e2d1ab5d180f3c38 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 17 Jun 2014 16:27:30 +0400 Subject: [PATCH] gui/motorcontrol.cpp: change signal/snr layout to vertical Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/60c965d6b8c8a0f3bd8e939b700bcbe40c9c73eb Author: [CST] Focus Date: 2014-06-17 (Tue, 17 Jun 2014) --- src/gui/motorcontrol.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/motorcontrol.cpp b/src/gui/motorcontrol.cpp index 8bad63512..caf2b2689 100644 --- a/src/gui/motorcontrol.cpp +++ b/src/gui/motorcontrol.cpp @@ -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);