32 #ifndef __MLV__MLV_MOUSE_H__
33 #define __MLV__MLV_MOUSE_H__
38 #include "memory_debug.h"
41 #include "MLV_device_with_buttons.h"
52 MLV_BUTTON_LEFT = SDL_BUTTON_LEFT,
53 MLV_BUTTON_MIDDLE = SDL_BUTTON_MIDDLE,
54 MLV_BUTTON_RIGHT = SDL_BUTTON_RIGHT
68 void MLV_wait_mouse(
int *x,
int *y);
85 int MLV_wait_mouse_or_seconds(
int *x,
int *y,
int seconds);
95 const char* MLV_convert_mouse_button_to_string( MLV_Mouse_button button_code );
103 MLV_Mouse_button MLV_convert_string_to_mouse_button(
const char* button_string );
112 void MLV_get_mouse_position(
int* x,
int* y );
121 MLV_Button_state MLV_get_mouse_button_state( MLV_Mouse_button mouse_button );