#include <list>
class Menu;
+class DrawingContext;
class MenuManager
{
MenuManager();
~MenuManager();
+ void draw(DrawingContext& context);
+
/** Set the current menu, if pmenu is NULL, hide the current menu */
void set_current(Menu* pmenu);
static int frame_count = 0;
current_screen->draw(context);
- if(m_menu_manager->current() != NULL)
- m_menu_manager->current()->draw(context);
+ m_menu_manager->draw(context);
if(screen_fade.get() != NULL)
screen_fade->draw(context);
Console::instance->draw(context);