GUI: Remove GuiObject::getMillis()
svn-id: r48241
This commit is contained in:
parent
6e78fdc161
commit
4fc8ebab01
8 changed files with 14 additions and 22 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue