[Scummvm-cvs-logs] SF.net SVN: scummvm: [27781] scummvm/trunk/engines/touche/ui.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Jun 30 10:24:36 CEST 2007
Revision: 27781
http://scummvm.svn.sourceforge.net/scummvm/?rev=27781&view=rev
Author: eriktorbjorn
Date: 2007-06-30 01:24:36 -0700 (Sat, 30 Jun 2007)
Log Message:
-----------
Move the redrawing of dialog windows (options, save, load, ...) so that we do
not redraw it in the middle of changing to a different dialog. This should fix
bug #1745090 ("TOUCHE: Glitch in the menu").
Modified Paths:
--------------
scummvm/trunk/engines/touche/ui.cpp
Modified: scummvm/trunk/engines/touche/ui.cpp
===================================================================
--- scummvm/trunk/engines/touche/ui.cpp 2007-06-30 00:03:32 UTC (rev 27780)
+++ scummvm/trunk/engines/touche/ui.cpp 2007-06-30 08:24:36 UTC (rev 27781)
@@ -381,6 +381,11 @@
}
}
}
+ if (doRedraw) {
+ redrawMenu(&menuData);
+ updateScreenArea(90, 102, 460, 196);
+ doRedraw = false;
+ }
Common::Event event;
while (_eventMan->pollEvent(event)) {
const Button *button = 0;
@@ -419,11 +424,6 @@
break;
}
}
- if (doRedraw) {
- redrawMenu(&menuData);
- updateScreenArea(90, 102, 460, 196);
- doRedraw = false;
- }
_system->updateScreen();
_system->delayMillis(10);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list