]> Dogcows Code - chaz/openbox/blob - openbox/misc.h
drop the startup notify timeout from 30 to 20 seconds
[chaz/openbox] / openbox / misc.h
1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
2
3 misc.h for the Openbox window manager
4 Copyright (c) 2003-2007 Dana Jansens
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 See the COPYING file for a copy of the GNU General Public License.
17 */
18
19 #ifndef __ob__misc_h
20 #define __ob__misc_h
21
22 typedef enum
23 {
24 OB_CURSOR_NONE,
25 OB_CURSOR_POINTER,
26 OB_CURSOR_BUSYPOINTER,
27 OB_CURSOR_BUSY,
28 OB_CURSOR_MOVE,
29 OB_CURSOR_NORTH,
30 OB_CURSOR_NORTHEAST,
31 OB_CURSOR_EAST,
32 OB_CURSOR_SOUTHEAST,
33 OB_CURSOR_SOUTH,
34 OB_CURSOR_SOUTHWEST,
35 OB_CURSOR_WEST,
36 OB_CURSOR_NORTHWEST,
37 OB_NUM_CURSORS
38 } ObCursor;
39
40 typedef enum
41 {
42 OB_KEY_RETURN,
43 OB_KEY_ESCAPE,
44 OB_KEY_LEFT,
45 OB_KEY_RIGHT,
46 OB_KEY_UP,
47 OB_KEY_DOWN,
48 OB_NUM_KEYS
49 } ObKey;
50
51 typedef enum
52 {
53 OB_STATE_STARTING,
54 OB_STATE_RUNNING,
55 OB_STATE_EXITING
56 } ObState;
57
58 typedef enum
59 {
60 OB_DIRECTION_NORTH,
61 OB_DIRECTION_NORTHEAST,
62 OB_DIRECTION_EAST,
63 OB_DIRECTION_SOUTHEAST,
64 OB_DIRECTION_SOUTH,
65 OB_DIRECTION_SOUTHWEST,
66 OB_DIRECTION_WEST,
67 OB_DIRECTION_NORTHWEST
68 } ObDirection;
69
70 typedef enum
71 {
72 OB_ORIENTATION_HORZ,
73 OB_ORIENTATION_VERT
74 } ObOrientation;
75
76 typedef enum
77 {
78 OB_CORNER_TOPLEFT,
79 OB_CORNER_TOPRIGHT,
80 OB_CORNER_BOTTOMLEFT,
81 OB_CORNER_BOTTOMRIGHT
82 } ObCorner;
83
84 typedef enum {
85 OB_MOUSE_ACTION_PRESS,
86 OB_MOUSE_ACTION_RELEASE,
87 OB_MOUSE_ACTION_CLICK,
88 OB_MOUSE_ACTION_DOUBLE_CLICK,
89 OB_MOUSE_ACTION_MOTION,
90 OB_NUM_MOUSE_ACTIONS
91 } ObMouseAction;
92
93 typedef enum {
94 OB_USER_ACTION_NONE, /* being fired from inside another action and such */
95 OB_USER_ACTION_KEYBOARD_KEY,
96 OB_USER_ACTION_MOUSE_PRESS,
97 OB_USER_ACTION_MOUSE_RELEASE,
98 OB_USER_ACTION_MOUSE_CLICK,
99 OB_USER_ACTION_MOUSE_DOUBLE_CLICK,
100 OB_USER_ACTION_MOUSE_MOTION,
101 OB_USER_ACTION_MENU_SELECTION,
102 OB_NUM_USER_ACTIONS
103 } ObUserAction;
104
105 #endif
This page took 0.036392 seconds and 4 git commands to generate.