MCPcopy Create free account
hub / github.com/RenderKit/embree / GetTabBarFromTabBarRef

Function GetTabBarFromTabBarRef

tutorials/common/imgui/imgui_widgets.cpp:7345–7349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7343}
7344
7345static ImGuiTabBar* GetTabBarFromTabBarRef(const ImGuiPtrOrIndex& ref)
7346{
7347 ImGuiContext& g = *GImGui;
7348 return ref.Ptr ? (ImGuiTabBar*)ref.Ptr : g.TabBars.GetByIndex(ref.Index);
7349}
7350
7351static ImGuiPtrOrIndex GetTabBarRefFromTabBar(ImGuiTabBar* tab_bar)
7352{

Callers 1

EndTabBarMethod · 0.85

Calls 1

GetByIndexMethod · 0.80

Tested by

no test coverage detected