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

rokups/AtomicImGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AtomicImGUI

imgui integration for AtomicGameEngine.

How to use

// Create subsystem
auto imgui = new Atomic::ImGUI(context_);
// Register a font (optional, default font is always created)
const unsigned short range[] = {ICON_MIN_FA, ICON_MAX_FA, 0};
imgui->AddFont("UI/fontawesome-webfont.ttf", 0, true, range);
// Draw GUI
SubscribeToEvent(E_IMGUIFRAME, [&](StringHash, VariantMap&) {
        ImGui::Begin("Example");
        ImGui::Text("%s Search", ICON_FA_SEARCH);
        ImGui::End();
});

About

imgui integration with AtomicGameEngine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published