Hi everyone,
I have a problem initializing a CColor variable in ControlP5, does anybody know how to do it?
On the library reference I found: CColor(int cfg, int cbg, int cactive, int ccl, int cvl)
cfg color foreground
cbg color background
cactive color active
ccl color captionLabel
cvl color valueLabel
CColor color1 = ???
I’d like to use:
.setColor(color1) ;
insted of:
.setColorForeground(color(0,200,0))
.setColorBackground(color(0,50,0))
.setColorActive(color(0,255,0));
Thank you!!