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-01-26 22:12:04 +0000
committerStijn Buys <ingar@osirion.org>2009-01-26 22:12:04 +0000
commit76a49efdf62a53a54e2deeb559422f11c1e955dd (patch)
tree883d335f03dcd24002b749456d05db1602b09fd5 /src/ui/menu.h
parent8ee6f0c6effeffd6fa3322149435c9a5aba7120f (diff)
read main menus from menu.ini
Diffstat (limited to 'src/ui/menu.h')
-rw-r--r--src/ui/menu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/menu.h b/src/ui/menu.h
index e3a853a..bbcea5a 100644
--- a/src/ui/menu.h
+++ b/src/ui/menu.h
@@ -22,14 +22,14 @@ class Menu : public Window
public:
/// create a new menu
- Menu(Window *parent, const char * label);
+ Menu(Window *parent, const char * label = 0);
~Menu();
- /// load a menu from ini/menus/label.ini
- void load();
-
/// 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);