mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsText: add missing parameters to kill() methode
This commit is contained in:
@@ -298,13 +298,14 @@ void CComponentsText::hide()
|
|||||||
ct_force_text_paint = true;
|
ct_force_text_paint = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsText::kill()
|
void CComponentsText::kill(const fb_pixel_t& bg_color, const int& corner_radius, const int& fblayer_type)
|
||||||
{
|
{
|
||||||
if (ct_textbox)
|
if (ct_textbox)
|
||||||
ct_textbox->hide();
|
ct_textbox->hide();
|
||||||
|
|
||||||
ct_old_text.clear();
|
ct_old_text.clear();
|
||||||
CCDraw::kill();
|
force_paint_bg = true;
|
||||||
|
CCDraw::kill(bg_color, corner_radius, fblayer_type);
|
||||||
ct_force_text_paint = true;
|
ct_force_text_paint = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -139,7 +139,7 @@ class CComponentsText : public CCTextScreen, public CComponentsItem
|
|||||||
///hide textbox
|
///hide textbox
|
||||||
void hide();
|
void hide();
|
||||||
///remove textbox from screen
|
///remove textbox from screen
|
||||||
void kill();
|
void kill(const fb_pixel_t& bg_color = COL_BACKGROUND_PLUS_0, const int& corner_radius = -1, const int& fblayer_type = CC_FBDATA_TYPES);
|
||||||
///paint text box, parameter do_save_bg: default = true, causes fill of backckrond pixel buffer
|
///paint text box, parameter do_save_bg: default = true, causes fill of backckrond pixel buffer
|
||||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user