[Scummvm-cvs-logs] SF.net SVN: scummvm: [23668] scummvm/trunk/gui

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Aug 4 20:01:51 CEST 2006


Revision: 23668
Author:   fingolfin
Date:     2006-08-04 11:01:43 -0700 (Fri, 04 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23668&view=rev

Log Message:
-----------
There is no need anymore to report EVENT_SCREEN_CHANGED changes to the GUI code

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/input.cpp
    scummvm/trunk/gui/newgui.cpp
    scummvm/trunk/gui/newgui.h
Modified: scummvm/trunk/engines/scumm/input.cpp
===================================================================
--- scummvm/trunk/engines/scumm/input.cpp	2006-08-04 17:59:53 UTC (rev 23667)
+++ scummvm/trunk/engines/scumm/input.cpp	2006-08-04 18:01:43 UTC (rev 23668)
@@ -181,10 +181,6 @@
 			_keyPressed = 'q';
 			break;
 
-		case OSystem::EVENT_SCREEN_CHANGED:
-			g_gui.handleScreenChange();
-			break;
-
 		case OSystem::EVENT_QUIT:
 			if (_confirmExit)
 				confirmExitDialog();

Modified: scummvm/trunk/gui/newgui.cpp
===================================================================
--- scummvm/trunk/gui/newgui.cpp	2006-08-04 17:59:53 UTC (rev 23667)
+++ scummvm/trunk/gui/newgui.cpp	2006-08-04 18:01:43 UTC (rev 23668)
@@ -367,10 +367,6 @@
 	return (WidgetSize)(_theme->_evaluator->getVar("widgetSize"));
 }
 
-void NewGui::handleScreenChange() {
-	_theme->refresh();
-}
-
 void NewGui::clearDragWidget() {
 	_dialogStack.top()->_dragWidget = 0;
 }

Modified: scummvm/trunk/gui/newgui.h
===================================================================
--- scummvm/trunk/gui/newgui.h	2006-08-04 17:59:53 UTC (rev 23667)
+++ scummvm/trunk/gui/newgui.h	2006-08-04 18:01:43 UTC (rev 23668)
@@ -80,8 +80,6 @@
 
 	WidgetSize getWidgetSize();
 
-	void handleScreenChange();
-
 	void clearDragWidget();
 
 protected:
@@ -90,6 +88,7 @@
 	Theme		*_theme;
 
 	bool		_needRedraw;
+	int			_lastScreenChangeID;
 	DialogStack	_dialogStack;
 
 	bool		_stateIsSaved;


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