dart_sdl 0.8.2 copy "dart_sdl: ^0.8.2" to clipboard
dart_sdl: ^0.8.2 copied to clipboard

outdated

Dart bindings for SDL.

Changelog #

[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.1] #

Fixed #

  • Fixed some broken doc links.

[0.8.0] #

Changed #

  • Renamed SdlButton to MessageBoxButton to bring it (almost) in line with the SDL docs.

[0.7.0] #

Changed #

  • Renamed Button to SdlButton.

[0.6.1] #

Added #

  • Added a window example.

Changed #

  • New SdlObject instances no longer need to call super.destroy.
  • Fixed a bug with Window.destroy.

[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.4.0] #

Changed #

  • Increased the minimum SDK value.

[0.3.6] #

Added #

  • Added the getAxisSmall method to the GameController class.

[0.3.5] #

Added #

  • Added a smallValue member to the JoyAxisEvent and ControllerAxisEvent classes.

[0.3.4] #

[0.3.3] #

[0.3.1] #

Changed #

  • Fixed the doc string for KeyboardEvent.repeat.

[0.3.0] #

Changed #

  • Make KeyboardEvent.repeat a boolean value.

[0.2.0] #

Added #

Changed #

  • Changed the return type of Joystick.controller to GameController?, to account for the controller not being open, and an empty error string being present.

Removed #

  • No longer cache objects.

[0.1.3] #

Added #

[0.1.2] #

Changed #

  • Fixed a broken link.
  • Fixed the format of the change log.

[0.1.1] #

Changed #

  • Downgraded the Dart constraint.

[0.1.0] #

Added #

  • Added a stream for events. Accessible as Sdl.events.

Changed #

  • Keyboard events now use the new ScanCode and KeyCode enumerations, rather than pure integers.

[0.0.5] #

Added #

  • Added audio functions.

[0.0.4] #

Added #

  • Added clipboard functions to readme.

Fixed #

  • Fixed the package description.

[0.0.2] #

Added #

  • Added proper documentation.
  • Added initialisation, window and logging functions.

0.0.0 #

Changed #

  • Initial version.