global_gpm 62 lib/widget/mouse.c init_mouse_event (mouse_event_t *event, mouse_msg_t msg, const Gpm_Event *global_gpm, global_gpm 66 lib/widget/mouse.c event->x = global_gpm->x - w->rect.x - 1; /* '-1' because Gpm_Event is 1-based. */ global_gpm 67 lib/widget/mouse.c event->y = global_gpm->y - w->rect.y - 1; global_gpm 68 lib/widget/mouse.c event->count = global_gpm->type & (GPM_SINGLE | GPM_DOUBLE | GPM_TRIPLE); global_gpm 69 lib/widget/mouse.c event->buttons = global_gpm->buttons;