Rolled back bomb to old behaviour, some bomb gfx tuning
[supertux.git] / src / gui / menu.hpp
index 3074bbe..6eea51d 100644 (file)
@@ -103,6 +103,8 @@ public:
 
   static void push_current(Menu* pmenu);
 
+  static void recalc_pos();
+
   /** Return the current active menu or NULL if none is active */
   static Menu* current()
   {
@@ -160,6 +162,7 @@ public:
   MenuItem* add_submenu(const std::string& text, Menu* submenu, int id = -1);
   MenuItem* add_controlfield(int id, const std::string& text,
                              const std::string& mapping = "");
+  MenuItem* add_string_select(int id, const std::string& text);
 
   virtual void menu_action(MenuItem* item);
 
@@ -188,6 +191,7 @@ public:
   void event(const SDL_Event& event);
 
   bool is_toggled(int id) const;
+  void set_toggled(int id, bool toggled);
 
   Menu* get_parent() const;