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

Method TableSettingsFindByID

KBotExt/imgui/imgui_tables.cpp:3253–3261  ·  view source on GitHub ↗

Find existing settings

Source from the content-addressed store, hash-verified

3251
3252// Find existing settings
3253ImGuiTableSettings* ImGui::TableSettingsFindByID(ImGuiID id)
3254{
3255 // FIXME-OPT: Might want to store a lookup map for this?
3256 ImGuiContext& g = *GImGui;
3257 for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings))
3258 if (settings->ID == id)
3259 return settings;
3260 return NULL;
3261}
3262
3263// Get settings for a given table, NULL if none
3264ImGuiTableSettings* ImGui::TableGetBoundSettings(ImGuiTable* table)

Callers

nothing calls this directly

Calls 2

next_chunkMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected