a077cc8e4d
* Setting the same mouse cursor twice is a no-op * Cocoa: Call [NSCursor set] to change mouse cursor The previous way, changing the mouse cursor was handled by invalidating the mouse cursor rectangles and then recreating them (with the new cursor) the next event loop. This is extremely slow; sometimes it can take over a millisecond! With [NSCursor set] it happens instantly and very quick performance-wise. The downside is that it sets the cursor for the whole screen, so we have some guards in place to change it to the system cursor if the mouse moves outside the window or the window loses focus. * Cocoa: Remove unneeded resetCursorRects: function |
||
---|---|---|
.github | ||
android-project | ||
build-scripts | ||
cmake | ||
docs | ||
include | ||
mingw/pkg-support/cmake | ||
src | ||
test | ||
VisualC | ||
VisualC-GDK | ||
VisualC-WinRT | ||
wayland-protocols | ||
Xcode | ||
.clang-format | ||
.editorconfig | ||
.gitignore | ||
.wikiheaders-options | ||
Android.mk | ||
BUGS.txt | ||
CMakeLists.txt | ||
CREDITS.txt | ||
INSTALL.txt | ||
LICENSE.txt | ||
README-SDL.txt | ||
README.md | ||
TODO.txt | ||
WhatsNew.txt |
Simple DirectMedia Layer (SDL) Version 3.0
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)