mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
src/gui/widget/stringinput.cpp: fix hide Background
Origin commit data
------------------
Commit: 83a4b871d6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-02 (Fri, 02 Nov 2012)
This commit is contained in:
@@ -169,7 +169,7 @@ void CStringInput::init()
|
||||
}
|
||||
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||
iheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO]->getHeight();
|
||||
footerHeight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()+8; //initial height value for buttonbar
|
||||
//footerHeight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight()+8; //initial height value for buttonbar
|
||||
height = hheight+ mheight + 50;
|
||||
if (hint_1 != NONEXISTANT_LOCALE)
|
||||
{
|
||||
@@ -525,7 +525,7 @@ int CStringInput::handleOthers(const neutrino_msg_t /*msg*/, const neutrino_msg_
|
||||
|
||||
void CStringInput::hide()
|
||||
{
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width, height + footerHeight);
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width, height + hheight);
|
||||
}
|
||||
|
||||
const char * CStringInput::getHint1(void)
|
||||
|
@@ -51,7 +51,6 @@ class CStringInput : public CMenuTarget
|
||||
int hheight; // head font height
|
||||
int mheight; // menu font height
|
||||
int iheight;
|
||||
int footerHeight;
|
||||
int lower_bound;
|
||||
int upper_bound;
|
||||
|
||||
|
Reference in New Issue
Block a user