make interactive actions a type and not special cases.
[mikachu/openbox.git] / openbox / misc.h
1 #ifndef __ob__misc_h
2 #define __ob__misc_h
3
4 typedef enum
5 {
6     OB_CURSOR_POINTER,
7     OB_CURSOR_BUSY,
8     OB_CURSOR_MOVE,
9     OB_CURSOR_NORTH,
10     OB_CURSOR_NORTHEAST,
11     OB_CURSOR_EAST,
12     OB_CURSOR_SOUTHEAST,
13     OB_CURSOR_SOUTH,
14     OB_CURSOR_SOUTHWEST,
15     OB_CURSOR_WEST,
16     OB_CURSOR_NORTHWEST,
17     OB_NUM_CURSORS
18 } ObCursor;
19
20 typedef enum
21 {
22     OB_KEY_RETURN,
23     OB_KEY_ESCAPE,
24     OB_KEY_LEFT,
25     OB_KEY_RIGHT,
26     OB_KEY_UP,
27     OB_KEY_DOWN,
28     OB_NUM_KEYS
29 } ObKey;
30
31 typedef enum
32 {
33     OB_STATE_STARTING,
34     OB_STATE_RUNNING,
35     OB_STATE_EXITING
36 } ObState;
37
38 typedef enum
39 {
40     OB_DIRECTION_NORTH,
41     OB_DIRECTION_NORTHEAST,
42     OB_DIRECTION_EAST,
43     OB_DIRECTION_SOUTHEAST,
44     OB_DIRECTION_SOUTH,
45     OB_DIRECTION_SOUTHWEST,
46     OB_DIRECTION_WEST,
47     OB_DIRECTION_NORTHWEST
48 } ObDirection;
49
50 typedef enum
51 {
52     OB_ORIENTATION_HORZ,
53     OB_ORIENTATION_VERT
54 } ObOrientation;
55
56 typedef enum
57 {
58     OB_CORNER_TOPLEFT,
59     OB_CORNER_TOPRIGHT,
60     OB_CORNER_BOTTOMLEFT,
61     OB_CORNER_BOTTOMRIGHT
62 } ObCorner;
63
64 #endif