projects
/
mikachu
/
openbox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add a NONE cursor, to not change the cursor at all
[mikachu/openbox.git]
/
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
#endif