seanchas116 / qtimgui

Qt (QOpenGLWidget / QOpenGLWindow) backend for ImGui
MIT License
370 stars 95 forks source link

Added missing feature - OS mouse cursor shape changing #32

Closed inobelar closed 3 years ago

inobelar commented 3 years ago

That allow us to resize windows by dragging their borders :)

If io.BackendFlags : hasMouseCursors not enabled in backend, we cannot enable io.ConfigWindowResizeFromEdges. This PR add this functionality.

In the next video, see how native cursor changed, when mouse hover window edges, input fields, table columns, etc.

https://user-images.githubusercontent.com/20372668/113297901-e587cf80-9303-11eb-949d-b98e94c3eab9.mp4

seanchas116 commented 3 years ago

Looks cool!