#include <csgrid.h>
Inheritance diagram for csGridCell:
Public Methods | |
csGridCell () | |
Create a grid cell with default parameters. | |
virtual void | Draw () |
Draw the cell. | |
bool | IsUsed () |
Query if this cell is used. | |
void | SetUsed (bool iState=true) |
Set the in-use flag for this cell. | |
Public Attributes | |
csCellBorder | upper |
The styles for upper, lower, left and right borders. | |
csCellBorder | lower |
The styles for upper, lower, left and right borders. | |
csCellBorder | left |
The styles for upper, lower, left and right borders. | |
csCellBorder | right |
The styles for upper, lower, left and right borders. | |
int | row |
The row and column for this cell (set before calling Draw() by grid). | |
int | col |
The row and column for this cell (set before calling Draw() by grid). | |
csSome | data |
Data associated with this cell. | |
csString | valuePattern |
how content should be formated. | |
Protected Methods | |
void | DrawLine (int x1, int y1, int x2, int y2, csCellBorder &border) |
Draw a line with given border style. |
the thing that lives inside the cell)