mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/scan.cpp, gui/motorcontrol.cpp: increase signal bar height for 50%
Origin commit data
------------------
Branch: ni/coolstream
Commit: bb77bafdca
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-06-19 (Thu, 19 Jun 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -77,7 +77,7 @@ void CMotorControl::Init(void)
|
|||||||
|
|
||||||
width = w_max(720, 0);
|
width = w_max(720, 0);
|
||||||
mheight = mheight - 2;
|
mheight = mheight - 2;
|
||||||
height = hheight + (23 * mheight) - 5;
|
height = hheight + (24 * mheight) - 5;
|
||||||
height = h_max(height, 0);
|
height = h_max(height, 0);
|
||||||
|
|
||||||
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - width) / 2;
|
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - width) / 2;
|
||||||
@@ -583,7 +583,7 @@ void CMotorControl::showSNR ()
|
|||||||
if (signalbox == NULL){
|
if (signalbox == NULL){
|
||||||
int xpos1 = x + 10;
|
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 = new CSignalBox(xpos1, y + height - (mheight*2*3)/2 - 5, width - 2*(xpos1-x), (g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight()*2*3)/2, frontend, true);
|
||||||
signalbox->setColorBody(COL_MENUCONTENT_PLUS_0);
|
signalbox->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
signalbox->setTextColor(COL_MENUCONTENT_TEXT);
|
signalbox->setTextColor(COL_MENUCONTENT_TEXT);
|
||||||
signalbox->doPaintBg(true);
|
signalbox->doPaintBg(true);
|
||||||
|
@@ -201,7 +201,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
|||||||
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||||
fw = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getWidth();
|
fw = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getWidth();
|
||||||
width = w_max(fw * 42, 0);
|
width = w_max(fw * 42, 0);
|
||||||
height = h_max(hheight + (11 * mheight), 0); //9 lines
|
height = h_max(hheight + (12 * mheight), 0); //9 lines
|
||||||
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - width) / 2;
|
x = frameBuffer->getScreenX() + (frameBuffer->getScreenWidth() - width) / 2;
|
||||||
y = frameBuffer->getScreenY() + (frameBuffer->getScreenHeight() - height) / 2;
|
y = frameBuffer->getScreenY() + (frameBuffer->getScreenHeight() - height) / 2;
|
||||||
xpos_radar = x + 36 * fw;
|
xpos_radar = x + 36 * fw;
|
||||||
@@ -581,7 +581,7 @@ void CScanTs::showSNR ()
|
|||||||
if (signalbox == NULL){
|
if (signalbox == NULL){
|
||||||
CFrontend * frontend = CServiceScan::getInstance()->GetFrontend();
|
CFrontend * frontend = CServiceScan::getInstance()->GetFrontend();
|
||||||
//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 - 2*mheight - 5, width - 2*(xpos1-x), 2*g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight(), frontend, true);
|
signalbox = new CSignalBox(xpos1, y + height - (mheight*2*3)/2 - 5, width - 2*(xpos1-x), (g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight()*2*3)/2, frontend, true);
|
||||||
signalbox->setColorBody(COL_MENUCONTENT_PLUS_0);
|
signalbox->setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
signalbox->setTextColor(COL_MENUCONTENT_TEXT);
|
signalbox->setTextColor(COL_MENUCONTENT_TEXT);
|
||||||
signalbox->doPaintBg(true);
|
signalbox->doPaintBg(true);
|
||||||
|
Reference in New Issue
Block a user