SDL/src/events
Sam Lantinga 2ba76dbe80 Simplified SDL_Surface
SDL_Surface has been simplified and internal details are no longer in the public structure.

The `format` member of SDL_Surface is now an enumerated pixel format value. You can get the full details of the pixel format by calling `SDL_GetPixelFormatDetails(surface->format)`. You can get the palette associated with the surface by calling SDL_GetSurfacePalette(). You can get the clip rectangle by calling SDL_GetSurfaceClipRect().

SDL_PixelFormat has been renamed SDL_PixelFormatDetails and just describes the pixel format, it does not include a palette for indexed pixel types.

SDL_PixelFormatEnum has been renamed SDL_PixelFormat and is used instead of Uint32 for API functions that refer to pixel format by enumerated value.

SDL_MapRGB(), SDL_MapRGBA(), SDL_GetRGB(), and SDL_GetRGBA() take an optional palette parameter for indexed color lookups.
2024-07-10 00:48:18 -07:00
..
blank_cursor.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
default_cursor.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
imKStoUCS.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
imKStoUCS.h Remove stray  2023-09-20 08:32:53 -07:00
scancodes_darwin.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
scancodes_linux.h Updated SDL3 scancode list 2024-06-21 22:06:08 -07:00
scancodes_windows.h Updated SDL3 scancode list 2024-06-21 22:06:08 -07:00
scancodes_xfree86.h Updated SDL3 scancode list 2024-06-21 22:06:08 -07:00
SDL_clipboardevents.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_clipboardevents_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_displayevents.c Fixed unclipping the mouse when a monitor is placed left of the primary one on Windows. 2024-04-24 12:06:00 -07:00
SDL_displayevents_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_dropevents.c Added SDL_AllocateEventString() 2024-06-21 22:06:08 -07:00
SDL_dropevents_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_events.c Do a final pass freeing temporary memory when we quit. 2024-07-03 18:47:15 -07:00
SDL_events_c.h Do a final pass freeing temporary memory when we quit. 2024-07-03 18:47:15 -07:00
SDL_keyboard.c Fixed the French numeric keycode from varying based on shift state 2024-07-03 10:33:08 -07:00
SDL_keyboard_c.h The keycode in key events is the base, unmodified, keycode for the current keyboard layout 2024-07-01 13:56:49 -07:00
SDL_keymap.c Restore default behavior for keypad keycodes 2024-07-02 18:34:35 -07:00
SDL_keymap_c.h Added the ability to query the keymap for keycodes based on modifier state 2024-06-21 22:06:08 -07:00
SDL_keysym_to_scancode.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_keysym_to_scancode_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_mouse.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
SDL_mouse_c.h Add SDL_HINT_MOUSE_RELATIVE_CLIP_INTERVAL (#10085) 2024-06-23 00:09:59 -07:00
SDL_pen.c Fix mouse button not changing in pen mouse emulation 2024-06-28 11:27:35 -04:00
SDL_pen_c.h Cleaned up various type conversion issues 2024-03-07 06:58:43 -08:00
SDL_quit.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_scancode_tables.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_scancode_tables_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_touch.c Introduce formal policy for APIs that return strings. 2024-06-03 14:20:49 -04:00
SDL_touch_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
SDL_windowevents.c Fixed multi-window test programs not quitting when windows are closed 2024-06-25 10:17:52 -07:00
SDL_windowevents_c.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00