diff --git a/src/gui/components/cc_item_text.h b/src/gui/components/cc_item_text.h index c29e3a9ae..dd26f02ad 100644 --- a/src/gui/components/cc_item_text.h +++ b/src/gui/components/cc_item_text.h @@ -173,6 +173,9 @@ class CComponentsText : public CCTextScreen, public CComponentsItem, public CBox ///returns current text content of text/label object as std::string virtual std::string getText(){return ct_text;}; + ///return current font + Font* getFont(){return ct_font;} + ///set screen x-position, parameter as int virtual void setXPos(const int& xpos); ///set screen y-position, parameter as int