Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputbox.h')
-rw-r--r--src/ui/inputbox.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/inputbox.h b/src/ui/inputbox.h
index d3e9d2c..5da9bc5 100644
--- a/src/ui/inputbox.h
+++ b/src/ui/inputbox.h
@@ -35,12 +35,15 @@ public:
void set_max(const size_t max);
/// return the text displayed by the label
- inline std::string const &text() const {
+ inline const std::string &text() const {
return input_text;
}
-
+
/// clear the text
void clear();
+
+ /// run command completion
+ void complete();
protected:
/// draw the widget