Replies: 7 comments 11 replies
-
I've never seen a knob like this :) https://docs.juce.com/master/structSlider_1_1LookAndFeelMethods.html#ae63a9d8adce084cd5dbe02b960c73a9a Some custom exemples for the sliders are available in the JUCE demorunner in the lookandfeel category. |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. Got home late last night and crashed right away. I decided against posting the whole panel because it would make it unnecessarily complicated. But here is the L&F for "that" button: `
} In this case, the outer "red" ring is a visual aid because the "pointer" got very small depending on the button's size. It fills the value from 0 to where the pointer is. With a little help from drawText, you can even show the Value of the slider in the middle of the button instead of TextBoxBelow. Either way, you can go crazy with those designs. And the beauty of it all is that it's just paint routines and you can resize the button freely. @damiensellier: A button never seen before makes it a unique button ;-). |
Beta Was this translation helpful? Give feedback.
-
A few designs. Some were solely made to figure out movement in combination with the Graphics Class. Others were made as an understudy to use in a panel later. |
Beta Was this translation helpful? Give feedback.
-
Hi @bijlevel Here are some panels Tedjuh and I were working on, including: Enjoy. |
Beta Was this translation helpful? Give feedback.
-
Here's another less impressive but very useful piece of code. You can create vertical linear bars using code like:
on panel load. The trick here is to set I don't think this can be set in the editor as far as I can see. Linear Bar always goes left to right. |
Beta Was this translation helpful? Give feedback.
-
Very interesting...Especially the wave selector and the linear vertical bars. |
Beta Was this translation helpful? Give feedback.
-
I use it often because they do look nice, design wise. But I don’t think I could’ve discovered that trick - it must’ve been Tedjuh who discovered it when we were working on ‘look and feel’ a while back. Just to give credit where credit is due! |
Beta Was this translation helpful? Give feedback.
-
#596 (reply in thread)
@Ted-juh Leef je nog?😋
I have studied your post (see link above in this post) about the custom rotary slider, because I like the design and I'm at the moment busy with a panel design. Am I right in my understanding that the outer red ring is a L&F v4 slider and the rest a "painted" rotary slider. So a combination? Maybe you could post a panel-example with this slider?
This is wat I'm aiming at (very roughly, colours have to change...), a L&F v4 rotary combined with some button image:
Beta Was this translation helpful? Give feedback.
All reactions