mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +01:00
Correct gui timing and show status bar messages longer
This commit is contained in:
parent
6016806bd9
commit
40809b7238
@ -44,7 +44,7 @@ void StatusBar::timeoutCallback()
|
||||
|
||||
if (this->cur_message)
|
||||
{
|
||||
Gui::gui->timerController->arm(this, 500);
|
||||
Gui::gui->timerController->arm(this, 2000);
|
||||
this->setText(text);
|
||||
}
|
||||
else
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "timer.hh"
|
||||
#include "utils.hh"
|
||||
#include "gui.hh"
|
||||
|
||||
// FIXME!
|
||||
#define MS_TO_TICKS(x) ((x) / 28)
|
||||
#define MS_TO_TICKS(x) ((x) / Gui::gui->np->MsPerFrame)
|
||||
|
||||
TimerController::TimerController()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user