mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
gui/widget/menue.cpp: fix hintbox color if theme changed;
fix hint paint for page-up button
This commit is contained in:
@@ -560,6 +560,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
if ((pos < (int)page_start[current_page + 1]) && (pos >= (int)page_start[current_page])) {
|
||||
items[selected]->paint( false );
|
||||
item->paint( true );
|
||||
paintHint(pos);
|
||||
selected = pos;
|
||||
} else {
|
||||
selected=pos;
|
||||
@@ -577,6 +578,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
if ((pos < (int)page_start[current_page + 1]) && (pos >= (int)page_start[current_page])) {
|
||||
items[selected]->paint( false );
|
||||
item->paint( true );
|
||||
paintHint(pos);
|
||||
selected = pos;
|
||||
} else {
|
||||
selected=pos;
|
||||
@@ -1132,6 +1134,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
details_line->setYPos(ypos1a);
|
||||
details_line->setYPosDown(ypos2a);
|
||||
details_line->setHMarkDown(markh);
|
||||
details_line->setColor(COL_MENUCONTENT_PLUS_6, COL_MENUCONTENTDARK_PLUS_0);
|
||||
}
|
||||
details_line->paint(savescreen);
|
||||
|
||||
@@ -1141,6 +1144,7 @@ void CMenuWidget::paintHint(int pos)
|
||||
info_box->setXPos(x);
|
||||
info_box->setYPos(ypos2);
|
||||
info_box->setWidth(iwidth);
|
||||
info_box->setColor(COL_MENUCONTENT_PLUS_6, COL_MENUCONTENTDARK_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
|
||||
}
|
||||
/* force full paint - menu-over i.e. option chooser with pulldown can overwrite */
|
||||
info_box->paint(savescreen, true);
|
||||
|
Reference in New Issue
Block a user