mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CComponentsInfoBox: Small display bug fixed
Origin commit data
------------------
Branch: ni/coolstream
Commit: bc8128d8d7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-07-24 (Tue, 24 Jul 2012)
Origin message was:
------------------
* CComponentsInfoBox: Small display bug fixed
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -103,7 +103,7 @@ class CComponentsInfoBox : public CComponents
|
|||||||
|
|
||||||
void paint(bool do_save_bg = true, bool fullPaint = false);
|
void paint(bool do_save_bg = true, bool fullPaint = false);
|
||||||
void hide();
|
void hide();
|
||||||
void restore(bool clear_);
|
void restore(bool clear_ = true);
|
||||||
void setColor(fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow){col_frame = color_frame; col_body = color_body; col_shadow = color_shadow;};
|
void setColor(fb_pixel_t color_frame, fb_pixel_t color_body, fb_pixel_t color_shadow){col_frame = color_frame; col_body = color_body; col_shadow = color_shadow;};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -1079,7 +1079,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
/* clear info box */
|
/* clear info box */
|
||||||
if (info_box != NULL)
|
if (info_box != NULL)
|
||||||
if (pos == -1)
|
if (pos == -1)
|
||||||
info_box->restore(true);
|
info_box->restore();
|
||||||
hint_painted = false;
|
hint_painted = false;
|
||||||
}
|
}
|
||||||
if (pos < 0)
|
if (pos < 0)
|
||||||
@@ -1090,7 +1090,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
|
|
||||||
if (item->hintIcon.empty() && item->hint == NONEXISTANT_LOCALE) {
|
if (item->hintIcon.empty() && item->hint == NONEXISTANT_LOCALE) {
|
||||||
if (info_box != NULL)
|
if (info_box != NULL)
|
||||||
info_box->restore(false);
|
info_box->restore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user