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

Dart bindings for [SDL2](https://www.libsdl.org/).

Changelog #

[0.10.1] #

Changed #

  • Updated dependencies.

[0.10.0] #

Changed #

  • Updated the minimum SDK constraint.
  • Updated all dependencies.
  • Regenerated the bindings.

[0.9.7] #

Changed #

  • Updated the minimum SDK constraint.

[0.9.6] #

Changed #

  • Updated analysis options.

[0.9.5] #

Added #

  • Added the InitFlags class.

[0.9.4] #

Changed #

  • TextEditingEvent no longer inherits from TextInput event (#6).

[0.9.3] #

Added #

  • Bound some more rumble functions.

[0.9.2] #

Fixed #

  • Look in the local directory for a library file if the script directory doesn't contain one.

[0.9.1] #

Fixed #

  • Resolve script name properly.

[0.9.0] #

Changed #

  • 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).

[0.8.9] #

Changed #

  • Use an absolute path when loading the dynamic library on Linux.

[0.8.8] #

Changed #

  • Use the more generic library name "libSDL2.so" under Linux.

[0.8.7] #

Changed #

  • Updated the package description.

[0.8.6] #

Added #

  • Autodetect home brew library name for OS X.

[0.8.5] #

Fixed #

  • Changed the library name for OS X.

[0.8.4] #

Fixed #

  • Fixed overflow in the handling of the text input event.

[0.8.3] #

Added #

[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.
9
likes
130
pub points
27%
popularity

Publisher

verified publisherbackstreets.site

Dart bindings for [SDL2](https://www.libsdl.org/).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

ffi, meta, path

More

Packages that depend on dart_sdl