Call context hooks (used by e.g. test engine) We assume a small number of hooks so all stored in same array
| 4579 | // Call context hooks (used by e.g. test engine) |
| 4580 | // We assume a small number of hooks so all stored in same array |
| 4581 | void ImGui::CallContextHooks(ImGuiContext* ctx, ImGuiContextHookType hook_type) |
| 4582 | { |
| 4583 | ImGuiContext& g = *ctx; |
| 4584 | for (ImGuiContextHook& hook : g.Hooks) |
| 4585 | if (hook.Type == hook_type) |
| 4586 | hook.Callback(&g, &hook); |
| 4587 | } |
| 4588 | |
| 4589 | //----------------------------------------------------------------------------- |
| 4590 | // [SECTION] MAIN CODE (most of the code! lots of stuff, needs tidying up!) |
nothing calls this directly
no outgoing calls
no test coverage detected