| 3351 | } |
| 3352 | |
| 3353 | static 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) |
| 3363 | static void TableSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*) |
nothing calls this directly
no test coverage detected