mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-17 04:46:20 +01:00
OOps, move runlogic
This commit is contained in:
parent
4aafeb344a
commit
ab534595f0
@ -225,6 +225,7 @@ void Gui::runLogic(void)
|
||||
|
||||
if (!this->is_active || !cur_view)
|
||||
return;
|
||||
cur_view->runLogic();
|
||||
}
|
||||
|
||||
|
||||
@ -255,6 +256,7 @@ GuiView *Gui::popView()
|
||||
|
||||
void Gui::exitMenu()
|
||||
{
|
||||
printf("Exiting the menu system\n");
|
||||
free(this->views);
|
||||
this->views = NULL;
|
||||
}
|
||||
@ -265,7 +267,6 @@ void Gui::pushEvent(SDL_Event *ev)
|
||||
|
||||
if (this->is_active || !cur_view)
|
||||
cur_view->pushEvent(ev);
|
||||
cur_view->runLogic();
|
||||
}
|
||||
|
||||
void Gui::draw(SDL_Surface *where)
|
||||
|
Loading…
x
Reference in New Issue
Block a user