Lines Matching refs:button
278 mouse_begin_x = event.button.x;279 mouse_begin_y = event.button.y;282 if (event.button.button == 3)283 add_line(mouse_begin_x, mouse_begin_y, event.button.x,284 event.button.y);285 if (event.button.button == 1)286 add_rect(mouse_begin_x, mouse_begin_y, event.button.x,287 event.button.y);