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

outdated

Dart bindings for SDL.

dart_sdl #

This package wraps the SDL package.

I have been implementing functions as I needed them. As such, this library is not complete. I of course welcome issues.

Reading this document #

Since most names in Dart are camelCase translations from their SDL equivalents, only links to SDL functions are included.

For each section of the API, a link to the category is provided, followed by a few sections:

Classes #

In some cases it is necessary to create Dart-side classes to replace SDL structs. Links to the SDL originals should be listed in this section.

Enumerations #

Where an SDL enum has been translated to dart, a link to the original enum should be placed in this section.

Functions #

This section should contain subsections for each Dart class that methods are attached to.

Each section heading should be a link to the Dart class the method is attached to, and each entry in the function list should be a link to the original SDL function.

Progress #

Initialization and Shutdown #

Functions

Sdl class

Configuration Variables #

Enumerations

Functions

Sdl class

Error Handling #

Functions

Sdl class

Log Handling #

Enumerations

Functions

Sdl class

Assertions #

Not implemented.

Querying SDL Version #

Classes

Functions

Sdl class

Display and Window Management #

Classes

Enumerations

Functions

Sdl class
Display class
Window class

2D Accelerated Rendering #

Pixel Formats and Conversion Routines #

Rectangle Functions #

Surface Creation and Simple Drawing #

Platform-specific Window Management #

Clipboard Handling #

Functions

Sdl class

Vulkan Support #

Event Handling #

Classes

Classes have been created to reflect every member of the SDL_EventType enumeration.

Functions

Sdl class

Keyboard Support #

Enumerations

Functions

Sdl class
Window class

Mouse Support #

Functions

Sdl class
Window class

Joystick Support #

Classes

Functions

Sdl class
Joystick class

Game Controller Support #

Enumerations #

Functions

Sdl class
SdlGameControllerAxisValues extension
SdlGameControllerButtonValues extension
SdlStringValues extension
GameController class

Sensors #

Functions

Sdl class

Force Feedback Support #

Classes

Enums

Functions

Sdl class
Haptic class
Joystick class

Audio Device Management, Playing and Recording #

Classes

Enumerations

Functions

Sdl class
AudioDriver class
AudioDevice class
OpenAudioDevice class
WaveFile class