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

Function TableSettingsHandler_ApplyAll

KBotExt/imgui/imgui_tables.cpp:3417–3426  ·  view source on GitHub ↗

Apply to existing windows (if any)

Source from the content-addressed store, hash-verified

3415
3416// Apply to existing windows (if any)
3417static void TableSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*)
3418{
3419 ImGuiContext& g = *ctx;
3420 for (int i = 0; i != g.Tables.GetMapSize(); i++)
3421 if (ImGuiTable* table = g.Tables.TryGetMapData(i))
3422 {
3423 table->IsSettingsRequestLoad = true;
3424 table->SettingsOffset = -1;
3425 }
3426}
3427
3428static void* TableSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name)
3429{

Callers

nothing calls this directly

Calls 2

GetMapSizeMethod · 0.80
TryGetMapDataMethod · 0.80

Tested by

no test coverage detected