From 1e388d848c75d5bbec91a03f350fe4d54a79aa9b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 13 Oct 2016 09:23:54 +0200 Subject: [PATCH] CComponentsText: add missing member to get current font --- src/gui/components/cc_item_text.h | 3 +++ 1 file changed, 3 insertions(+) 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