openframeworks / openframeworks/openFrameworks
Allow updating min/max values of ofxSliderGroup
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Currently there is no way to update the min/max values for an ofxSliderGroup like with the 'regular' ofxSlider. I have a vec2 slider which range is dependent on another slider so I need to be able to update it dynamically.
I don't think adding this has any drawbacks so if there are no objections I could submit a PR.
Of course, it would even be nicer if the sliders could automatically update whenever min/max values change on the underlying parameter since (to me at least) that is the actual data, the sliders only being a view upon them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the ofxSliderGroup implementation and the existing min/max update API on ofxSlider, then inspect how the group's vec2 sliders receive parameter changes. Done means a group can update its min/max range dynamically, with coverage for a range that depends on another slider.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100