dart_sdl 0.10.1 dart_sdl: ^0.10.1 copied to clipboard
Dart bindings for [SDL2](https://www.libsdl.org/).
Changelog #
[0.10.0] #
Changed #
- Updated the minimum SDK constraint.
- Updated all dependencies.
- Regenerated the bindings.
[0.9.2] #
Fixed #
- Look in the local directory for a library file if the script directory doesn't contain one.
[0.9.0] #
[0.8.3] #
Added #
- Bound sdl_GetPrefPath.
- Bound SDL_GetBasePath.
[0.8.2] #
Changed #
- You can now specify the path to the SDL library.
- Library names for Linux and Mac OS X can now be automatically inferred.
[0.8.0] #
[0.6.1] #
[0.6.0] #
Added #
- Start using
MessageBoxFlags.error
(thanks to Mohamed Sulaiman for reporting that oversight). - Added the
List<int>.xor
extension method. - Added
SdlObject.destroy
, which must be overridden for any new dsl object.
Changed #
- Made most SDL objects subclasses of
SdlObject
. - Use code generation to generate enums.
- Changed API to be in line with the generated enums.
[0.5.0] #
Changed #
- Changed the signature for the haptic effects constructors.
- Hopefully plugged a load of memory leaks.
[0.4.1] #
Added #
- Added the
Sdl.getEvents
stream, which allows you to specify a delay between polling for events.
[0.3.3] #
Added #
- SDL_Delay
- SDL_GetKeyboardFocus
- SDL_GetKeyboardState
- SDL_GetKeyFromName
- SDL_GetKeyFromScancode
- SDL_GetKeyName
- SDL_GetModState
- SDL_GetScancodeFromKey
- SDL_GetScancodeFromName
- SDL_GetScancodeName
- SDL_HasScreenKeyboardSupport
- SDL_IsScreenKeyboardShown
- SDL_IsTextInputActive
- SDL_Keymod
- SDL_SetModState
- SDL_StartTextInput
- SDL_StopTextInput
- SDL_CaptureMouse
- SDL_GetMouseFocus
- SDL_GetRelativeMouseMode
- SDL_SetRelativeMouseMode
- SDL_ShowCursor
- SDL_WarpMouseGlobal
- SDL_WarpMouseInWindow
- SDL_NumSensors
- SDL_HapticClose
- SDL_HapticCondition
- SDL_HapticConstant
- SDL_HapticDestroyEffect
- SDL_HapticDirection
- SDL_HapticEffect
- SDL_HapticGetEffectStatus
- SDL_HapticEffectSupported
- SDL_HapticIndex
- SDL_HapticName
- SDL_HapticNewEffect
- SDL_HapticNumAxes
- SDL_HapticNumEffects
- SDL_HapticNumEffectsPlaying
- SDL_HapticOpen
- SDL_HapticOpened
- SDL_HapticOpenFromMouse
- SDL_HapticOpenFromJoystick
- SDL_JoystickIsHaptic
- SDL_MouseIsHaptic
- SDL_NumHaptics
- SDL_HapticPause
- SDL_HapticRumbleInit
- SDL_HapticRumblePlay
- SDL_HapticRumbleStop
- SDL_HapticRumbleSupported
- SDL_HapticRunEffect
- SDL_HapticSetAutocenter
- SDL_HapticSetGain
- SDL_HapticStopAll
- SDL_HapticStopEffect
- SDL_HapticUnpause
- SDL_HapticUpdateEffect
Changed #
- Changed the constructor for the
KeyboardKey
class. - Changed
KeyboardKey.modifiers
to a list ofKeyMod
values.
[0.2.0] #
Added #
- Added a binding for SDL_GetWindowFromID as
Window.fromId
.
Changed #
- Changed the return type of
Joystick.controller
toGameController?
, to account for the controller not being open, and an empty error string being present.
Removed #
- No longer cache objects.
[0.1.3] #
Added #
- Added bindings for SDL_GameControllerEventState.