oswald 0.7.0

OS Window Abstraction Library in D


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

OS Window Abstraction Library in D (OSWALD)

Oswald is a simple window abstraction library that is intended for cross-platform use. It is designed as a relatively low-level library, that other graphics or UI libraries can build off of. Oswald does not dynamically allocate memory, and returns error codes instead of throwing exceptions.

Oswald does not (and will not) support the creationg of graphics contexts, or other similar tasks. For a library that creates and manages graphics contexts, please direct yourself to GLFW (glfw.org), SDL (libsdl.org), or SFML (sfml-dev.org). Note that none of these libraries are compatible with Oswald. If you would like to use Oswald, you'll have to roll your own graphics initialization code. It remains a possibility that a companion library will be created, but there are no guarantees.

Please see the examples directory for how to use the library.

Unfortunately, source documentation in Oswald is a bit scarce, but is being actively improved.

Note:

This library is being improved as I see the need for my own projects. If there is any feature that you would like to see, please do let me know!

Features under consideration:

  • [x] Object interface for windows
  • [ ] Statically configurable error handling behavior

Platform Support

Currently, only windows is supported (and then, only to a limited degree). However, more platforms are planned.

  • [x] Windows
  • [ ] Linux
  • [ ] macOS (OSX)
  • [ ] Android
Authors:
David Zhang
Dependencies:
none
Versions:
0.7.0 2017-Oct-09
0.6.0 2017-Oct-05
0.5.0 2017-Sep-30
0.4.0 2017-Aug-19
0.3.0 2017-Aug-17
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 2 downloads this month

  • 8 downloads total