summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-18 12:07:33 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-18 12:07:33 (GMT)
commita8e4221f38edefb5b342f470407b1f100d0248a3 (patch)
tree39f9d8036358c6150d5f7f6285a29e48a8c16882 /src/interface/Textbox.h
parent78c4aba468a35166bf4ef5056b8e15be4098ba07 (diff)
downloadpowder-a8e4221f38edefb5b342f470407b1f100d0248a3.zip
powder-a8e4221f38edefb5b342f470407b1f100d0248a3.tar.gz
Working comment submission
Diffstat (limited to 'src/interface/Textbox.h')
-rw-r--r--src/interface/Textbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Textbox.h b/src/interface/Textbox.h
index 700974a..e8e9d22 100644
--- a/src/interface/Textbox.h
+++ b/src/interface/Textbox.h
@@ -34,6 +34,8 @@ public:
virtual void SetText(std::string text);
virtual std::string GetText();
+ virtual void SetPlaceholder(std::string text);
+
void SetBorder(bool border) { this->border = border; };
void SetHidden(bool hidden) { masked = hidden; }
bool GetHidden() { return masked; }