MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImGuiPtrOrIndex

Class ImGuiPtrOrIndex

KBotExt/imgui/imgui_internal.h:1244–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242};
1243
1244struct ImGuiPtrOrIndex
1245{
1246 void* Ptr; // Either field can be set, not both. e.g. Dock node tab bars are loose while BeginTabBar() ones are in a pool.
1247 int Index; // Usually index in a main pool.
1248
1249 ImGuiPtrOrIndex(void* ptr) { Ptr = ptr; Index = -1; }
1250 ImGuiPtrOrIndex(int index) { Ptr = NULL; Index = index; }
1251};
1252
1253//-----------------------------------------------------------------------------
1254// [SECTION] Inputs support

Callers 1

GetTabBarRefFromTabBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected