diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-28 16:44:39 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-28 16:44:39 +0000 |
commit | 56a3380b46f406ffaf093405ac2db4515b0a4f80 (patch) | |
tree | e9e4c5553343f27e41d862c49b21fd69bf5161b9 /nGenEx/ActiveWindow.cpp | |
parent | 41b40af36198fb013a2034a1954bbc4df50fea8b (diff) | |
download | starshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.zip starshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.tar.gz starshatter-56a3380b46f406ffaf093405ac2db4515b0a4f80.tar.bz2 |
Removes the ArrayList classes, and replaces all instances with std::vector implementations.
Diffstat (limited to 'nGenEx/ActiveWindow.cpp')
-rw-r--r-- | nGenEx/ActiveWindow.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
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 <vector>
#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<DWORD>& min_x,
+const std::vector<DWORD>& min_y,
+const std::vector<float>& weight_x,
+const std::vector<float>& 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<float>& min_x,
+const std::vector<float>& min_y,
+const std::vector<float>& weight_x,
+const std::vector<float>& weight_y)
{
if (!layout)
layout = new(__FILE__,__LINE__) Layout;
|