1 /* 2 * pwm/cursor.h 3 * 4 * Copyright (c) Tuomo Valkonen 1999-2001. 5 * 6 * You may distribute and modify this program under the terms of either 7 * the Clarified Artistic License or the GNU GPL, version 2 or later. 8 */ 9 10 #ifndef INCLUDED_CURSOR_H 11 #define INCLUDED_CURSOR_H 12 13 #include <X11/Xlib.h> 14 #include <X11/cursorfont.h> 15 16 #define CURSOR_DEFAULT 0 17 #define CURSOR_RESIZE 1 18 #define CURSOR_MOVE 2 19 #define CURSOR_DRAG 3 20 #define N_CURSORS 4 21 22 extern void load_cursors(); 23 extern void change_grab_cursor(int cursor); 24 extern void set_cursor(Window win, int cursor); 25 extern Cursor x_cursor(int cursor); 26 27 #endif /* INCLUDED_CURSOR_H */ 28