mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15: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; };
|
||||
inline std::shared_ptr<Font> getFont() const override { return mFont; }
|
||||
Alignment getHorizontalAlignment() { return mHorizontalAlignment; }
|
||||
Alignment getVerticalAlignment() { return mVerticalAlignment; }
|
||||
|
||||
protected:
|
||||
virtual void onTextChanged();
|
||||
|
|
Loading…
Reference in a new issue