note description: "This file has been generated by WrapC. Do not edit. Changes will be lost!" generator: "Eiffel Wrapper Generator" class SDL_MOUSE_FUNCTIONS_API create default_create feature -- Access sdl_get_relative_mouse_state (x: TYPED_POINTER [INTEGER_32]; y: TYPED_POINTER [INTEGER_32]): NATURAL_32 do Result := c_sdl_get_relative_mouse_state (x, y) ensure instance_free: class end sdl_warp_mouse_in_window (window: SDL_WINDOW_STRUCT_API; x: INTEGER_32; y: INTEGER_32) do c_sdl_warp_mouse_in_window (window.item, x, y) ensure instance_free: class end sdl_set_relative_mouse_mode (enabled: INTEGER_32): INTEGER_32 do Result := c_sdl_set_relative_mouse_mode (enabled) ensure instance_free: class end feature -- Externals c_sdl_get_relative_mouse_state (x: TYPED_POINTER [INTEGER_32]; y: TYPED_POINTER [INTEGER_32]): NATURAL_32 external "C inline use <SDL.h>" alias "[ return SDL_GetRelativeMouseState ((int*)$x, (int*)$y); ]" end c_sdl_warp_mouse_in_window (window: POINTER; x: INTEGER_32; y: INTEGER_32) external "C inline use <SDL.h>" alias "[ SDL_WarpMouseInWindow ((SDL_Window*)$window, (int)$x, (int)$y); ]" end c_sdl_set_relative_mouse_mode (enabled: INTEGER_32): INTEGER_32 external "C inline use <SDL.h>" alias "[ return SDL_SetRelativeMouseMode ((SDL_bool)$enabled); ]" end end -- class SDL_MOUSE_FUNCTIONS_API
Generated by ISE EiffelStudio