Lines Matching refs:button
324 emouse.button = motion_button;
371 emouse.button = 0;
374 if (mb->button & (1 << (SDL_BUTTON_LEFT - 1)))
376 emouse.button |= RTGUI_MOUSE_BUTTON_LEFT;
378 else if (mb->button & (1 << (SDL_BUTTON_RIGHT - 1)))
380 emouse.button |= RTGUI_MOUSE_BUTTON_RIGHT;
382 else if (mb->button & (1 << (SDL_BUTTON_MIDDLE - 1)))
384 emouse.button |= RTGUI_MOUSE_BUTTON_MIDDLE;
389 emouse.button |= RTGUI_MOUSE_BUTTON_DOWN;
390 motion_button = emouse.button;
406 emouse.button |= RTGUI_MOUSE_BUTTON_UP;