summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Layout.h')
-rw-r--r--nGenEx/Layout.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/nGenEx/Layout.h b/nGenEx/Layout.h
index 9e901fd..8986719 100644
--- a/nGenEx/Layout.h
+++ b/nGenEx/Layout.h
@@ -1,15 +1,15 @@
/* Project nGenEx
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: nGenEx.lib
- FILE: Layout.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: nGenEx.lib
+ FILE: Layout.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Layout Manager class for ActiveWindow panels
+ OVERVIEW
+ ========
+ Layout Manager class for ActiveWindow panels
*/
#ifndef Layout_h
@@ -23,43 +23,43 @@
class Layout
{
public:
- static const char* TYPENAME() { return "Layout"; }
+ static const char* TYPENAME() { return "Layout"; }
- Layout();
- virtual ~Layout();
+ Layout();
+ virtual ~Layout();
- virtual bool DoLayout(ActiveWindow* panel);
+ virtual bool DoLayout(ActiveWindow* panel);
- virtual void Clear();
- virtual void AddCol(DWORD min_width, float col_factor);
- virtual void AddRow(DWORD min_height, float row_factor);
+ virtual void Clear();
+ virtual void AddCol(DWORD min_width, float col_factor);
+ virtual void AddRow(DWORD min_height, float row_factor);
- virtual void SetConstraints(const ArrayList& min_x,
- const ArrayList& min_y,
- const FloatList& weight_x,
- const FloatList& weight_y);
+ virtual void SetConstraints(const ArrayList& min_x,
+ const ArrayList& min_y,
+ const FloatList& weight_x,
+ const FloatList& weight_y);
- virtual void SetConstraints(const FloatList& min_x,
- const FloatList& min_y,
- const FloatList& weight_x,
- const FloatList& weight_y);
+ virtual void SetConstraints(const FloatList& min_x,
+ const FloatList& min_y,
+ const FloatList& weight_x,
+ const FloatList& weight_y);
- virtual void SetConstraints(int ncols,
- int nrows,
- const int* min_x,
- const int* min_y,
- const float* weight_x,
- const float* weight_y);
+ virtual void SetConstraints(int ncols,
+ int nrows,
+ const int* min_x,
+ const int* min_y,
+ const float* weight_x,
+ const float* weight_y);
protected:
- virtual void ScaleWeights();
- virtual void CalcCells(DWORD w, DWORD h, ArrayList& cell_x, ArrayList& cell_y);
+ virtual void ScaleWeights();
+ virtual void CalcCells(DWORD w, DWORD h, ArrayList& cell_x, ArrayList& cell_y);
- ArrayList cols;
- ArrayList rows;
- FloatList col_weights;
- FloatList row_weights;
+ ArrayList cols;
+ ArrayList rows;
+ FloatList col_weights;
+ FloatList row_weights;
};
#endif Layout_h