aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2004-04-09 15:10:23 +0000
committerMax Horn2004-04-09 15:10:23 +0000
commit8a69ffc46c57fb550b5b50a724b908e404bc3c67 (patch)
treeac88deb742ef652e1487c35f8170dbceec8d262b /gui
parenta05c6e5406da6457cc492cff8e0a212d092e8577 (diff)
downloadscummvm-rg350-8a69ffc46c57fb550b5b50a724b908e404bc3c67.tar.gz
scummvm-rg350-8a69ffc46c57fb550b5b50a724b908e404bc3c67.tar.bz2
scummvm-rg350-8a69ffc46c57fb550b5b50a724b908e404bc3c67.zip
Renamed template class 'List' to 'Array', since that is really what it is (a resizable array, not a linked list)
svn-id: r13520
Diffstat (limited to 'gui')
-rw-r--r--gui/PopUpWidget.h4
-rw-r--r--gui/TabWidget.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/PopUpWidget.h b/gui/PopUpWidget.h
index 9a5e63ad09..65be3b8daa 100644
--- a/gui/PopUpWidget.h
+++ b/gui/PopUpWidget.h
@@ -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 @@ class PopUpWidget : public Widget, public CommandSender {
String name;
uint32 tag;
};
- typedef Common::List<Entry> EntryList;
+ typedef Common::Array<Entry> EntryList;
protected:
EntryList _entries;
int _selectedItem;
diff --git a/gui/TabWidget.h b/gui/TabWidget.h
index ea49fed891..f425bc7884 100644
--- a/gui/TabWidget.h
+++ b/gui/TabWidget.h
@@ -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 @@ class TabWidget : public Widget {
String title;
Widget *firstWidget;
};
- typedef Common::List<Tab> TabList;
+ typedef Common::Array<Tab> TabList;
protected:
int _activeTab;
TabList _tabs;