@hackage minilight0.1.0

A SDL2-based graphics library, batteries-included.

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.

  • dynamic component loading: view components can be constructed by an external yaml file.

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