#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) |
Detailed Description
Definition at line 22 of file Layout.h.
Constructor & Destructor Documentation
Member Function Documentation
void Layout::AddCol |
( |
DWORD |
min_width, |
|
|
float |
col_factor |
|
) |
| |
|
virtual |
void Layout::AddRow |
( |
DWORD |
min_height, |
|
|
float |
row_factor |
|
) |
| |
|
virtual |
void Layout::CalcCells |
( |
DWORD |
w, |
|
|
DWORD |
h, |
|
|
std::vector< DWORD > & |
cell_x, |
|
|
std::vector< DWORD > & |
cell_y |
|
) |
| |
|
protectedvirtual |
void Layout::ScaleWeights |
( |
| ) |
|
|
protectedvirtual |
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 |
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 |
void Layout::SetConstraints |
( |
int |
ncols, |
|
|
int |
nrows, |
|
|
const int * |
min_x, |
|
|
const int * |
min_y, |
|
|
const float * |
weight_x, |
|
|
const float * |
weight_y |
|
) |
| |
|
virtual |
static const char* Layout::TYPENAME |
( |
| ) |
|
|
inlinestatic |
Member Data Documentation
std::vector<float> Layout::col_weights |
|
protected |
std::vector<DWORD> Layout::cols |
|
protected |
std::vector<float> Layout::row_weights |
|
protected |
std::vector<DWORD> Layout::rows |
|
protected |
The documentation for this class was generated from the following files: