Logo Search packages:      
Sourcecode: zita-at1 version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Attributes

PushButton Class Reference

Inheritance diagram for PushButton:
Inheritance graph
Collaboration diagram for PushButton:
Collaboration graph

List of all members.

Public Types

enum  { NOP = 100, PRESS, RELSE }

Public Member Functions

int cbind (void)
 PushButton (X_window *parent, X_callback *cbobj, ButtonImg *image, int xp, int yp, int cbind=0)
virtual void set_state (int s)
int state (void)

Static Public Member Functions

static void fini (void)
static void init (X_display *disp)

Protected Member Functions

void callback (int k)
void render (void)

Protected Attributes

int _cbind
X_callback * _cbobj
int _state

Private Member Functions

void bpress (XButtonEvent *E)
void brelse (XButtonEvent *E)
void handle_event (XEvent *E)
virtual int handle_press (void)=0
virtual int handle_relse (void)=0

Static Private Attributes

static int _button = 0
static int _keymod = 0

Detailed Description

Definition at line 45 of file button.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index