I’m using a regular slider for the control, and I wanted to clarify if I can apply my asset (asset knob x120 pics) to the slider without using custom classes or modifying the JUCE classes, and somehow replace it? Thanks.
I don’t believe there’s anything in stock JUCE. Gotta write your own class. If you look around you can maybe find some code somewhere that someone else wrote.
Well, I pretty much expected that I’d have to write my own classe’s, but you have to admit it’s a bit strange when I just want to load my own knobs and expect JUCE to already have class’s for that → since 99.99% of the time, it’s as necessary as certain drinks on a weekend.
For me, creating my own isn’t a problem ->the problem is understanding how to link my code to parameter handling from the GUI. That’s my current dead end. I hooked up a system slider yesterday in five minutes. I know I can dig around the forum, but I’m all for having standard classes in the framework something like that…
You don’t really have to do anything for parameter handling. Just inherit from juce::Slider and override the paint method. All the other juce::Slider code will handle the parameters same as before. That’s how I did it anyway.