wmclockmon: update change-log
[dockapps.git] / wmisdn / regions.h
blobc2fb75075bdbdfd2edf5bd2d7f449d8f48335d74
2 #ifndef _REGIONS_H
3 #define _REGIONS_H
5 #include <X11/X.h>
7 void region_init( Display *dpy );
9 void region_add( Window win, int id, int x, int y, int w, int h,
10 void (*mouse_in)(int), void (*mouse_out)(int), void (*mouse_click)(int, unsigned int) );
12 void region_enable( Window win, int id );
13 void region_disable( Window win, int id );
14 bool region_in( Window win, int x, int y );
15 void region_mouse_motion( Window win, int x, int y );
16 void region_mouse_click( Window win, int x, int y, unsigned int button );
18 #endif