Skip to content

haohuixin/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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.8%
  • CMake 7.2%