1 #ifndef XLIB_SCREEN_GRAB_H 2 #define XLIB_SCREEN_GRAB_H 3 4 #include <stdbool.h> 5 6 typedef struct { 7 int dn_x, dn_y; 8 int up_x, up_y; 9 } GRAB_POS; 10 11 void grab_dn(int x, int y); 12 13 void grab_up(int x, int y); 14 15 GRAB_POS grab_pos(void); 16 17 void native_screen_grab_desktop(bool video); 18 19 #endif 20