diff options
author | Max Horn | 2002-11-21 12:48:50 +0000 |
---|---|---|
committer | Max Horn | 2002-11-21 12:48:50 +0000 |
commit | dec234c6a563fbc0bec4d604dea45189739e2ee2 (patch) | |
tree | 6b138affb87fdf3936af1999785112f98becf8c8 /gui/newgui.cpp | |
parent | cb160cfbf369c8a66d7ad9e6bfdecfaacc826ef2 (diff) | |
download | scummvm-rg350-dec234c6a563fbc0bec4d604dea45189739e2ee2.tar.gz scummvm-rg350-dec234c6a563fbc0bec4d604dea45189739e2ee2.tar.bz2 scummvm-rg350-dec234c6a563fbc0bec4d604dea45189739e2ee2.zip |
factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
svn-id: r5658
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index e7b492dc9e..3b30f410bc 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -127,7 +127,7 @@ void NewGui::runLoop() _system->update_screen(); OSystem::Event event; - uint32 time = _system->get_msecs(); + uint32 time = get_time(); while (_system->poll_event(&event)) { switch(event.event_code) { @@ -475,7 +475,7 @@ void NewGui::drawBitmap(uint32 bitmap[8], int x, int y, int16 color) // void NewGui::animateCursor() { - int time = _system->get_msecs(); + int time = get_time(); if (time > _cursorAnimateTimer + kCursorAnimateDelay) { const byte colors[4] = { 15, 15, 7, 8 }; const byte color = colors[_cursorAnimateCounter]; |