Logo Search packages:      
Sourcecode: ebumeter 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
[legend]

List of all members.

Public Types

enum  { NOP = 100, PRESS, RELSE, DRAG }

Public Member Functions

int cbind (void)
 PushButton (X_window *parent, X_callback *cbobj, int cbind, XImage *image, int xp, int yp, int xs, int ys)
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
XImage * _image
int _state
int _xs
int _ys

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 29 of file button.h.


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

Generated by  Doxygen 1.6.0   Back to index