I’m currently writing my first audio plugin, but i have a problem with the graphics.
My plugin window is 860px X 508px,
I would like to make my background white, with a grey bottom bar in full width and 350px height.
The colours should be written like RGB values.
Can anyone find a mistake or does anyone know how to do it better?
a) you are calling drawRect() instead of fillRect() (?)
b) you have an offset of 300 and 120
so you probably want to do g.fillRect(0, 508 - 350, 860, 350);
Definitely watch this video! It helped me a lot when I started using JUCE. The part about “rectangle cutting” is probably the most important in there. It’s what lalala recommends in his answer and reduces developing time a lot.