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

Function TabItemGetSectionIdx

tutorials/common/imgui/imgui_widgets.cpp:7322–7325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7320}
7321
7322static inline int TabItemGetSectionIdx(const ImGuiTabItem* tab)
7323{
7324 return (tab->Flags & ImGuiTabItemFlags_Leading) ? 0 : (tab->Flags & ImGuiTabItemFlags_Trailing) ? 2 : 1;
7325}
7326
7327static int IMGUI_CDECL TabItemComparerBySection(const void* lhs, const void* rhs)
7328{

Callers 2

TabBarLayoutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected