CrystalSpace

Public API Reference

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

csCheckBox Class Reference
[Check box]

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

#include <csws/cschkbox.h>

Inheritance diagram for csCheckBox:

csButton csComponent List of all members.

Public Member Functions

 csCheckBox (csComponent *iParent, int iButtonID, int iButtonStyle=CSBS_DEFAULTCHECKBOX)
 Create a checkbox object.
virtual bool HandleEvent (iEvent &Event)
 Handle external events.

Protected Member Functions

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.

Definition at line 94 of file cschkbox.h.


Constructor & Destructor Documentation

csCheckBox::csCheckBox csComponent iParent,
int  iButtonID,
int  iButtonStyle = CSBS_DEFAULTCHECKBOX
 

Create a checkbox object.


Member Function Documentation

virtual bool csCheckBox::HandleEvent iEvent Event  )  [virtual]
 

Handle external events.

Reimplemented from csButton.

virtual void csCheckBox::Press  )  [protected, virtual]
 

Emulate a button press (generate command).

Reimplemented from csButton.

void csCheckBox::SetButtBitmap char *  id_n,
char *  id_p
[protected]
 

Change bitmaps used for displaying normal/pressed states.

void csCheckBox::SetCheckBoxState csCheckBoxState  iNewState  )  [protected]
 

Set checkbox state.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1