[Scummvm-cvs-logs] SF.net SVN: scummvm:[40797] scummvm/trunk/engines/kyra/gui.h

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat May 23 01:22:13 CEST 2009


Revision: 40797
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40797&view=rev
Author:   lordhoto
Date:     2009-05-22 23:22:13 +0000 (Fri, 22 May 2009)

Log Message:
-----------
Better safe than sorry, add an explicit default constructor for Button.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui.h

Modified: scummvm/trunk/engines/kyra/gui.h
===================================================================
--- scummvm/trunk/engines/kyra/gui.h	2009-05-22 23:16:53 UTC (rev 40796)
+++ scummvm/trunk/engines/kyra/gui.h	2009-05-22 23:22:13 UTC (rev 40797)
@@ -43,6 +43,11 @@
 	typedef Common::Functor1<Button*, int> CallbackFunctor;
 	typedef Common::SharedPtr<CallbackFunctor> Callback;
 
+	Button() : nextButton(0), index(0), keyCode(0), keyCode2(0), data0Val1(0), data1Val1(0), data2Val1(0), flags(0),
+		data0ShapePtr(0), data1ShapePtr(0), data2ShapePtr(0), data0Callback(), data1Callback(), data2Callback(),
+		dimTableIndex(0), x(0), y(0), width(0), height(0), data0Val2(0), data0Val3(0), data1Val2(0), data1Val3(0),
+		data2Val2(0), data2Val3(0), flags2(0), mouseWheel(0), buttonCallback(), arg(0) {}
+
 	Button *nextButton;
 	uint16 index;
 


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