SDL/include
Sam Lantinga 98bac00dcc Add `SDL_GetPointDisplayIndex` and `SDL_GetRectDisplayIndex` and re-implement `SDL_GetWindowDisplayIndex` in terms of `SDL_GetRectDisplayIndex`
- This allows looking up the display index for an arbitrary location rather than requiring an active window to do so.

- This change also reimplements the fallback display lookup that found the display with center closest to the window's center to instead find the display rect edge
  closest to the window center (this was done in the almost identical display lookup used in SDL_windowsmodes.c, which now uses `SDL_GetPointDisplayIndex`). In
  practice this should almost never be hit as it requires the window's center to not be enclosed by any display rect.
2022-08-08 11:26:52 -07:00
..
SDL.h Add SDL_guid.h to the global SDL header 2022-07-25 19:53:04 -07:00
SDL_assert.h Check if GNC is defined before checking its value to solve warns in msvc 2022-07-03 00:56:09 -07:00
SDL_atomic.h Proposing exposing as public api the various arch dependent 2022-08-04 08:47:39 -07:00
SDL_audio.h audio: Headers said 5 channel is quad+center, but it's 4.1. 2022-07-20 18:41:53 -04:00
SDL_bits.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_blendmode.h direct3d: Implement missing blend operations. 2022-03-27 09:14:07 -04:00
SDL_clipboard.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_config.h Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
SDL_config.h.cmake Finish dummy driver 2022-08-02 11:40:31 -07:00
SDL_config.h.in check for shellscalingapi.h presence instead of WINVER >= 0x0603 2022-06-18 13:00:44 -07:00
SDL_config_android.h add SDL_bsearch 2022-04-26 04:03:25 +03:00
SDL_config_emscripten.h add SDL_bsearch 2022-04-26 04:03:25 +03:00
SDL_config_iphoneos.h add SDL_bsearch 2022-04-26 04:03:25 +03:00
SDL_config_macosx.h Remove unused SDL_ASSEMBLY_ROUTINES define 2022-05-12 14:37:00 +03:00
SDL_config_minimal.h cmake: freebsd: Fix -Wformat warning during tests build 2022-06-18 07:37:57 -07:00
SDL_config_ngage.h N-Gage port: add changes from code reviews, overall cleanup (#5618) 2022-05-11 09:31:34 -07:00
SDL_config_os2.h Use SDLCALL for callbacks in public APIs 2022-05-18 15:01:27 -07:00
SDL_config_pandora.h add SDL_bsearch 2022-04-26 04:03:25 +03:00
SDL_config_windows.h check for shellscalingapi.h presence instead of WINVER >= 0x0603 2022-06-18 13:00:44 -07:00
SDL_config_wingdk.h Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
SDL_config_winrt.h DirectX 12 Renderer (#5761) 2022-06-06 17:42:30 -07:00
SDL_config_xbox.h Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
SDL_copying.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_cpuinfo.h Sync SDL wiki -> header 2022-07-29 13:24:05 +00:00
SDL_egl.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_endian.h Applied DragonFly BSD patch 2022-07-30 16:32:21 -07:00
SDL_error.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_events.h Add joystick battery event 2022-04-25 15:46:17 -07:00
SDL_filesystem.h Fixed typo in description 2022-07-11 08:44:49 -07:00
SDL_gamecontroller.h Added SDL_GameControllerType enumeration for Nintendo Switch Joy-Con controllers 2022-08-08 08:22:20 -07:00
SDL_gesture.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_guid.h Sync wiki -> header 2022-06-05 00:24:04 +00:00
SDL_haptic.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hidapi.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.h Added the hint SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED to control whether the player LED is set on Nintendo Switch controllers 2022-08-06 10:34:19 -07:00
SDL_joystick.h Refactoring: move GUID operations out of Joystick 2022-06-04 17:22:13 -07:00
SDL_keyboard.h Exposed SDL_ResetKeyboard() as a public function 2022-07-11 09:49:00 -07:00
SDL_keycode.h Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL 2022-05-10 16:12:10 -07:00
SDL_loadso.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_locale.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_log.h Document that SDL_MAX_LOG_MESSAGE is no longer meaningful 2022-04-29 11:28:59 -07:00
SDL_main.h Add a way to avoid IOP reset 2022-08-08 08:32:38 -07:00
SDL_messagebox.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_metal.h Sync wiki -> header 2022-03-27 16:49:05 +00:00
SDL_misc.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_mouse.h Sync SDL wiki -> header 2022-08-06 13:25:12 +00:00
SDL_mutex.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_name.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_opengl.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_opengl_glext.h Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
SDL_opengles.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_opengles2.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_opengles2_gl2.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2ext.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_gl2platform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_opengles2_khrplatform.h Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
SDL_pixels.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_platform.h Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
SDL_power.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_quit.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_rect.h Avoid unintended float -> double conversion in SDL_FRectEqualsEpsilon 2022-05-19 11:47:03 -07:00
SDL_render.h Sync SDL wiki -> header 2022-07-04 23:57:05 +00:00
SDL_revision.h The revision defaults to the empty string 2021-02-12 08:54:08 -08:00
SDL_revision.h.cmake cmake: Retrieve the git revision on platforms without bash 2021-09-09 22:34:42 -04:00
SDL_rwops.h Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
SDL_scancode.h Add SDL_SCANCODE_CALL and SDL_SCANCODE_ENDCALL 2022-05-10 16:12:10 -07:00
SDL_sensor.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_shape.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_stdinc.h Removed the limit on the size of the SDL error message 2022-06-27 16:59:50 -07:00
SDL_surface.h SDL_Surface: don't implicitly declare struct SDL_BlitMap. 2022-06-20 18:31:39 -04:00
SDL_system.h Sync SDL wiki -> header 2022-06-27 17:20:12 +00:00
SDL_syswm.h wayland: Add support for TOOLTIP/POPUP_MENU 2022-04-18 12:31:02 -04:00
SDL_test.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_assert.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_common.h Added a command line option `--info event_motion` to show mouse and finger motion events 2022-07-29 20:37:38 -07:00
SDL_test_compare.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_crc32.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_font.h Removed comment text that looks like doxygen commands 2022-07-01 14:04:07 -07:00
SDL_test_fuzzer.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_harness.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_images.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_log.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_md5.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_memory.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_test_random.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_thread.h Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
SDL_timer.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_touch.h Sync wiki -> header 2022-02-08 10:37:04 +00:00
SDL_types.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_version.h Updated to version 2.23.1 for pre-release checkpoint 2022-06-16 12:50:19 -07:00
SDL_video.h Add `SDL_GetPointDisplayIndex` and `SDL_GetRectDisplayIndex` and re-implement `SDL_GetWindowDisplayIndex` in terms of `SDL_GetRectDisplayIndex` 2022-08-08 11:26:52 -07:00
SDL_vulkan.h Sync wiki -> header 2021-10-27 01:36:05 +00:00
begin_code.h Check if GNC is defined before checking its value to solve warns in msvc 2022-07-03 00:56:09 -07:00
close_code.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00