Moontear GUI framework

GitHub: https://github.com/vordhosbnbg/moonteargui

Moontear GUI is aiming to be lightweight, optimized C++ framework for GUI design.

It is based on SDL2 / SDL2_Image / SDL2_ttf and its in early development. It uses CMake for a build system, so you should be able to build it on any linux distro with relative ease, and with some posix adapters, building it on Windows should not be too hard.

What is currently working:

 

  • Window management
  • Asynchronous, thread-safe update of widget attributes
  • Input event handling – Unicode text support
  • Two basic widgets implemented – Text (with TTF support), Image (with JPG and PNG support)
  • RAII wrappers over SDL API

TODO:

  • Embed resources directly into an executable
  • Animation of widget attributes with support for interpolation algorithms
  • Simple state machines with focus event propagation
  • JSON definition for widgets
  • Dropdown widget
  • List widget
  • Scrollbar widget
  • Button widget
  • Chart widget
  • Camera class to facilitate culling and zoom in / zoom out

A personal space