mosra / magnum-integration

Integration libraries for the Magnum C++11 graphics engine
https://magnum.graphics/
Other
99 stars 44 forks source link

ImGuiIntegration: allow hiding the cursor #72

Closed pezcode closed 4 years ago

pezcode commented 4 years ago

Small change that allows hiding the cursor with ImGui::SetMouseCursor(ImGuiMouseCursor_None). Also updated the test to not assume that ImGuiMouseCursor_None is unknown.

pezcode commented 4 years ago

Oh dear, this exploded. I only tested this with GLFW, let me actually run the tests offline.

codecov-commenter commented 4 years ago

Codecov Report

Merging #72 into master will decrease coverage by 0.16%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   75.30%   75.13%   -0.17%     
==========================================
  Files          21       21              
  Lines         903      905       +2     
==========================================
  Hits          680      680              
- Misses        223      225       +2     
Impacted Files Coverage Δ
src/Magnum/ImGuiIntegration/Context.hpp 84.84% <0.00%> (-2.66%) :arrow_down:

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 ca04ca3...fb4f7cb. Read the comment docs.

mosra commented 4 years ago

Thanks! :)