[Scummvm-cvs-logs] CVS: scummvm/gui PopUpWidget.h,1.11,1.12 TabWidget.h,1.6,1.7

Max Horn fingolfin at users.sourceforge.net
Fri Apr 9 08:24:22 CEST 2004


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

Modified Files:
	PopUpWidget.h TabWidget.h 
Log Message:
Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)

Index: PopUpWidget.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/PopUpWidget.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- PopUpWidget.h	13 Mar 2004 12:33:31 -0000	1.11
+++ PopUpWidget.h	9 Apr 2004 15:10:23 -0000	1.12
@@ -23,7 +23,7 @@
 
 #include "gui/widget.h"
 #include "common/str.h"
-#include "common/list.h"
+#include "common/array.h"
 
 namespace GUI {
 
@@ -46,7 +46,7 @@
 		String	name;
 		uint32	tag;
 	};
-	typedef Common::List<Entry> EntryList;
+	typedef Common::Array<Entry> EntryList;
 protected:
 	EntryList		_entries;
 	int				_selectedItem;

Index: TabWidget.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/TabWidget.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- TabWidget.h	6 Jan 2004 12:45:28 -0000	1.6
+++ TabWidget.h	9 Apr 2004 15:10:23 -0000	1.7
@@ -23,7 +23,7 @@
 
 #include "widget.h"
 #include "common/str.h"
-#include "common/list.h"
+#include "common/array.h"
 
 namespace GUI {
 
@@ -33,7 +33,7 @@
 		String title;
 		Widget *firstWidget;
 	};
-	typedef Common::List<Tab> TabList;
+	typedef Common::Array<Tab> TabList;
 protected:
 	int _activeTab;
 	TabList _tabs;





More information about the Scummvm-git-logs mailing list