CComponentsText: add explicit kill methode and add ct_force_text_paint

After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.
This commit is contained in:
2017-01-23 21:27:10 +01:00
committed by M. Liebmann
parent cbeecab801
commit 4c71edbd3c
2 changed files with 18 additions and 3 deletions

View File

@@ -138,6 +138,8 @@ class CComponentsText : public CCTextScreen, public CComponentsItem
///default members to paint a text box and hide painted text
///hide textbox
void hide();
///remove textbox from screen
void kill();
///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);