When using multiple context it can be helpful to give name a name. (A) Will be visible in debugger, (B) Will be included in all IMGUI_DEBUG_LOG() calls, (C) Should be <= 15 characters long.
| 4530 | // When using multiple context it can be helpful to give name a name. |
| 4531 | // (A) Will be visible in debugger, (B) Will be included in all IMGUI_DEBUG_LOG() calls, (C) Should be <= 15 characters long. |
| 4532 | void ImGui::SetContextName(ImGuiContext* ctx, const char* name) |
| 4533 | { |
| 4534 | ImStrncpy(ctx->ContextName, name, IM_COUNTOF(ctx->ContextName)); |
| 4535 | } |
| 4536 | |
| 4537 | // No specific ordering/dependency support, will see as needed |
| 4538 | ImGuiID ImGui::AddContextHook(ImGuiContext* ctx, const ImGuiContextHook* hook) |
nothing calls this directly
no test coverage detected