mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Added support to TextComponent to return the horizontal and vertical alignments.
This commit is contained in:
parent
d9c7932f0d
commit
d90f29b931
|
@ -65,6 +65,8 @@ public:
|
||||||
|
|
||||||
unsigned int getColor() const override { return mColor; };
|
unsigned int getColor() const override { return mColor; };
|
||||||
inline std::shared_ptr<Font> getFont() const override { return mFont; }
|
inline std::shared_ptr<Font> getFont() const override { return mFont; }
|
||||||
|
Alignment getHorizontalAlignment() { return mHorizontalAlignment; }
|
||||||
|
Alignment getVerticalAlignment() { return mVerticalAlignment; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void onTextChanged();
|
virtual void onTextChanged();
|
||||||
|
|
Loading…
Reference in a new issue