Fix ExplainWindowPlacement when using "NoUSPosition" style.
[fvwm.git] / fvwm / cursor.h
blob3c02e3ed45efcf05aa925fa929e7bab59d496d35
1 /* -*-c-*- */
3 #ifndef CURSOR_H
4 #define CURSOR_H
6 /* ---------------------------- included header files ---------------------- */
8 /* ---------------------------- global definitions ------------------------- */
10 /* ---------------------------- global macros ------------------------------ */
12 /* ---------------------------- type definitions --------------------------- */
14 /* Cursor types */
15 typedef enum
17 CRS_NONE = 0,
18 CRS_POSITION, /* upper Left corner cursor */
19 CRS_TITLE, /* title-bar cursor */
20 CRS_DEFAULT, /* cursor for apps to inherit */
21 CRS_SYS, /* sys-menu and iconify boxes cursor */
22 CRS_MOVE, /* move cursor */
23 CRS_RESIZE, /* resize cursor */
24 CRS_WAIT, /* wait a while cursor */
25 CRS_MENU, /* menu cursor */
26 CRS_SELECT, /* dot cursor for selecting windows */
27 CRS_DESTROY, /* skull and cross bones */
28 CRS_TOP,
29 CRS_RIGHT,
30 CRS_BOTTOM,
31 CRS_LEFT,
32 CRS_TOP_LEFT,
33 CRS_TOP_RIGHT,
34 CRS_BOTTOM_LEFT,
35 CRS_BOTTOM_RIGHT,
36 CRS_TOP_EDGE,
37 CRS_RIGHT_EDGE,
38 CRS_BOTTOM_EDGE,
39 CRS_LEFT_EDGE,
40 CRS_ROOT,
41 CRS_STROKE,
42 CRS_MAX
43 } cursor_t;
45 typedef enum
47 /* busy cursor bits */
48 BUSY_NONE = 0,
49 BUSY_READ = (1<<0),
50 BUSY_WAIT = (1<<1),
51 BUSY_MODULESYNCHRONOUS = (1<<2),
52 BUSY_DYNAMICMENU = (1<<3),
53 BUSY_ALL = (BUSY_READ|BUSY_WAIT|BUSY_MODULESYNCHRONOUS|BUSY_DYNAMICMENU)
54 } busy_cursor_t;
56 /* ---------------------------- forward declarations ----------------------- */
58 /* ---------------------------- exported variables (globals) --------------- */
60 /* ---------------------------- interface functions ------------------------ */
62 Cursor *CreateCursors(Display *dpy);
64 #endif /* CURSOR_H */