ImGuiIntegration: support ImGuiMouseCursor_NotAllowed#92
Closed
pezcode wants to merge 1 commit intomosra:masterfrom
Closed
ImGuiIntegration: support ImGuiMouseCursor_NotAllowed#92pezcode wants to merge 1 commit intomosra:masterfrom
pezcode wants to merge 1 commit intomosra:masterfrom
Conversation
Sets the No ("slashed circle or crossbones") cursor. Falls back to arrow cursor for imgui < 1.75, or if Application class doesn't have Cursor::No (e.g. GlfwApplication using glfw < 3.4).
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
=======================================
Coverage 77.25% 77.25%
=======================================
Files 21 21
Lines 941 941
=======================================
Hits 727 727
Misses 214 214
Continue to review full report at Codecov.
|
Owner
|
Thank you! Merged as 395631f, this one was easy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This sets the No cursor ("slashed circle or crossbones" = 🚫) for
ImGuiMouseCursor_NotAllowed(available in imgui 1.75+) when using an Application class that hasCursor::No.