minilight

A SDL2-based graphics library, batteries-included.

Latest on Hackage:0.5.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by myuon
Maintained by [email protected]

This package provides the wheel for a graphical application or a game.

Basic concepts and features:

  • Figure: convenient SDL texture, once created, it can be translated or rotated during rendering.

  • Component: a reusable widget with event handlers, its figures can also be cached.

  • Hot Config Replacement: view components can be constructed by an external yaml file with live preview.

  • built-in components: some common components are predefined. You can define a new component by yourself.