From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/class_layout.html | 674 +++++++++++++++++++++++++++++++++++++ 1 file changed, 674 insertions(+) create mode 100644 Doc/doxygen/html/class_layout.html (limited to 'Doc/doxygen/html/class_layout.html') diff --git a/Doc/doxygen/html/class_layout.html b/Doc/doxygen/html/class_layout.html new file mode 100644 index 0000000..c765bc0 --- /dev/null +++ b/Doc/doxygen/html/class_layout.html @@ -0,0 +1,674 @@ + + + + + +Starshatter_Open: Layout Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ +

#include <Layout.h>

+ +

List of all members.

+ + + + + + + + + + + +

+Public Member Functions

 Layout ()
virtual ~Layout ()
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 SetConstraints (const std::vector< DWORD > &min_x, const std::vector< DWORD > &min_y, const std::vector< float > &weight_x, const std::vector< float > &weight_y)
virtual void SetConstraints (const std::vector< float > &min_x, const std::vector< float > &min_y, const std::vector< float > &weight_x, const std::vector< 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)
+ + +

+Static Public Member Functions

static const char * TYPENAME ()
+ + + +

+Protected Member Functions

virtual void ScaleWeights ()
virtual void CalcCells (DWORD w, DWORD h, std::vector< DWORD > &cell_x, std::vector< DWORD > &cell_y)
+ + + + + +

+Protected Attributes

std::vector< DWORD > cols
std::vector< DWORD > rows
std::vector< float > col_weights
std::vector< float > row_weights
+

Detailed Description

+
+

Definition at line 22 of file Layout.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
Layout::Layout ()
+
+ +

Definition at line 20 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
Layout::~Layout ()
+
+virtual
+
+ +

Definition at line 23 of file Layout.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Layout::AddCol (DWORD min_width,
float col_factor 
)
+
+virtual
+
+ +

Definition at line 167 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Layout::AddRow (DWORD min_height,
float row_factor 
)
+
+virtual
+
+ +

Definition at line 174 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Layout::CalcCells (DWORD w,
DWORD h,
std::vector< DWORD > & cell_x,
std::vector< DWORD > & cell_y 
)
+
+protectedvirtual
+
+ +

Definition at line 120 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void Layout::Clear ()
+
+virtual
+
+ +

Definition at line 157 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
bool Layout::DoLayout (ActiveWindowpanel)
+
+virtual
+
+ +

Definition at line 29 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void Layout::ScaleWeights ()
+
+protectedvirtual
+
+ +

Definition at line 95 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Layout::SetConstraints (const std::vector< DWORD > & min_x,
const std::vector< DWORD > & min_y,
const std::vector< float > & weight_x,
const std::vector< float > & weight_y 
)
+
+virtual
+
+ +

Definition at line 181 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Layout::SetConstraints (const std::vector< float > & min_x,
const std::vector< float > & min_y,
const std::vector< float > & weight_x,
const std::vector< float > & weight_y 
)
+
+virtual
+
+ +

Definition at line 204 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Layout::SetConstraints (int ncols,
int nrows,
const int * min_x,
const int * min_y,
const float * weight_x,
const float * weight_y 
)
+
+virtual
+
+ +

Definition at line 229 of file Layout.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static const char* Layout::TYPENAME ()
+
+inlinestatic
+
+ +

Definition at line 25 of file Layout.h.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
std::vector<float> Layout::col_weights
+
+protected
+
+ +

Definition at line 60 of file Layout.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<DWORD> Layout::cols
+
+protected
+
+ +

Definition at line 58 of file Layout.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<float> Layout::row_weights
+
+protected
+
+ +

Definition at line 61 of file Layout.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<DWORD> Layout::rows
+
+protected
+
+ +

Definition at line 59 of file Layout.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.1