diff options
Diffstat (limited to 'src/interface/Textbox.h')
| -rw-r--r-- | src/interface/Textbox.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Textbox.h b/src/interface/Textbox.h index e502768..551ff54 100644 --- a/src/interface/Textbox.h +++ b/src/interface/Textbox.h @@ -21,7 +21,6 @@ class Textbox : public Component protected: std::string text; std::string displayText; - ui::Point textPosition; int cursor, cursorPosition; TextboxAction *actionCallback; bool masked; @@ -40,6 +39,8 @@ public: bool GetHidden() { return masked; } void SetBorder(bool border) {this->border = border;} + + void TextPosition(); virtual void Draw(const Point& screenPos); }; |
