CComponentsText: add missing parameters to kill() methode

This commit is contained in:
2017-01-27 15:49:59 +01:00
committed by M. Liebmann
parent e74f24a658
commit f219da23bf
2 changed files with 4 additions and 3 deletions

View File

@@ -298,13 +298,14 @@ void CComponentsText::hide()
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)
ct_textbox->hide();
ct_old_text.clear();
CCDraw::kill();
force_paint_bg = true;
CCDraw::kill(bg_color, corner_radius, fblayer_type);
ct_force_text_paint = true;
}