Grid
[Components]
Compounds | |
| class | csGrid |
| This is the grid object itself. More... | |
| class | csGridCell |
| The following class collects properties for drawing the cell and acts as a container for the csComponent (i.e. More... | |
| class | csGridView |
| The GridView displays a continuous rectangular region of the grid. More... | |
| class | csSparseGrid |
| If cells are populated with data or components, we need to store this somewhere and thats what the SparseGrid is for. More... | |
GridView styles | |
| #define | CSGVS_HSCROLL 0x00000001 |
| View has a horizontal scrollbar. | |
| #define | CSGVS_VSCROLL 0x00000002 |
| View has a vertical scrollbar. | |
| #define | CSGVS_DEFAULTVALUE (CSGVS_HSCROLL | CSGVS_VSCROLL) |
| default value | |
Grid style flags | |
| The csGrid object accepts both CSGS_XXX and CSGVS_XXX styles; the CSGVS_XXX styles are passed to newly-created grid view components. | |
| #define | CSGS_HSPLIT 0x00000004 |
| Show a horizontal splitter handle. | |
| #define | CSGS_VSPLIT 0x00000008 |
| Splitter can be subdivided further (vertical). | |
| #define | CSGS_DEFAULTVALUE (CSGS_HSPLIT | CSGS_VSPLIT) |
| Default grid style. | |
| #define | CSGCS_NONE 1 |
| no cursor | |
| #define | CSGCS_CELL 2 |
| cell cursor | |
| #define | CSGCS_ROW 3 |
| row cursor | |
| #define | CSGCS_COLUMN 4 |
| column cursor | |
Defines | |
| #define | CSS_GRIDCELL_SELECTED 0x00010000 |
| Additional state flag used to mark selected cell. | |
Typedefs | |
| typedef bool(* | csRegionTreeFunc )(void *node, void *databag) |
| Functions of this type can be used when traversing the tree. | |
Enumerations | |
| enum | csGridCellBorderStyle { gcbsNone = 0, gcbsDash, gcbsDashPoint, gcbsDashPointPoint, gcbsDashDashPoint, gcbsLine } |
| The possible border styles for grid cells. More... | |
| enum | { cscmdGridCursorChanged = 0x00000F00 } |
| Grid messages. More... | |
:
We see the whole grid as a set of cells. Since it makes no sense to actually create an instance for every cell, we simply create an object that holds all properties for a rectangular region of cells that are all even.
Define Documentation
|
|
cell cursor
|
|
|
column cursor
|
|
|
no cursor
|
|
|
row cursor
|
|
|
Default grid style.
|
|
|
Show a horizontal splitter handle.
|
|
|
Splitter can be subdivided further (vertical).
|
|
|
default value
|
|
|
View has a horizontal scrollbar.
|
|
|
View has a vertical scrollbar.
|
|
|
Additional state flag used to mark selected cell.
|
Typedef Documentation
|
|
Functions of this type can be used when traversing the tree. return true if you want to dive deeper into tree, false otherwise. |
Enumeration Type Documentation
|
|
Grid messages.
|
|
Generated for Crystal Space by doxygen 1.2.18
