[PD] pd color presets

Alan Brooker alan.brooker2010 at gmail.com
Wed Jun 19 00:31:19 CEST 2013

  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 at yahoo.com>
Sent: 15/06/2013 22:18
To: pd-list at 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
$::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
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
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

These colors don't change any of the dialogs or main Pd window, btw.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130618/dd79a588/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jMax patch to connect a metronome to the beat_tra.jpg
Type: image/jpeg
Size: 64400 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130618/dd79a588/attachment-0001.jpg>

More information about the Pd-list mailing list