]> Dogcows Code - chaz/openbox/blob - openbox/misc.h
save the new glist!
[chaz/openbox] / openbox / misc.h
1 #ifndef __ob__misc_h
2 #define __ob__misc_h
3
4 typedef enum
5 {
6 OB_CURSOR_NONE,
7 OB_CURSOR_POINTER,
8 OB_CURSOR_BUSY,
9 OB_CURSOR_MOVE,
10 OB_CURSOR_NORTH,
11 OB_CURSOR_NORTHEAST,
12 OB_CURSOR_EAST,
13 OB_CURSOR_SOUTHEAST,
14 OB_CURSOR_SOUTH,
15 OB_CURSOR_SOUTHWEST,
16 OB_CURSOR_WEST,
17 OB_CURSOR_NORTHWEST,
18 OB_NUM_CURSORS
19 } ObCursor;
20
21 typedef enum
22 {
23 OB_KEY_RETURN,
24 OB_KEY_ESCAPE,
25 OB_KEY_LEFT,
26 OB_KEY_RIGHT,
27 OB_KEY_UP,
28 OB_KEY_DOWN,
29 OB_NUM_KEYS
30 } ObKey;
31
32 typedef enum
33 {
34 OB_STATE_STARTING,
35 OB_STATE_RUNNING,
36 OB_STATE_EXITING
37 } ObState;
38
39 typedef enum
40 {
41 OB_DIRECTION_NORTH,
42 OB_DIRECTION_NORTHEAST,
43 OB_DIRECTION_EAST,
44 OB_DIRECTION_SOUTHEAST,
45 OB_DIRECTION_SOUTH,
46 OB_DIRECTION_SOUTHWEST,
47 OB_DIRECTION_WEST,
48 OB_DIRECTION_NORTHWEST
49 } ObDirection;
50
51 typedef enum
52 {
53 OB_ORIENTATION_HORZ,
54 OB_ORIENTATION_VERT
55 } ObOrientation;
56
57 typedef enum
58 {
59 OB_CORNER_TOPLEFT,
60 OB_CORNER_TOPRIGHT,
61 OB_CORNER_BOTTOMLEFT,
62 OB_CORNER_BOTTOMRIGHT
63 } ObCorner;
64
65 typedef enum {
66 OB_MOUSE_ACTION_PRESS,
67 OB_MOUSE_ACTION_RELEASE,
68 OB_MOUSE_ACTION_CLICK,
69 OB_MOUSE_ACTION_DOUBLE_CLICK,
70 OB_MOUSE_ACTION_MOTION,
71 OB_NUM_MOUSE_ACTIONS
72 } ObMouseAction;
73
74 typedef enum {
75 OB_USER_ACTION_KEYBOARD_KEY,
76 OB_USER_ACTION_MOUSE_PRESS,
77 OB_USER_ACTION_MOUSE_RELEASE,
78 OB_USER_ACTION_MOUSE_CLICK,
79 OB_USER_ACTION_MOUSE_DOUBLE_CLICK,
80 OB_USER_ACTION_MOUSE_MOTION,
81 OB_USER_ACTION_MENU_SELECTION,
82 OB_NUM_USER_ACTIONS
83 } ObUserAction;
84
85 #endif
This page took 0.039655 seconds and 4 git commands to generate.