dockapps/wmisdn/regions.h

19 lines
519 B
C
Raw Normal View History

#ifndef _REGIONS_H
#define _REGIONS_H
#include <X11/X.h>
void region_init( Display *dpy );
2018-01-08 13:28:15 +00:00
void region_add( Window win, int id, int x, int y, int w, int h,
void (*mouse_in)(int), void (*mouse_out)(int), void (*mouse_click)(int, unsigned int) );
void region_enable( Window win, int id );
void region_disable( Window win, int id );
bool region_in( Window win, int x, int y );
void region_mouse_motion( Window win, int x, int y );
void region_mouse_click( Window win, int x, int y, unsigned int button );
#endif