summaryrefslogtreecommitdiff
path: root/src/gui/widgets/vertcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-30 23:14:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-01 02:08:53 +0300
commit32014de9008efe051a1a8b05e5e976a4629b34d2 (patch)
tree694b93739685b8b8462c7f602b8ae693be5e65bf /src/gui/widgets/vertcontainer.h
parent5c260f683e26529d7cf02c12c1fff70a7a7e5eb8 (diff)
downloadmanaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.gz
manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.bz2
manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.tar.xz
manaplus-32014de9008efe051a1a8b05e5e976a4629b34d2.zip
Replace some lists to vectors.
Diffstat (limited to 'src/gui/widgets/vertcontainer.h')
-rw-r--r--src/gui/widgets/vertcontainer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/vertcontainer.h b/src/gui/widgets/vertcontainer.h
index 268c61d4f..cccd772b8 100644
--- a/src/gui/widgets/vertcontainer.h
+++ b/src/gui/widgets/vertcontainer.h
@@ -26,6 +26,8 @@
#include <guichan/widgetlistener.hpp>
+#include <vector>
+
#ifdef __GNUC__
#define _UNUSED_ __attribute__ ((unused))
#else
@@ -53,7 +55,7 @@ class VertContainer : public Container, public gcn::WidgetListener
void widgetResized(const gcn::Event &event);
private:
- std::list<gcn::Widget*> mResizableWidgets;
+ std::vector<gcn::Widget*> mResizableWidgets;
int mVerticalItemSize;
int mCount;
int mNextY;