LookAndFeel_V4 implementation #596
Replies: 1 comment 10 replies
-
Sounds promising, really does. I still think it's weird you have to apply the l&f on the whole panel instead of per component. I think it's doable in Juce. But yes, the way the whole l&f class is implemented in Ctrlr is a little 'awkward'. It works but, to me, it's not easy to extend it. While you are looking at the colour picker, is it doable to add color swatches? A set of clickable colours which you could change to your liking. I wish I could find out myself. But I started looking into adding Juce 7, a project once started by Mr Dnaldoog. I started with 2200 errors and was down to 150 errors. I noticed I was changing things in the boost files to get rid of errors. Which gave me the thought: What if I update Lua (5.4.6) as well? Ditch boost/ luabind which both are not being maintained anymore. Instead get it to work with Sol2 (version 3) to do the Lua binding. All in all, it means reinventing the wheel. It means there would be separate versions of Ctrlr. But it's just to see if it's doable to get it up to date with today's standards. Don't get your hopes up of anything usable, it's just to see how far I can get |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm working on the Juce LookAndFeel_V4 implementation for Ctrlr that has been done halfway on the current release.
I'm almost done but I'm not that sure it looks better.
I can select either type of LookAndFeel style I want from the Property Pane at the bottom (V1 V2 V3 V4 with light midnight dark and grey schemes) and it updates the canvas right away now.
Here is a preview of the different types of component in V4:
I'll need to do custom colourSchemes to really get the spirit of the older Ctrlr version with the shades of blue and add it to the colourScheme property combo.
I still struggle to have the popup on right-clicking the panel canvas, it doesn't update until I restart the program, I can't get it to catch the LookAndFeelChanged() declaration.
I'm currently working on adding the colour picker popup when a color property is clicked just like in the Juce demorunner. It's a great addition.
I need to think about a good way to make it downward compatible without showing V4 components on older panels.
If you have any suggestions about all that styling thing, don't hesitate ;)
Damien
Beta Was this translation helpful? Give feedback.
All reactions