mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
src/gui/widget/stringinput.cpp: fix hide Background
This commit is contained in:
@@ -169,7 +169,7 @@ void CStringInput::init()
|
|||||||
}
|
}
|
||||||
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||||
iheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_INFO]->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;
|
height = hheight+ mheight + 50;
|
||||||
if (hint_1 != NONEXISTANT_LOCALE)
|
if (hint_1 != NONEXISTANT_LOCALE)
|
||||||
{
|
{
|
||||||
@@ -525,7 +525,7 @@ int CStringInput::handleOthers(const neutrino_msg_t /*msg*/, const neutrino_msg_
|
|||||||
|
|
||||||
void CStringInput::hide()
|
void CStringInput::hide()
|
||||||
{
|
{
|
||||||
frameBuffer->paintBackgroundBoxRel(x, y, width, height + footerHeight);
|
frameBuffer->paintBackgroundBoxRel(x, y, width, height + hheight);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char * CStringInput::getHint1(void)
|
const char * CStringInput::getHint1(void)
|
||||||
|
@@ -51,7 +51,6 @@ class CStringInput : public CMenuTarget
|
|||||||
int hheight; // head font height
|
int hheight; // head font height
|
||||||
int mheight; // menu font height
|
int mheight; // menu font height
|
||||||
int iheight;
|
int iheight;
|
||||||
int footerHeight;
|
|
||||||
int lower_bound;
|
int lower_bound;
|
||||||
int upper_bound;
|
int upper_bound;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user