summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-17 18:14:05 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-17 18:14:05 (GMT)
commit2479b8664d5c4cdd47208bdbca970828ba1a2520 (patch)
treed453fa8de5272d83d03a4a72f776c6808c5f641e /src/interface/Textbox.h
parent2329f98f0af9dffda5375aca7b05f9e76a84d06a (diff)
downloadpowder-2479b8664d5c4cdd47208bdbca970828ba1a2520.zip
powder-2479b8664d5c4cdd47208bdbca970828ba1a2520.tar.gz
Add comment box to save preview - doesn't work yet
Diffstat (limited to 'src/interface/Textbox.h')
-rw-r--r--src/interface/Textbox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface/Textbox.h b/src/interface/Textbox.h
index 120194e..1410405 100644
--- a/src/interface/Textbox.h
+++ b/src/interface/Textbox.h
@@ -25,8 +25,9 @@ protected:
int cursor, cursorPosition;
TextboxAction *actionCallback;
std::string backingText;
+ std::string placeHolder;
public:
- Textbox(Point position, Point size, std::string textboxText);
+ Textbox(Point position, Point size, std::string textboxText = "", std::string textboxPlaceholder = "");
virtual ~Textbox();
virtual void SetDisplayText(std::string text);