Thanks to visit codestin.com
Credit goes to lib.haxe.org

hxsdl

A haxelib containing hxcpp bindings for SDL 2.30.2.
https://github.com/swordcube/hxsdl

To install, run:

haxelib install hxsdl 0.4.2 

See using Haxelib in Haxelib documentation for more information.

README.md

Simple DirectMedia Layer Logo

hxsdl

Haxe/hxcpp @:native bindings for SDL 2.30.2.


This library only works with the Haxe cpp target via hxcpp.

Keep in mind that not everything in SDL will be included nor will they all work! If you notice something is broken or is missing, make an issue/pull request.


📩 Installation

Install through the haxelib

haxelib install hxsdl

or with git for the latest potentially unstable updates.

haxelib git hxsdl https://github.com/swordcube/hxsdl.git

🖥 Usage Example

Check out the examples folder for examples on how you can use these SDL bindings.

📜 Compiler Defines

hxsdl comes with currently one define you can add to your build.hxml/build command that might make things easier depending on your situation:

SDL_PREFIX - Prefixes everything in sdl.Types with SDL (Example: Window becomes SDLWindow)

📜 Licensing

hxsdl is made available via the MIT license. Check LICENSE for more information.

Contributors
swordcube
Version
0.4.2
Published
1 year ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub