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

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

RotaryCtl Class Reference

Inheritance diagram for RotaryCtl:
Inheritance graph
Collaboration diagram for RotaryCtl:
Collaboration graph

List of all members.

Public Types

enum  { NOP = 200, PRESS, RELSE, DELTA }

Public Member Functions

int cbind (void)
virtual void get_string (char *p, int n)
 RotaryCtl (X_window *parent, X_callback *cbobj, RotaryImg *image, int xp, int yp, int cbind=0)
virtual void set_state (int s)
virtual void set_value (double v)=0
int state (void)
double value (void)

Static Public Member Functions

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

Static Public Attributes

static int _wb_dn = 5
static int _wb_up = 4

Protected Member Functions

void callback (int k)
void render (void)

Protected Attributes

double _angle
int _cbind
X_callback * _cbobj
int _count
int _range
int _state
double _value

Static Protected Attributes

static int _button = 0
static int _keymod = 0
static int _rcount = 0
static int _rx = 0
static int _ry = 0

Private Member Functions

void bpress (XButtonEvent *E)
void brelse (XButtonEvent *E)
virtual int handle_button (void)=0
void handle_event (XEvent *E)
virtual int handle_motion (int dx, int dy)=0
virtual int handle_mwheel (int dw)=0
void motion (XMotionEvent *E)

Static Private Attributes

static cairo_surface_t * _cairosurf = 0
static cairo_t * _cairotype = 0

Detailed Description

Definition at line 49 of file rotary.h.

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

Generated by  Doxygen 1.6.0   Back to index