Get desired mouse cursor shape. Important: this is meant to be used by a platform backend, it is reset in ImGui::NewFrame(), updated during the frame, and locked in EndFrame()/Render(). If you use software rendering by setting io.MouseDrawCursor then Dear ImGui will render those for you
| 10116 | // updated during the frame, and locked in EndFrame()/Render(). |
| 10117 | // If you use software rendering by setting io.MouseDrawCursor then Dear ImGui will render those for you |
| 10118 | ImGuiMouseCursor ImGui::GetMouseCursor() |
| 10119 | { |
| 10120 | ImGuiContext& g = *GImGui; |
| 10121 | return g.MouseCursor; |
| 10122 | } |
| 10123 | |
| 10124 | // We intentionally accept values of ImGuiMouseCursor that are outside our bounds, in case users needs to hack-in a custom cursor value. |
| 10125 | // Custom cursors may be handled by custom backends. If you are using a standard backend and want to hack in a custom cursor, you may |
nothing calls this directly
no outgoing calls
no test coverage detected