Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csCheckBox Class Reference

The csCheckBox class is a close child of csButton class. More...

#include <cschkbox.h>

Inheritance diagram for csCheckBox:

csButton csComponent List of all members.

Public Methods

 csCheckBox (csComponent *iParent, int iButtonID, int iButtonStyle=CSBS_DEFAULTCHECKBOX)
 Create a checkbox object.

virtual bool HandleEvent (iEvent &Event)
 Handle external events.


Protected Methods

virtual void Press ()
 Emulate a button press (generate command).

void SetButtBitmap (char *id_n, char *id_p)
 Change bitmaps used for displaying normal/pressed states.

void SetCheckBoxState (csCheckBoxState iNewState)
 Set checkbox state.


Detailed Description

The csCheckBox class is a close child of csButton class.

The check boxes contains a fixed bitmap which changes depending on checkbox state and no text.


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