SDL 2.0.7 Coverage - acdemiralp/di GitHub Wiki
SDL2
-
Basics
Initialization and Shutdown (SDL.h)Functions-
SDL_Init - SDL_InitSubSystem
-
SDL_Quit - SDL_QuitSubSystem
-
SDL_SetMainReady -
SDL_WasInit -
SDL_WinRTRunApp
-
- Error Handling (SDL_error.h)
- Functions
-
SDL_ClearError - SDL_GetError
-
SDL_SetError
-
- Functions
- Querying SDL Version (SDL_version.h)
- Structures
- SDL_version
- Functions
-
SDL_COMPILEDVERSION -
SDL_GetRevision -
SDL_GetRevisionNumber -
SDL_GetVersion -
SDL_REVISION - SDL_VERSION
-
SDL_VERSIONNUM -
SDL_VERSION_ATLEAST
-
- Structures
Memory AllocationFunctions-
SDL_GetMemoryFunctions -
SDL_GetNumAllocations -
SDL_SetMemoryFunctions
-
-
Video
- Display and Window Management (SDL_video.h)
- Enumerations
-
SDL_BlendMode - SDL_GLattr
- SDL_GLcontextFlag
- SDL_GLprofile
- SDL_HitTestResult
- SDL_MessageBoxButtonFlags
- SDL_MessageBoxColorType
- SDL_MessageBoxFlags
- SDL_WindowEventID
- SDL_WindowFlags
-
- Structures
- SDL_DisplayMode
- SDL_MessageBoxButtonData
- SDL_MessageBoxColor
- SDL_MessageBoxColorScheme
- SDL_MessageBoxData
- SDL_WindowEvent
- Functions
- SDL_CreateWindow
-
SDL_CreateWindowAndRenderer -
SDL_CreateWindowFrom - SDL_DestroyWindow
- SDL_DisableScreenSaver
- SDL_EnableScreenSaver
- SDL_GL_CreateContext
- SDL_GL_DeleteContext
-
SDL_GL_ExtensionSupported -
SDL_GL_GetAttribute - SDL_GL_GetCurrentContext
- SDL_GL_GetCurrentWindow
- SDL_GL_GetDrawableSize
-
SDL_GL_GetProcAddress - SDL_GL_GetSwapInterval
-
SDL_GL_LoadLibrary - SDL_GL_MakeCurrent
-
SDL_GL_ResetAttributes - SDL_GL_SetAttribute
- SDL_GL_SetSwapInterval
- SDL_GL_SwapWindow
-
SDL_GL_UnloadLibrary - SDL_GetClosestDisplayMode
- SDL_GetCurrentDisplayMode
- SDL_GetCurrentVideoDriver
- SDL_GetDesktopDisplayMode
- SDL_GetDisplayBounds
- SDL_GetDisplayDPI
- SDL_GetDisplayMode
- SDL_GetDisplayName
- SDL_GetDisplayUsableBounds
- SDL_GetGrabbedWindow
- SDL_GetNumDisplayModes
- SDL_GetNumVideoDisplays
- SDL_GetNumVideoDrivers
- SDL_GetVideoDriver
- SDL_GetWindowBordersSize
- SDL_GetWindowBrightness
-
SDL_GetWindowData - SDL_GetWindowDisplayIndex
- SDL_GetWindowDisplayMode
- SDL_GetWindowFlags
-
SDL_GetWindowFromID - SDL_GetWindowGammaRamp
- SDL_GetWindowGrab
-
SDL_GetWindowID - SDL_GetWindowMaximumSize
- SDL_GetWindowMinimumSize
- SDL_GetWindowOpacity
-
SDL_GetWindowPixelFormat - SDL_GetWindowPosition
- SDL_GetWindowSize
-
SDL_GetWindowSurface - SDL_GetWindowTitle
- SDL_GetWindowWMInfo
- SDL_HideWindow
- SDL_IsScreenSaverEnabled
- SDL_MaximizeWindow
- SDL_MinimizeWindow
- SDL_RaiseWindow
- SDL_RestoreWindow
- SDL_SetWindowBordered
- SDL_SetWindowBrightness
-
SDL_SetWindowData - SDL_SetWindowDisplayMode
- SDL_SetWindowFullscreen
- SDL_SetWindowGammaRamp
- SDL_SetWindowGrab
- SDL_SetWindowHitTest
- SDL_SetWindowIcon
- SDL_SetWindowInputFocus
- SDL_SetWindowMaximumSize
- SDL_SetWindowMinimumSize
- SDL_SetWindowModalFor
- SDL_SetWindowOpacity
- SDL_SetWindowPosition
- SDL_SetWindowResizable
- SDL_SetWindowSize
- SDL_SetWindowTitle
- SDL_ShowMessageBox
- SDL_ShowSimpleMessageBox
- SDL_ShowWindow
-
SDL_UpdateWindowSurface -
SDL_UpdateWindowSurfaceRects - SDL_VideoInit
- SDL_VideoQuit
- SDL_Vulkan_CreateSurface
- SDL_Vulkan_GetDrawableSize
-
SDL_Vulkan_GetInstanceExtensions -
SDL_Vulkan_GetVkGetInstanceProcAddr -
SDL_Vulkan_LoadLibrary -
SDL_Vulkan_UnloadLibrary
- Enumerations
- Pixel Formats and Conversion Routines (SDL_pixels.h)
Enumerations-
SDL_PixelFormatEnum
-
- Structures
- SDL_Color
-
SDL_Palette -
SDL_PixelFormat
Functions-
SDL_AllocFormat -
SDL_AllocPalette -
SDL_CalculateGammaRamp -
SDL_FreeFormat -
SDL_FreePalette -
SDL_GetPixelFormatName -
SDL_GetRGB -
SDL_GetRGBA -
SDL_MapRGB -
SDL_MapRGBA -
SDL_MasksToPixelFormatEnum -
SDL_PixelFormatEnumToMasks -
SDL_SetPaletteColors -
SDL_SetPixelFormatPalette
-
- Rectangle Functions (SDL_rect.h)
- Enumerations
- SDL_Point
- SDL_Rect
Functions-
SDL_EnclosePoints -
SDL_HasIntersection -
SDL_IntersectRect -
SDL_IntersectRectAndLine -
SDL_PointInRect -
SDL_RectEmpty -
SDL_RectEquals -
SDL_UnionRect
-
- Enumerations
- Platform-specific Window Management (SDL_syswm.h)
- Enumerations
- SDL_SYSWM_TYPE
- Structures
- SDL_SysWMinfo
-
SDL_SysWMmsg
- Functions
- SDL_GetWindowWMInfo
- Enumerations
- Clipboard Handling (SDL_clipboard.h)
- Functions
- SDL_GetClipboardText
- SDL_HasClipboardText
- SDL_SetClipboardText
- Functions
- Display and Window Management (SDL_video.h)
-
Input Events
- Event Handling (SDL_events.h)
- Enumerations
- SDL_EventType
- SDL_WindowEventID
- Structures
-
SDL_AudioDeviceEvent - SDL_ControllerAxisEvent
- SDL_ControllerButtonEvent
- SDL_ControllerDeviceEvent
- SDL_DollarGestureEvent
- SDL_DropEvent
- SDL_Event
- SDL_Finger
- SDL_JoyAxisEvent
- SDL_JoyBallEvent
- SDL_JoyButtonEvent
- SDL_JoyDeviceEvent
- SDL_JoyHatEvent
- SDL_KeyboardEvent
- SDL_MouseButtonEvent
- SDL_MouseMotionEvent
- SDL_MouseWheelEvent
- SDL_MultiGestureEvent
- SDL_QuitEvent
-
SDL_SysWMEvent - SDL_TextEditingEvent
- SDL_TextInputEvent
- SDL_TouchFingerEvent
-
SDL_UserEvent - SDL_WindowEvent
-
- Functions
-
SDL_AddEventWatch -
SDL_DelEventWatch -
SDL_EventState -
SDL_FilterEvents -
SDL_FlushEvent - SDL_FlushEvents
-
SDL_GetEventFilter -
SDL_GetEventState - SDL_GetNumTouchDevices
- SDL_GetNumTouchFingers
- SDL_GetTouchDevice
- SDL_GetTouchFinger
-
SDL_HasEvent - SDL_HasEvents
- SDL_LoadDollarTemplates
- SDL_PeepEvents
-
SDL_PollEvent - SDL_PumpEvents
-
SDL_PushEvent - SDL_QuitRequested
- SDL_RecordGesture
-
SDL_RegisterEvents - SDL_SaveAllDollarTemplates
- SDL_SaveDollarTemplate
-
SDL_SetEventFilter -
SDL_WaitEvent -
SDL_WaitEventTimeout
-
- Enumerations
- Keyboard Support (SDL_keyboard.h, SDL_keycode.h, SDL_scancode.h)
- Enumerations
- SDL_Keycode
- SDL_Keymod
- SDL_Scancode
- Structures
- SDL_Keysym
- Functions
-
SDL_GetKeyFromName - SDL_GetKeyFromScancode
- SDL_GetKeyName
- SDL_GetKeyboardFocus
- SDL_GetKeyboardState
- SDL_GetModState
-
SDL_GetScancodeFromKey -
SDL_GetScancodeFromName - SDL_GetScancodeName
- SDL_HasScreenKeyboardSupport
- SDL_IsScreenKeyboardShown
- SDL_IsTextInputActive
- SDL_SetModState
- SDL_SetTextInputRect
- SDL_StartTextInput
- SDL_StopTextInput
-
- Enumerations
- Mouse Support (SDL_mouse.h)
- Functions
- SDL_CaptureMouse
-
SDL_CreateColorCursor - SDL_CreateCursor
- SDL_CreateSystemCursor
- SDL_FreeCursor
- SDL_GetCursor
- SDL_GetDefaultCursor
- SDL_GetGlobalMouseState
- SDL_GetMouseFocus
- SDL_GetMouseState
- SDL_GetRelativeMouseMode
- SDL_GetRelativeMouseState
- SDL_SetCursor
- SDL_SetRelativeMouseMode
- SDL_ShowCursor
- SDL_WarpMouseGlobal
- SDL_WarpMouseInWindow
- Functions
- Joystick Support (SDL_joystick.h)
- Enumerations
- SDL_JoystickPowerLevel
- SDL_JoystickType
- Functions
- SDL_JoystickClose
- SDL_JoystickCurrentPowerLevel
-
SDL_JoystickEventState -
SDL_JoystickFromInstanceID - SDL_JoystickGetAttached
- SDL_JoystickGetAxis
- SDL_JoystickGetAxisInitialState
- SDL_JoystickGetBall
- SDL_JoystickGetButton
- SDL_JoystickGetDeviceGUID
- SDL_JoystickGetDeviceInstanceID
- SDL_JoystickGetDeviceProduct
- SDL_JoystickGetDeviceProductVersion
- SDL_JoystickGetDeviceType
- SDL_JoystickGetDeviceVendor
- SDL_JoystickGetGUID
-
SDL_JoystickGetGUIDFromString - SDL_JoystickGetGUIDString
- SDL_JoystickGetHat
- SDL_JoystickGetProduct
- SDL_JoystickGetProductVersion
- SDL_JoystickGetType
- SDL_JoystickGetVendor
- SDL_JoystickInstanceID
- SDL_JoystickName
- SDL_JoystickNameForIndex
- SDL_JoystickNumAxes
- SDL_JoystickNumBalls
- SDL_JoystickNumButtons
- SDL_JoystickNumHats
- SDL_JoystickOpen
- SDL_JoystickUpdate
- SDL_LockJoysticks
- SDL_NumJoysticks
- SDL_UnlockJoysticks
- Enumerations
- Game Controller Support (SDL_gamecontroller.h)
- Enumerations
- SDL_GameControllerAxis
- SDL_GameControllerButton
- Functions
- SDL_GameControllerAddMapping
-
SDL_GameControllerAddMappingsFromFile - SDL_GameControllerAddMappingsFromRW
- SDL_GameControllerClose
-
SDL_GameControllerEventState -
SDL_GameControllerFromInstanceID - SDL_GameControllerGetAttached
- SDL_GameControllerGetAxis
-
SDL_GameControllerGetAxisFromString -
SDL_GameControllerGetBindForAxis -
SDL_GameControllerGetBindForButton - SDL_GameControllerGetButton
-
SDL_GameControllerGetButtonFromString - SDL_GameControllerGetJoystick
- SDL_GameControllerGetProduct
- SDL_GameControllerGetProductVersion
-
SDL_GameControllerGetStringForAxis -
SDL_GameControllerGetStringForButton - SDL_GameControllerGetVendor
- SDL_GameControllerMapping
-
SDL_GameControllerMappingForGUID -
SDL_GameControllerMappingForIndex - SDL_GameControllerName
-
SDL_GameControllerNameForIndex -
SDL_GameControllerNumMappings - SDL_GameControllerOpen
- SDL_GameControllerUpdate
- SDL_IsGameController
- Enumerations
- Event Handling (SDL_events.h)
-
Force Feedback
- Force Feedback Support (SDL_haptic.h)
- Structures
- SDL_HapticCondition
- SDL_HapticConstant
- SDL_HapticCustom
- SDL_HapticDirection
- SDL_HapticEffect
- SDL_HapticLeftRight
- SDL_HapticPeriodic
- SDL_HapticRamp
- Functions
- SDL_HapticClose
- SDL_HapticDestroyEffect
- SDL_HapticEffectSupported
- SDL_HapticGetEffectStatus
- SDL_HapticIndex
- SDL_HapticName
- SDL_HapticNewEffect
- SDL_HapticNumAxes
- SDL_HapticNumEffects
- SDL_HapticNumEffectsPlaying
- SDL_HapticOpen
- SDL_HapticOpenFromJoystick
- SDL_HapticOpenFromMouse
- SDL_HapticOpened
- SDL_HapticPause
- SDL_HapticQuery
- SDL_HapticRumbleInit
- SDL_HapticRumblePlay
- SDL_HapticRumbleStop
- SDL_HapticRumbleSupported
- SDL_HapticRunEffect
- SDL_HapticSetAutocenter
- SDL_HapticSetGain
- SDL_HapticStopAll
- SDL_HapticStopEffect
- SDL_HapticUnpause
- SDL_HapticUpdateEffect
- SDL_JoystickIsHaptic
- SDL_MouseIsHaptic
- SDL_NumHaptics
- Structures
- Force Feedback Support (SDL_haptic.h)
-
File AbstractionFilesystem Paths (SDL_filesystem.h)Functions-
SDL_GetBasePath -
SDL_GetPrefPath
-
File I/O Abstraction (SDL_rwops.h)Structures- SDL_RWops
Functions-
SDL_AllocRW -
SDL_FreeRW -
SDL_LoadFile -
SDL_LoadFile_RW -
SDL_RWFromConstMem -
SDL_RWFromFP - SDL_RWFromFile
-
SDL_RWFromMem -
SDL_RWclose -
SDL_RWread -
SDL_RWseek -
SDL_RWsize -
SDL_RWtell -
SDL_RWwrite -
SDL_ReadBE16 -
SDL_ReadBE32 -
SDL_ReadBE64 -
SDL_ReadLE16 -
SDL_ReadLE32 -
SDL_ReadLE64 -
SDL_ReadU8 -
SDL_WriteBE16 -
SDL_WriteBE32 -
SDL_WriteBE64 -
SDL_WriteLE16 -
SDL_WriteLE32 -
SDL_WriteLE64 -
SDL_WriteU8
-
-
Power Management
- Power Management Status (SDL_power.h)
- Enumerations
- SDL_PowerState
- Functions
- SDL_GetPowerInfo
- Enumerations
- Power Management Status (SDL_power.h)
-
Additional Functionality
- Standard-library Functionality (SDL_stdinc.h)
- Enumerations
- SDL_bool
Functions-
SDL_acos
-
- Enumerations
- Standard-library Functionality (SDL_stdinc.h)