X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Flib%2Fsdl2%2Fsdlmouse.inc;h=439fe413114b4b0ad26d0aabe99c2de963570b0a;hb=ac201b02f10ef558087d50f6b03b4519ab567558;hp=994b52c60271a31fdf6d2c765b382d3a33234881;hpb=423556f23c02a18964bd2c1e125516c0c902ca46;p=d2df-sdl.git diff --git a/src/lib/sdl2/sdlmouse.inc b/src/lib/sdl2/sdlmouse.inc index 994b52c..439fe41 100644 --- a/src/lib/sdl2/sdlmouse.inc +++ b/src/lib/sdl2/sdlmouse.inc @@ -37,7 +37,7 @@ type {** * Retrieve the current state of the mouse. - * + * * The current button state is returned as a button bitmask, which can * be tested using the SDL_BUTTON(X) macros, and x and y are set to the * mouse cursor position relative to the focus window for the currently @@ -83,7 +83,7 @@ type * will not change. * * This function will flush any pending mouse motion. - * + * * SDL_GetRelativeMouseMode() *} @@ -91,7 +91,7 @@ type {** * Query whether relative mouse mode is enabled. - * + * * SDL_SetRelativeMouseMode() *} @@ -109,10 +109,10 @@ type * 0 1 White * 1 1 Black * 0 0 Transparent - * 1 0 Inverted color if possible, black + * 1 0 Inverted color if possible, black * if not. * - * + * * SDL_FreeCursor() *} @@ -159,7 +159,7 @@ type * * toggle 1 to show the cursor, 0 to hide it, -1 to query the current * state. - * + * * 1 if the cursor is shown, or 0 if the cursor is hidden. *} @@ -175,11 +175,11 @@ const * - Button 3: Right mouse button *} - SDL_BUTTON_LEFT = 1; - SDL_BUTTON_MIDDLE = 2; - SDL_BUTTON_RIGHT = 3; - SDL_BUTTON_X1 = 4; - SDL_BUTTON_X2 = 5; + SDL_BUTTON_LEFT = 1; + SDL_BUTTON_MIDDLE = 2; + SDL_BUTTON_RIGHT = 3; + SDL_BUTTON_X1 = 4; + SDL_BUTTON_X2 = 5; SDL_BUTTON_LMASK = 1 shl ((SDL_BUTTON_LEFT) - 1); SDL_BUTTON_MMASK = 1 shl ((SDL_BUTTON_MIDDLE) - 1); SDL_BUTTON_RMASK = 1 shl ((SDL_BUTTON_RIGHT) - 1);