mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsText: add missing member to get current font
This commit is contained in:
@@ -173,6 +173,9 @@ class CComponentsText : public CCTextScreen, public CComponentsItem, public CBox
|
|||||||
///returns current text content of text/label object as std::string
|
///returns current text content of text/label object as std::string
|
||||||
virtual std::string getText(){return ct_text;};
|
virtual std::string getText(){return ct_text;};
|
||||||
|
|
||||||
|
///return current font
|
||||||
|
Font* getFont(){return ct_font;}
|
||||||
|
|
||||||
///set screen x-position, parameter as int
|
///set screen x-position, parameter as int
|
||||||
virtual void setXPos(const int& xpos);
|
virtual void setXPos(const int& xpos);
|
||||||
///set screen y-position, parameter as int
|
///set screen y-position, parameter as int
|
||||||
|
Reference in New Issue
Block a user