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/menu.h')
-rw-r--r--src/ui/menu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/menu.h b/src/ui/menu.h
index c907d76..7fd211c 100644
--- a/src/ui/menu.h
+++ b/src/ui/menu.h
@@ -24,18 +24,18 @@ public:
/// create a new menu
Menu(Window *parent, const char * label = 0);
~Menu();
-
+
/// set the background bitmap
void set_background_texture(const char *texture);
/// set the background bitmap
void set_background_texture(const std::string &texture);
-
+
/// add a label
- Label *add_label(char const * text=0);
-
+ Label *add_label(char const * text = 0);
+
/// add a button with a command
- Button *add_button(char const *text=0, char const *command=0);
+ Button *add_button(char const *text = 0, char const *command = 0);
protected:
/// resize event
@@ -43,10 +43,10 @@ protected:
/// keypress event
virtual bool on_keypress(const int key, const unsigned int modifier);
-
+
private:
Bitmap *menu_background;
- Container *menu_container;
+ Container *menu_container;
};
}