]> Dogcows Code - chaz/openbox/blob - plugins/mouse/mouse.h
Keyboard navigatable menus
[chaz/openbox] / plugins / mouse / mouse.h
1 #ifndef __plugin_mouse_mouse_h
2 #define __plugin_mouse_mouse_h
3
4 #include "../../kernel/action.h"
5
6 typedef enum {
7 MouseAction_Press,
8 MouseAction_Release,
9 MouseAction_Click,
10 MouseAction_DClick,
11 MouseAction_Motion,
12 NUM_MOUSEACTION
13 } MouseAction;
14
15 typedef struct {
16 guint state;
17 guint button;
18 GSList *actions[NUM_MOUSEACTION]; /* lists of Action pointers */
19 } MouseBinding;
20
21 gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
22 Action *action);
23
24 #endif
This page took 0.034051 seconds and 4 git commands to generate.