2003-03-19 04:16:19 +00:00
|
|
|
#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;
|
2003-05-09 16:57:17 +00:00
|
|
|
GSList *actions[NUM_MOUSEACTION]; /* lists of Action pointers */
|
2003-03-19 04:16:19 +00:00
|
|
|
} MouseBinding;
|
|
|
|
|
2003-03-26 04:25:41 +00:00
|
|
|
gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
|
|
|
|
Action *action);
|
|
|
|
|
2003-03-19 04:16:19 +00:00
|
|
|
#endif
|