We intentionally accept values of ImGuiMouseCursor that are outside our bounds, in case users needs to hack-in a custom cursor value. 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 handle it before the backend _NewFrame() call and temporarily set ImGuiConfigFlags_NoMouseCursorChange during the backend _NewFrame() c
| 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 |
| 10126 | // handle it before the backend _NewFrame() call and temporarily set ImGuiConfigFlags_NoMouseCursorChange during the backend _NewFrame() call. |
| 10127 | void ImGui::SetMouseCursor(ImGuiMouseCursor cursor_type) |
| 10128 | { |
| 10129 | ImGuiContext& g = *GImGui; |
| 10130 | g.MouseCursor = cursor_type; |
| 10131 | } |
| 10132 | |
| 10133 | static void UpdateAliasKey(ImGuiKey key, bool v, float analog_value) |
| 10134 | { |
nothing calls this directly
no outgoing calls
no test coverage detected