Skip to content

rand32/imgui_tabhandler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

imgui_tabhandler

A Tab handler made for ImGui.

example usage:

int curtab = 0;
tabhandler::tab tabs;
tabs.sameline = true;
tabs.imguitabs = true;
//or
tabs.imguitabs = false;
tabs.add(tabhandler::createtab("Tab 1", 1));
tabs.add(tabhandler::createtab("Tab 2", 2));
tabs.create();
curtab = tabs.id;
        
//imgui code

if (tabs.id == 1) {
        ImGui::Text("You are on tab 1!");
}
        
if (tabs.id == 2) {
        ImGui::Text("You are on tab 2!");
}
     

About

A Tab handler made for ImGui.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 100.0%