diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-15 17:55:36 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-05-15 17:55:36 (GMT) |
| commit | ba5efb101e30c75e9d1a639a717f48767785982d (patch) | |
| tree | b56885c79618054b5de1a2d52449d28638b3f03c /src/interface/Textbox.h | |
| parent | 136675b56a8a1862afb41ccee5c14e93e483b964 (diff) | |
| download | powder-ba5efb101e30c75e9d1a639a717f48767785982d.zip powder-ba5efb101e30c75e9d1a639a717f48767785982d.tar.gz | |
Username, password icons for Login window
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); }; |
