[Scummvm-cvs-logs] SF.net SVN: scummvm:[45032] scummvm/trunk/engines/sci/engine/kgraphics.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Tue Oct 13 19:50:28 CEST 2009


Revision: 45032
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45032&view=rev
Author:   m_kiewitz
Date:     2009-10-13 17:50:27 +0000 (Tue, 13 Oct 2009)

Log Message:
-----------
SCI: stub for kDrawControl K_CONTROL_PERCENTAGE

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-13 17:22:52 UTC (rev 45031)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-13 17:50:27 UTC (rev 45032)
@@ -988,13 +988,13 @@
 
 // Control types and flags
 enum {
-	K_CONTROL_BUTTON = 1,
-	K_CONTROL_TEXT = 2,
-	K_CONTROL_TEXTEDIT = 3,
-	K_CONTROL_ICON = 4,
-	K_CONTROL_LIST = 6,
-	K_CONTROL_LIST_ALIAS = 7,
-	K_CONTROL_BOX = 10
+	K_CONTROL_BUTTON		= 1,
+	K_CONTROL_TEXT			= 2,
+	K_CONTROL_TEXTEDIT		= 3,
+	K_CONTROL_ICON			= 4,
+	K_CONTROL_LIST			= 6,
+	K_CONTROL_LIST_ALIAS	= 7,
+	K_CONTROL_PERCENTAGE	= 10
 };
 
 static void disableCertainButtons(SegManager *segMan, Common::String gameName, reg_t obj) {
@@ -1141,6 +1141,10 @@
 		delete[] listStrings;
 		return;
 
+	case K_CONTROL_PERCENTAGE:
+		// TODO: Implement this
+		return;
+
 	default:
 		error("unsupported control type %d", type);
 	}


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