Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
committerStijn Buys <ingar@osirion.org>2009-08-18 09:24:15 +0000
commitf030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch)
treecd92baf9e4fa8a136523b9eb570e9811846c9250 /src/ui/inputbox.h
parent5636fad174f0bcff857c357c394c4cc8d424b302 (diff)
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/ui/inputbox.h')
-rw-r--r--src/ui/inputbox.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/inputbox.h b/src/ui/inputbox.h
index 961bbcf..d3e9d2c 100644
--- a/src/ui/inputbox.h
+++ b/src/ui/inputbox.h
@@ -18,10 +18,10 @@ class InputBox : public Widget
public:
InputBox(Widget *parent);
~InputBox();
-
+
/// set the text displayed by the label
void set_text(const std::string &text);
-
+
/// set the text displayed by the label
void set_text(const char *text);
@@ -33,25 +33,25 @@ public:
/// set the maximal input width
void set_max(const size_t max);
-
+
/// return the text displayed by the label
inline std::string const &text() const {
return input_text;
}
-
+
/// clear the text
void clear();
-
+
protected:
/// draw the widget
virtual void draw();
-
+
/// called when the widget receives a key press
virtual bool on_keypress(const int key, const unsigned int modifier);
-
+
/// called when the widget receives a key release
virtual bool on_keyrelease(const int key, const unsigned int modifier);
-
+
private:
std::string input_text;