[Scummvm-cvs-logs] CVS: scummvm/sword2 controls.cpp,1.90,1.91
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Jun 5 10:30:56 CEST 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.137,1.138 actor.h,1.76,1.77 saga.h,1.99,1.100 saveload.cpp,1.14,1.15 script.h,1.83,1.84 sfuncs.cpp,1.121,1.122
- Next message: [Scummvm-cvs-logs] CVS: tools compress_san.cpp,1.39,1.40 compress_scumm_bun.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5354
Modified Files:
controls.cpp
Log Message:
Removed an old hack that I don't think is needed any more. Clear screen
when the dialog window is removed.
Index: controls.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/controls.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- controls.cpp 12 May 2005 13:12:00 -0000 1.90
+++ controls.cpp 5 Jun 2005 17:30:20 -0000 1.91
@@ -250,20 +250,17 @@
: _numWidgets(0), _finish(false), _result(0), _vm(vm) {
_vm->_screen->setFullPalette(CONTROL_PANEL_PALETTE);
_vm->_screen->clearScene();
+ _vm->_screen->updateDisplay();
// Usually the mouse pointer will already be "normal", but not always.
_vm->_mouse->setMouse(NORMAL_MOUSE_ID);
-
- // HACK: Since the dialogs don't do normal scene updates we need to
- // trigger a full redraw manually.
-
- _vm->_screen->setNeedFullRedraw();
- _vm->_screen->updateDisplay();
}
Dialog::~Dialog() {
for (int i = 0; i < _numWidgets; i++)
delete _widgets[i];
+ _vm->_screen->clearScene();
+ _vm->_screen->updateDisplay();
}
void Dialog::registerWidget(Widget *widget) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/saga actor.cpp,1.137,1.138 actor.h,1.76,1.77 saga.h,1.99,1.100 saveload.cpp,1.14,1.15 script.h,1.83,1.84 sfuncs.cpp,1.121,1.122
- Next message: [Scummvm-cvs-logs] CVS: tools compress_san.cpp,1.39,1.40 compress_scumm_bun.cpp,1.24,1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list