[Scummvm-cvs-logs] SF.net SVN: scummvm:[44613] scummvm/trunk/engines/sci/gui/gui_helpers.h

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sun Oct 4 17:44:32 CEST 2009


Revision: 44613
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44613&view=rev
Author:   wjpalenstijn
Date:     2009-10-04 15:44:32 +0000 (Sun, 04 Oct 2009)

Log Message:
-----------
SCI/newgui: turn sciWnd into subclass of sciPort

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_helpers.h

Modified: scummvm/trunk/engines/sci/gui/gui_helpers.h
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_helpers.h	2009-10-04 15:44:10 UTC (rev 44612)
+++ scummvm/trunk/engines/sci/gui/gui_helpers.h	2009-10-04 15:44:32 UTC (rev 44613)
@@ -54,17 +54,7 @@
 	int16 penMode;
 };
 
-struct sciWnd {
-	// begins like sciPort (needs to be binary identical!!)
-	sciNode node; // node struct for list operations
-	int16 top, left;
-	Common::Rect rect;
-	int16 curTop, curLeft;
-	int16 fontHeight;
-	sciResourceId fontId;
-	int16 textFace, penClr, backClr;
-	int16 penMode;
-	// window specific members
+struct sciWnd : public sciPort {
 	Common::Rect dims; // client area of window
 	Common::Rect restoreRect; // total area of window including borders
 	uint16 wndStyle;


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