supertux
Classes | Public Member Functions | Static Public Member Functions | List of all members
MenuManager Class Referencefinal
Inheritance diagram for MenuManager:
Inheritance graph
[legend]
Collaboration diagram for MenuManager:
Collaboration graph
[legend]

Public Member Functions

void event (const SDL_Event &event)
 
void process_input (const Controller &controller)
 
void refresh ()
 
void draw (DrawingContext &context)
 
void set_dialog (std::unique_ptr< Dialog > dialog)
 
void set_notification (std::unique_ptr< Notification > notification)
 
void set_menu (int id, bool skip_transition=false)
 
void set_menu (std::unique_ptr< Menu > menu, bool skip_transition=false)
 
void push_menu (int id, bool skip_transition=false)
 
void push_menu (std::unique_ptr< Menu > menu, bool skip_transition=false)
 
void pop_menu (bool skip_transition=false)
 
void clear_menu_stack (bool skip_transition=false)
 
void on_window_resize ()
 
bool is_active () const
 
bool has_dialog () const
 
Menucurrent_menu () const
 
Menuprevious_menu () const
 

Static Public Member Functions

static MenuManagerinstance ()
 
- Static Public Member Functions inherited from Currenton< MenuManager >
static MenuManagercurrent ()
 

The documentation for this class was generated from the following files: