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

Function TableSettingsHandler_ClearAll

tutorials/common/imgui/imgui_tables.cpp:3353–3360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3351}
3352
3353static void TableSettingsHandler_ClearAll(ImGuiContext* ctx, ImGuiSettingsHandler*)
3354{
3355 ImGuiContext& g = *ctx;
3356 for (int i = 0; i != g.Tables.GetMapSize(); i++)
3357 if (ImGuiTable* table = g.Tables.TryGetMapData(i))
3358 table->SettingsOffset = -1;
3359 g.SettingsTables.clear();
3360}
3361
3362// Apply to existing windows (if any)
3363static void TableSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*)

Callers

nothing calls this directly

Calls 3

GetMapSizeMethod · 0.80
TryGetMapDataMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected