Wow sounds good -any chance for a jmax colour scene? Cobalt and yellow i think -obscure and strange i know but in an obscure and strange person :-)
From: Jonathan Wilkes jancsika@yahoo.com Sent: 15/06/2013 22:18 To: pd-list@iem.at Subject: [PD] pd color presets
Hi List, Almost finished with a working version of GUI preferences for patches. It allows:
like object borders, (non-iemgui) text, xlets, canvas bg, etc. 2) choose a preset from a dropdown list to immediately change all colors to some kind of common theme. I just have "inverted" right now, which is white objects on black bg. But there could be "pd-extended", "vanilla", and whatever else would be nice for quick, two-click access. 3) global array called ::pd_colors that controls the colors. So you can change $::pd_colors(selected) orange and all the canvas items that are tagged as selected will turn orange. (Plus the menubuttons in the gui dialog will update to reflect the new color.)
Question 1: How do I hook this into Yvan Volochine's gui-prefs stuff? It currently only saves recent files-- is there a guide on how to add more gui preferences?
Question 2: I've seen screenshots of patches where people obviously dug into the c code and changed colors to achieve some scheme. If you have one you'd like to appear in the dropdown list, send me the colors for canvas items and I'll add a preset.
These colors don't change any of the dialogs or main Pd window, btw.
-Jonathan
From: Alan Brooker alan.brooker2010@gmail.com To: Jonathan Wilkes jancsika@yahoo.com; "pd-list@iem.at" pd-list@iem.at Sent: Tuesday, June 18, 2013 6:31 PM Subject: RE: [PD] pd color presets
Wow sounds good -any chance for a jmax colour scene? Cobalt and yellow i think -obscure and strange i know but in an obscure and strange person :-)
That's tricky because things like iemgui background and foreground color are saved with the patch and do not currently accept an "empty" value. If they did then the user could specify a "default" color inherited from Pd's defaults, and then I could make a preset for your cobalt iemguis while all iemguis where the user specified a color wouldn't be changed.
-Jonathan