openbox/plugins/mouse/mouse.h
2003-03-26 04:25:41 +00:00

24 lines
481 B
C

#ifndef __plugin_mouse_mouse_h
#define __plugin_mouse_mouse_h
#include "../../kernel/action.h"
typedef enum {
MouseAction_Press,
MouseAction_Release,
MouseAction_Click,
MouseAction_DClick,
MouseAction_Motion,
NUM_MOUSEACTION
} MouseAction;
typedef struct {
guint state;
guint button;
Action *action[NUM_MOUSEACTION];
} MouseBinding;
gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
Action *action);
#endif