add actions for key/mouse bindings etc
[mikachu/openbox.git] / openbox / action.h
1 #ifndef __action_h
2 #define __action_h
3
4 #include "client.h"
5
6 typedef enum {
7     Action_Execute,
8     Action_Iconify,
9     Action_Raise,
10     Action_Lower,
11     Action_Close,
12     Action_Shade,
13     Action_Unshade,
14     Action_ToggleShade,
15     Action_ToggleOmnipresent,
16     Action_MoveRelative,
17     Action_ResizeRelative,
18     Action_MaximizeFull,
19     Action_UnmaximizeFull,
20     Action_ToggleMaximizeFull,
21     Action_MaximizeHorz,
22     Action_UnmaximizeHorz,
23     Action_ToggleMaximizeHorz,
24     Action_MaximizeVert,
25     Action_UnmaximizeVert,
26     Action_ToggleMaximizeVert,
27     Action_SendToDesktop,
28     Action_SendToNextDesktop,
29     Action_SendToPreviousDesktop,
30     Action_Desktop,
31     Action_NextDesktop,
32     Action_PreviousDesktop,
33     Action_NextDesktopColumn,
34     Action_PreviousDesktopColumn,
35     Action_NextDesktopRow,
36     Action_PreviousDesktopRow,
37     Action_ToggleDecorations
38 } Action;
39
40 void action_execute(char *path);
41 void action_iconify(Client *c);
42 void action_raise(Client *c);
43 void action_lower(Client *c);
44 void action_close(Client *c);
45 void action_shade(Client *c);
46 void action_unshade(Client *c);
47 void action_toggle_shade(Client *c);
48 void action_toggle_omnipresent(Client *c);
49 void action_move_relative(Client *c, int dx, int dy);
50 void action_resize_relative(Client *c, int dx, int dy);
51 void action_maximize_full(Client *c);
52 void action_unmaximize_full(Client *c);
53 void action_toggle_maximize_full(Client *c);
54 void action_maximize_horz(Client *c);
55 void action_unmaximize_horz(Client *c);
56 void action_toggle_maximize_horz(Client *c);
57 void action_maximize_vert(Client *c);
58 void action_unmaximize_vert(Client *c);
59 void action_toggle_maximize_vert(Client *c);
60 void action_send_to_desktop(Client *c, guint desktop);
61 void action_send_to_next_desktop(Client *c, gboolean wrap, gboolean follow);
62 void action_send_to_previous_desktop(Client *c, gboolean wrap,gboolean follow);
63 void action_desktop(guint desktop);
64 void action_next_desktop(gboolean wrap);
65 void action_previous_desktop(gboolean wrap);
66 void action_next_desktop_column(gboolean wrap);
67 void action_previous_desktop_column(gboolean wrap);
68 void action_next_desktop_row(gboolean wrap);
69 void action_previous_desktop_row(gboolean wrap);
70 void action_toggle_decorations(Client *c);
71
72 #endif