[Scummvm-cvs-logs] CVS: scummvm TODO,1.78,1.79

Max Horn fingolfin at users.sourceforge.net
Sat Feb 14 00:09:00 CET 2004


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24509

Modified Files:
	TODO 
Log Message:
updated TODO

Index: TODO
===================================================================
RCS file: /cvsroot/scummvm/scummvm/TODO,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- TODO	14 Feb 2004 02:36:58 -0000	1.78
+++ TODO	14 Feb 2004 08:01:55 -0000	1.79
@@ -33,6 +33,17 @@
   - sound/fmopl.cpp uses rand() in one function
   - backends/midi/adlib.cpp has its own random_nr() function.
   Any others?
+* In OSystem, replace all the TOGGLE properties by GET/SET ones. E.g.
+  instead of PROP_TOGGLE_FULLSCREEN have PROP_SET_FULLSCREEN and
+  PROP_GET_FULLSCREEN.
+  Alternatively (my prefered solution) use plain methods for this:
+    void OSystem::setFullscreen(bool)
+  and
+    bool OSystem::getFullscreen()
+  That is easier to use and has no obvious drawbacks over the "property()"
+  approach (given that you always can provide empty dummy implementations for
+  new OSystem APIs). Clearly this needs discussion first, though.
+  
 
 Build System
 ============





More information about the Scummvm-git-logs mailing list