src/gui/widget/stringinput.cpp: fix hide Background

This commit is contained in:
satbaby
2012-11-02 14:01:43 +01:00
parent 377772e242
commit 83a4b871d6
2 changed files with 2 additions and 3 deletions

View File

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

View File

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