summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-17 21:21:20 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-17 21:21:20 (GMT)
commitd91d4223b8ada310dd9df5f9950c66f534b2f008 (patch)
tree44d9a4d1d724553085535a516231cc6ea9987c02 /src/interface/Textbox.h
parent2479b8664d5c4cdd47208bdbca970828ba1a2520 (diff)
downloadpowder-d91d4223b8ada310dd9df5f9950c66f534b2f008.zip
powder-d91d4223b8ada310dd9df5f9950c66f534b2f008.tar.gz
Improve spacing of multiline labels, multiline cursor for Textbox, autoresizing textbox for PreviewView comments
Diffstat (limited to 'src/interface/Textbox.h')
-rw-r--r--src/interface/Textbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/Textbox.h b/src/interface/Textbox.h
index 1410405..700974a 100644
--- a/src/interface/Textbox.h
+++ b/src/interface/Textbox.h
@@ -22,7 +22,7 @@ class Textbox : public Label
protected:
bool mouseDown;
bool masked, border;
- int cursor, cursorPosition;
+ int cursor, cursorPositionX, cursorPositionY;
TextboxAction *actionCallback;
std::string backingText;
std::string placeHolder;