GUI: Remove GuiObject::getMillis()

svn-id: r48241
This commit is contained in:
Max Horn 2010-03-11 23:41:28 +00:00
parent 6e78fdc161
commit 4fc8ebab01
8 changed files with 14 additions and 22 deletions

View file

@ -175,7 +175,7 @@ void AboutDialog::addLine(const char *str) {
void AboutDialog::open() {
_scrollTime = getMillis() + kScrollStartDelay;
_scrollTime = g_system->getMillis() + kScrollStartDelay;
_scrollPos = 0;
_willClose = false;
@ -253,7 +253,7 @@ void AboutDialog::drawDialog() {
}
void AboutDialog::handleTickle() {
const uint32 t = getMillis();
const uint32 t = g_system->getMillis();
int scrollOffset = ((int)t - (int)_scrollTime) / kScrollMillisPerPixel;
if (scrollOffset > 0) {
int modifiers = g_system->getEventManager()->getModifierState();