Backend data stored in io.BackendPlatformUserData to allow support for multiple Dear ImGui contexts It is STRONGLY preferred that you use docking branch with multi-viewports (== single Dear ImGui context + multiple windows) instead of multiple Dear ImGui contexts. FIXME: multi-context support is not well tested and probably dysfunctional in this backend. FIXME: some shared resources (mouse cursor
| 111 | // FIXME: multi-context support is not well tested and probably dysfunctional in this backend. |
| 112 | // FIXME: some shared resources (mouse cursor shape, gamepad) are mishandled when using multi-context. |
| 113 | static ImGui_ImplWin32_Data* ImGui_ImplWin32_GetBackendData() |
| 114 | { |
| 115 | return ImGui::GetCurrentContext() ? (ImGui_ImplWin32_Data*)ImGui::GetIO().BackendPlatformUserData : nullptr; |
| 116 | } |
| 117 | |
| 118 | // Functions |
| 119 | static bool ImGui_ImplWin32_InitEx(void* hwnd, bool platform_has_own_dc) |
no outgoing calls
no test coverage detected