Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csGridCell Class Reference

The following class collects properties for drawing the cell and acts as a container for the csComponent (i.e. More...

#include <csgrid.h>

Inheritance diagram for csGridCell:

csComponent List of all members.

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.


Detailed Description

The following class collects properties for drawing the cell and acts as a container for the csComponent (i.e.

the thing that lives inside the cell)


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000