23 #ifndef _LAX_BUTTONDOWNINFO_H
24 #define _LAX_BUTTONDOWNINFO_H
27 #include <lax/anobject.h>
39 int initial_x, initial_y;
41 int current_x, current_y;
56 void down(
int device_id,
int button_id,
int x=0,
int y=0,
int i1=0,
int i2=0,anObject *e=NULL,
int absorb=0);
57 int move(
int device_id,
int x=0,
int y=0,
int *lastx=NULL,
int *lasty=NULL);
58 void moveinfo(
int device_id,
int button_id,
int i1,
int i2=0,
int *oldi1=NULL,
int *oldi2=NULL);
59 int up(
int device_id,
int button_id,
int *i1=NULL,
int *i2=NULL);
60 int any(
int device_id=0,
int button_id=0,
int *device=NULL);
61 int whichdown(
int afterthis,
int button_id=0);
62 int isdown(
int device_id,
int button_id,
int *i1=NULL,
int *i2=NULL);
63 int isdragged(
int device_id,
int button_id);
64 int average(
int button_id,
int *xavg,
int *yavg);
65 int getextrainfo(
int device_id,
int button_id,
int *i1=NULL,
int *i2=NULL);
66 int getinitial(
int device_id,
int button_id,
int *x0,
int *y0);
67 int getlast(
int device_id,
int button_id,
int *xp,
int *yp);
68 int getcurrent(
int device_id,
int button_id,
int *xp,
int *yp);
69 int getinfo(
int device_id,
int button_id,
int *x0,
int *y0,
int *xp,
int *yp,
int *xc,
int *yc,
70 int *i1=NULL,
int *i2=NULL);
71 anObject *
getextra(
int device_id,
int button_id);
72 int replaceextra(
int device_id,
int button_id,anObject *e,
int absorbcount);
Mon Feb 17 2014 11:52:56, Laxkit