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(a)yahoo.com>
Sent: 15/06/2013 22:18
To: pd-list(a)iem.at
Subject: [PD] pd color presets
Hi List,
Almost finished with a working version of GUI preferences for patches.
It allows:
1) choose your own default colors for common types of items on a canvas,
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