Ryujinx-SDL/src/test
Ethan Lee 4b42c05ba1 video: Add SDL_SetWindowMouseRect.
This API and implementation comes from the Unreal Engine branch of SDL, which
originally called this "SDL_ConfineCursor".

Some minor cleanup and changes for consistency with the rest of SDL_video, but
there are two major changes:

1. The coordinate system has been changed so that `rect` is _window_ relative
   and not _screen_ relative, making it easier to implement without having
   global access to the display.
2. The UE version unset all rects when passing `NULL` as a parameter for
   `window`, this has been removed as it was an unused feature anyhow.

Currently this is only implemented for X, but can be supported on Wayland and
Windows at minimum too.
2021-11-08 14:16:54 -08:00
..
SDL_test_assert.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_common.c video: Add SDL_SetWindowMouseRect. 2021-11-08 14:16:54 -08:00
SDL_test_compare.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_crc32.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_font.c SDL_test_font.c: fix type of SDLTest_CharTextureCacheList 2021-11-07 08:42:09 -08:00
SDL_test_fuzzer.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_harness.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_imageBlit.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_imageBlitBlend.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_imageFace.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_imagePrimitives.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_imagePrimitivesBlend.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_log.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_md5.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_test_memory.c test: Fix building with libunwind under autotools 2021-10-25 11:28:20 -07:00
SDL_test_random.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00