- Updated dependencies.
- Updated the minimum SDK constraint.
- Updated all dependencies.
- Regenerated the bindings.
- Updated the minimum SDK constraint.
- Updated analysis options.
- Added the
InitFlags
class.
TextEditingEvent
no longer inherits fromTextInput event
(#6).
- Bound some more rumble functions.
- Look in the local directory for a library file if the script directory doesn't contain one.
- Resolve script name properly.
- Inferred library names are always anchored at the directory where the main script is running.
- Updated SDL2 to 2.0.20 (#3).
- Shortened key code and scan code member names (#4).
- Use an absolute path when loading the dynamic library on Linux.
- Use the more generic library name "libSDL2.so" under Linux.
- Updated the package description.
- Autodetect home brew library name for OS X.
- Changed the library name for OS X.
- Fixed overflow in the handling of the text input event.
- Bound sdl_GetPrefPath.
- Bound SDL_GetBasePath.
- You can now specify the path to the SDL library.
- Library names for Linux and Mac OS X can now be automatically inferred.
- Fixed some broken doc links.
- Renamed
SdlButton
toMessageBoxButton
to bring it (almost) in line with the SDL docs.
- Renamed
Button
toSdlButton
.
- Added a window example.
- New
SdlObject
instances no longer need to callsuper.destroy
. - Fixed a bug with
Window.destroy
.
- 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.
- Made most SDL objects subclasses of
SdlObject
. - Use code generation to generate enums.
- Changed API to be in line with the generated enums.
- Changed the signature for the haptic effects constructors.
- Hopefully plugged a load of memory leaks.
- Added the
Sdl.getEvents
stream, which allows you to specify a delay between polling for events.
- Increased the minimum SDK value.
- Added the
getAxisSmall
method to theGameController
class.
- Added a
smallValue
member to theJoyAxisEvent
andControllerAxisEvent
classes.
- 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 the constructor for the
KeyboardKey
class. - Changed
KeyboardKey.modifiers
to a list ofKeyMod
values.
- Fixed the doc string for
KeyboardEvent.repeat
.
- Make
KeyboardEvent.repeat
a boolean value.
- Added a binding for SDL_GetWindowFromID as
Window.fromId
.
- Changed the return type of
Joystick.controller
toGameController?
, to account for the controller not being open, and an empty error string being present.
- No longer cache objects.
- Added bindings for SDL_GameControllerEventState.
- Fixed a broken link.
- Fixed the format of the change log.
- Downgraded the Dart constraint.
- Added a stream for events. Accessible as
Sdl.events
.
- Keyboard events now use the new
ScanCode
andKeyCode
enumerations, rather than pure integers.
- Added audio functions.
- Added clipboard functions to readme.
- Fixed the package description.
- Added proper documentation.
- Added initialisation, window and logging functions.
- Initial version.