Skip to content

instinkt900/moth_ui

Repository files navigation

Moth UI

Windows Build Status Linux Build Status Windows Editor Build Status Linux Editor Build Status
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.

Screenshot 2023-10-14 141636

Building the Moth UI library

Conan

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.

Visual Studio

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.

About

A C++ UI library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published