CComponentsExtTextForm: add methode to get current font

Default font is generated by class it self, so it is useful
to have access to current font if is required by implemenations.
This commit is contained in:
2016-10-03 01:09:47 +02:00
parent 80753c75d1
commit ac58c8c016

View File

@@ -133,6 +133,9 @@ class CComponentsExtTextForm : public CComponentsForm, public CCTextScreen
///sets the text modes (mainly text alignment) to the label and text object, see /gui/widget/textbox.h for possible modes
void setTextModes(const int& label_mode, const int& text_mode);
///return current font
Font* getFont(){return ccx_font;}
///paint this item/form
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
};