summaryrefslogtreecommitdiff
path: root/src/interface/Textbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/Textbox.cpp')
-rw-r--r--src/interface/Textbox.cpp5
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;