Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements the slider angle control.
FYI -- I'm working on making python demo code that calls all of the imgui widgets via python, whereas pyimgui's demos currently defaults to calling the C++ implementation of the demos, which makes copying and pasting demo code difficult for Python programmers who may not know C++. As part of this work of mine, I am implementing any missing controls, such as slider angle, and I plan to incrementally send over those implementations via PRs into master as I make them.
My implementation of the python-based demo is at https://github.com/billsix/pyimgui/tree/implementDemos . Once I have implemented the full set, I plan to do a squash merge into master, and send the one final pull request for those demos. The reason for this method is to to minimize commits of partial work that I make, which I expect to be 20+ commits of incomplete work, and instead provide 1 complete commit into your master.
However, a commit such as what I've attached is complete work, as it implements slider_control, so I believe that it should be in its own commit in master.
I just bought your book yesterday to support the good work that you are doing. Thank you.