+ int active_item;
+ std::vector<MenuItem> item;
+
+ static void set_current(Menu* pmenu);
+
+ Menu();
+ ~Menu();
+
+ void additem(MenuItem* pmenu_item);
+ void additem(MenuItemKind kind, const std::string& text, int init_toggle, Menu* target_menu);
+ void action ();
+
+ /** Remove all entries from the menu */
+ void clear();
+
+ /** Check, if the value of the active menu item has changed. */
+ int check ();
+ void draw ();
+ void draw_item(int index, int menu_width, int menu_height);
+ void set_pos(int x, int y, float rw = 0, float rh = 0);
+
+ /* Check for a menu event */
+ void event(SDL_Event& event);