diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-03-02 11:28:55 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-02 11:28:55 +1100 |
commit | 3893151fe217a684aba77669bab6ca3b828943e7 (patch) | |
tree | 2616c70d9fa2ec2a2f01462327bc07b984579b26 /source/windowing/StarTextBoxWidget.hpp | |
parent | 3e89b9cabf9b56f337b6b953d2222b56969d7375 (diff) | |
parent | 63d8c8e8db0a80f9dc98f98e845bc4654060ada4 (diff) |
Merge pull request #203 from KrashV/new-widget-callbacks
Bring new widget callbacks
Diffstat (limited to 'source/windowing/StarTextBoxWidget.hpp')
-rw-r--r-- | source/windowing/StarTextBoxWidget.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/windowing/StarTextBoxWidget.hpp b/source/windowing/StarTextBoxWidget.hpp index 5fed88e..b6666ed 100644 --- a/source/windowing/StarTextBoxWidget.hpp +++ b/source/windowing/StarTextBoxWidget.hpp @@ -16,6 +16,13 @@ public: String const& getText() const; bool setText(String const& text, bool callback = true, bool moveCursor = true); + String const& getHint() const; + void setHint(String const& hint); + + int const& getCursorPosition() const; + void setCursorPosition(int cursorPosition); + + bool getHidden() const; void setHidden(bool hidden); |