CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csgrid.h File Reference

Crystal Space Windowing System: grid class. More...

#include "csextern.h"
#include "csws/csscrbar.h"
#include "csutil/array.h"
#include "csutil/parray.h"
#include "csutil/csstring.h"

Go to the source code of this file.

Classes

class  csSparseGrid
 If cells are populated with data or components, we need to store this somewhere and thats what the SparseGrid is for. 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  csGrid
 This is the grid object itself. 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...


Detailed Description

Crystal Space Windowing System: grid class.

Definition in file csgrid.h.


Generated for Crystal Space by doxygen 1.3.9.1