diff options
| author | Simon 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) |
| commit | a8e4221f38edefb5b342f470407b1f100d0248a3 (patch) | |
| tree | 39f9d8036358c6150d5f7f6285a29e48a8c16882 /src/interface/Textbox.cpp | |
| parent | 78c4aba468a35166bf4ef5056b8e15be4098ba07 (diff) | |
| download | powder-a8e4221f38edefb5b342f470407b1f100d0248a3.zip powder-a8e4221f38edefb5b342f470407b1f100d0248a3.tar.gz | |
Working comment submission
Diffstat (limited to 'src/interface/Textbox.cpp')
| -rw-r--r-- | src/interface/Textbox.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface/Textbox.cpp b/src/interface/Textbox.cpp index 3180cb7..7d939fd 100644 --- a/src/interface/Textbox.cpp +++ b/src/interface/Textbox.cpp @@ -27,6 +27,11 @@ Textbox::~Textbox() delete actionCallback; } +void Textbox::SetPlaceholder(std::string text) +{ + placeHolder = text; +} + void Textbox::SetText(std::string newText) { backingText = newText; |
