-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addButton & setRangeValue functions #9
base: master
Are you sure you want to change the base?
Conversation
Would be nice to see this merged... |
Hey @kabrio —thanks for your pull request, I finally got back to work on p5.gui. |
Thanks for your contribution, and sorry for the long delay! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extremely annoying to check the differences between the files. It's generally a good idea to only change what needs to be changed, and do not convert line endings before committing (unless GitHub automatically handles line endings).
Just a simple wrapper around quicksettings to be able to add buttons by calling addButton(title, function).
Also wrapped setRangeValue function from quicksettings to enable scripted value changes of sliders.
See button-setRangeValue example for demonstration.