A C++ Flash-like framework for building 2D UIs for graphical applications such as games and media. It supports basic keyframed animations and various mouse and keyboard events. Custom events can also be fired off back to a listening application during animations to handle synchronization between the UI and application.
The easiest way to build is by using Conan and CMake. You can refer to either Conan docs or even the github workflows on this project to get the exact commands, but basically the flow for building release on Windows is as follows...
conan install . --build=missing -s build_type=Release [--profile <profile>]
cmake --preset conan-default
cmake --build --preset conan-release
cmake --install build --config Release --prefix=<install_path>
The exact commands vary with Linux and Windows but it should be easy to figure out what needs to change.
This should build the library and copy the headers into install_path
which can be consumed like any other C++ library.
The Visual Studio solution is provided in the projects/vs
path. It includes moth_ui, the backends, and the editor. Check the editor building section for the full setup.