Skip to content

ImGuiIntegration: support ImGuiMouseCursor_NotAllowed#92

Closed
pezcode wants to merge 1 commit intomosra:masterfrom
pezcode:imgui-cursor-notallowed
Closed

ImGuiIntegration: support ImGuiMouseCursor_NotAllowed#92
pezcode wants to merge 1 commit intomosra:masterfrom
pezcode:imgui-cursor-notallowed

Conversation

@pezcode
Copy link
Contributor

@pezcode pezcode commented Jan 19, 2022

This sets the No cursor ("slashed circle or crossbones" = 🚫) for ImGuiMouseCursor_NotAllowed (available in imgui 1.75+) when using an Application class that has Cursor::No.

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
Copy link

codecov bot commented Jan 19, 2022

Codecov Report

Merging #92 (63582ce) into master (da3c1ab) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #92   +/-   ##
=======================================
  Coverage   77.25%   77.25%           
=======================================
  Files          21       21           
  Lines         941      941           
=======================================
  Hits          727      727           
  Misses        214      214           
Impacted Files Coverage Δ
src/Magnum/ImGuiIntegration/Context.hpp 84.84% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da3c1ab...63582ce. Read the comment docs.

@mosra mosra added this to the 2020.0b milestone Feb 3, 2022
@mosra
Copy link
Owner

mosra commented Feb 3, 2022

Thank you! Merged as 395631f, this one was easy.

@mosra mosra closed this Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

2 participants