Skip to content
This repository has been archived by the owner on Oct 9, 2018. It is now read-only.

rokups/AtomicNuklearUI

Repository files navigation

NuklearUI

nuklear integration for AtomicGameEngine.

How to use

// Create subsystem
auto nuklear = new NuklearUI(context_);
nuklear->BeginAddFonts();
auto fa = nuklear->AddFont("UI/fontawesome-webfont.ttf", 0, font_awesome_ranges);
nuklear->EndAddFonts();                                                                                 0);
// Draw GUI
SubscribeToEvent(E_UPDATE, [&](StringHash, VariantMap&) {
    nk_begin(nuklear->GetNkContext(), "Example");
    nk_end(nuklear->GetNkContext());
});

About

nuklear ui integration for AtomicGameEngine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published