From 56a3380b46f406ffaf093405ac2db4515b0a4f80 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Mon, 28 May 2012 16:44:39 +0000 Subject: Removes the ArrayList classes, and replaces all instances with std::vector implementations. --- nGenEx/ActiveWindow.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'nGenEx/ActiveWindow.cpp') diff --git a/nGenEx/ActiveWindow.cpp b/nGenEx/ActiveWindow.cpp index 2830325..756912b 100644 --- a/nGenEx/ActiveWindow.cpp +++ b/nGenEx/ActiveWindow.cpp @@ -12,6 +12,7 @@ Window class */ +#include #include "MemDebug.h" #include "ActiveWindow.h" #include "EventDispatch.h" @@ -174,10 +175,10 @@ ActiveWindow::DoLayout() // +--------------------------------------------------------------------+ void -ActiveWindow::UseLayout(const ArrayList& min_x, -const ArrayList& min_y, -const FloatList& weight_x, -const FloatList& weight_y) +ActiveWindow::UseLayout(const std::vector& min_x, +const std::vector& min_y, +const std::vector& weight_x, +const std::vector& weight_y) { if (!layout) layout = new(__FILE__,__LINE__) Layout; @@ -187,10 +188,10 @@ const FloatList& weight_y) } void -ActiveWindow::UseLayout(const FloatList& min_x, -const FloatList& min_y, -const FloatList& weight_x, -const FloatList& weight_y) +ActiveWindow::UseLayout(const std::vector& min_x, +const std::vector& min_y, +const std::vector& weight_x, +const std::vector& weight_y) { if (!layout) layout = new(__FILE__,__LINE__) Layout; -- cgit v1.1