Correct gui timing and show status bar messages longer

This commit is contained in:
simon.kagstrom 2010-01-25 15:50:05 +00:00
parent 6016806bd9
commit 40809b7238
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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()
{