Inheritance diagram for layout_painter:

Public Types | |
| typedef Key | key_type |
| typedef const key_type & | param0 |
|
typedef bg_wnd::general_exception< self, 0 > | key_already_used |
|
typedef bg_wnd::general_exception< self, 1 > | key_invalid |
|
typedef bg_wnd::general_exception< self, 2 > | invalid_painter_cast |
| typedef double | factor |
| typedef Key | cell_data |
| typedef cell_proxy< self > | cell_type |
|
typedef const cell_proxy< const self > | const_cell_type |
Public Member Functions | |
| layout_painter (const key_type &empty_field) | |
| layout_painter * | clone () const |
| void | margin (unsigned horz_margin, unsigned vert_margin, bool bOuterMargin=true) |
| POINT | margin () const |
| void | add_painter (const key_type &key, const painter_base &painter) |
| template<class Painter> | |
| void | add_painter (const key_type &key) |
| template<class Painter> | |
| void | add_painter (const key_type &key, typename Painter::param0 param) |
| template<class Painter> | |
| void | add_painter (const key_type &key, typename Painter::param0 param0, typename Painter::param1 param1) |
| void | delete_all_painters () |
| void | delete_painter (const key_type &key) |
| std::vector< key_type > | get_keys () const |
| template<class Painter> | |
| Painter & | get_painter (const key_type &key) const |
| void | draw (HDC hDC, int cx, int cy) |
| virtual bool | is_opaque (int cx, int cy) const |
| const cell_data | default_cell_data () const |
| void | dimensions (unsigned cols, unsigned rows) |
| unsigned | row_count () const |
| unsigned | col_count () const |
| detail::forward_proxy< self > | operator[] (unsigned col) |
| const detail::forward_proxy< const self > | operator[] (unsigned col) const |
| void | row_height (unsigned row, factor height_factor) |
| factor | row_height (unsigned row) const |
| void | col_width (unsigned col, factor width_factor) |
| factor | col_width (unsigned col) const |
| void | insert_row (unsigned row) |
| void | insert_col (unsigned col) |
| void | remove_col (unsigned col) |
| void | remove_row (unsigned row) |
| void | merge_cells (const cell_range &range) |
| void | unmerge_cells (const cell_range &range) |
| void | unmerge_cells (COORDS coords) |
| void | swap (self &t) |
Friends | |
| class | cell_type |
| class | detail::cell_proxy_base<CellData> |
|
||||||||||||||||
|
Adds a painter of type Painter which can be accessed through key.
|
|
||||||||||||
|
Adds a painter of type Painter which can be accessed through key.
|
|
|
Adds a painter which can be accessed through key
|
|
||||||||||||
|
Adds a copy of painter which can be accessed through key
|
|
|
Clones a layout_painter.
Implements painter_base. |
|
|
Returns the number of columns.
|
|
|
Sets the width of a column . The column is only a factor. You have to provide a default width which you will multiply by this factor |
|
||||||||||||
|
Sets the width of a column . The column is only a factor. You have to provide a default width which you will multiply by this factor |
|
|
Returns the default cell data.
|
|
|
Deletes all painters.
|
|
|
Deletes the painter with the passed key
|
|
||||||||||||
|
Changes the dimension of the table.
|
|
|
Returns the keys of all the painters.
|
|
|
Returns the painter with the passed key . The painter will be automatically cast to the passed type Painter
|
|
|
Inserts a column . The column will be inserted before the passed value |
|
|
Inserts a row . The row will be inserted before the passed value |
|
|
Returns the margins.
|
|
||||||||||||||||
|
Sets the margins.
|
|
|
Merges a range of cells together.
|
|
|
Allows access to a cell_data by t[col_idx][row_idx].
|
|
|
Allows access to a cell_data by t[col_idx][row_idx].
|
|
|
Removes a column.
|
|
|
Removes a row.
|
|
|
Returns the number of rows.
|
|
|
Returns the height of a row . The height is only a factor. You have to provide a default height which you will multiply by this factor |
|
||||||||||||
|
Sets the height of a row . The height is only a factor. You have to provide a default height which you will multiply by this factor |
|
|
Swaps a table.
|
|
|
Unmerges the cell at the passed coordinates.
|
|
|
Unmerges cells in a range.
|
|
by Steven Weiss. You can contact me at steven11@gmx.de. |