mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-13 07:05:12 +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)
|
if (this->cur_message)
|
||||||
{
|
{
|
||||||
Gui::gui->timerController->arm(this, 500);
|
Gui::gui->timerController->arm(this, 2000);
|
||||||
this->setText(text);
|
this->setText(text);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "timer.hh"
|
#include "timer.hh"
|
||||||
#include "utils.hh"
|
#include "utils.hh"
|
||||||
|
#include "gui.hh"
|
||||||
|
|
||||||
// FIXME!
|
#define MS_TO_TICKS(x) ((x) / Gui::gui->np->MsPerFrame)
|
||||||
#define MS_TO_TICKS(x) ((x) / 28)
|
|
||||||
|
|
||||||
TimerController::TimerController()
|
TimerController::TimerController()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user