You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user drags a microui slider in a window, I don't want the drag to affect the content underneath the window. imgui has WantCaptureKeyboard, WantCaptureMouse, etc for this purpose but I can't find the corollary mechanism in microui.
By the way thanks for this library, it's truly beautiful.
The text was updated successfully, but these errors were encountered:
If ctx->focus is non-zero you can assume microui is capturing keyboard events, if ctx->hover_root is non-zero you can assume microui is capturing mouse events. If you process the events for the underlying content after the call to mu_end() you should be able to use ctx->focus for both keyboard and mouse. Thanks for the kind words!
If the user drags a microui slider in a window, I don't want the drag to affect the content underneath the window. imgui has
WantCaptureKeyboard
,WantCaptureMouse
, etc for this purpose but I can't find the corollary mechanism in microui.By the way thanks for this library, it's truly beautiful.
The text was updated successfully, but these errors were encountered: