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.


Origin commit data
------------------
Commit: ac58c8c016
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
This commit is contained in:
2016-10-03 01:09:47 +02:00
parent 93ca892022
commit 36247549fb

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);
};