From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/ui/inputbox.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/ui/inputbox.h') 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; -- cgit v1.2.3