Lines Matching defs:cursor
99 // Creates an RGBA icon or cursor
181 "Win32: Failed to create cursor");
223 // Updates the cursor image according to its cursor mode
230 if (window->cursor)
231 SetCursor(window->cursor->win32.handle);
237 // NOTE: Via Remote Desktop, setting the cursor to NULL does not hide it.
239 // Desktop, this is a transparent cursor.
244 // Sets the cursor clip rect to the window content area
256 // Disabled clip cursor
290 // Apply disabled cursor mode to a focused window
306 // Exit disabled cursor mode for the specified window
321 // Returns whether the cursor is in the content area of the specified window
449 // HACK: When mouse trails are enabled the cursor becomes invisible when
562 // HACK: Postpone cursor disabling when the window was activated by
575 // HACK: Disable the cursor once the caption button action has been
594 // HACK: Do not disable cursor while the user is interacting with
998 // HACK: Enable the cursor while the user is moving or
1014 // HACK: Disable the cursor once the user is done moving or
1320 // NOTE: On Remote Desktop, setting the cursor to NULL does not hide it
1321 // HACK: Create a transparent cursor and always set that instead of NULL
1333 // just ignores the alpha channel and makes the whole cursor opaque
2174 // NOTE: Re-center the cursor only if it has moved since the last call,
2176 // The re-center is required in order to prevent the mouse cursor stopping at the edges of the screen.
2290 GLFWbool _glfwCreateCursorWin32(_GLFWcursor* cursor,
2294 cursor->win32.handle = (HCURSOR) createIcon(image, xhot, yhot, GLFW_FALSE);
2295 if (!cursor->win32.handle)
2301 GLFWbool _glfwCreateStandardCursorWin32(_GLFWcursor* cursor, int shape)
2338 _glfwInputError(GLFW_PLATFORM_ERROR, "Win32: Unknown standard cursor");
2342 cursor->win32.handle = LoadImageW(NULL,
2345 if (!cursor->win32.handle)
2348 "Win32: Failed to create standard cursor");
2355 void _glfwDestroyCursorWin32(_GLFWcursor* cursor)
2357 if (cursor->win32.handle)
2358 DestroyIcon((HICON) cursor->win32.handle);
2361 void _glfwSetCursorWin32(_GLFWwindow* window, _GLFWcursor* cursor)