ImGui Custom Editors "ViewOnly"

How to make “ViewOnly” custom widgets?

Is it the right way?

Looks good to me. You have to look at that flag yourself and act accordingly.

1 Like