<html><body><html><head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head>
<body>
<div>
<div style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">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 :-)</div></div>
<div dir="ltr">
<hr>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">From: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:jancsika@yahoo.com">Jonathan Wilkes</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Sent: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">15/06/2013 22:18</span><br>
<span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">To: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif"><a href="mailto:pd-list@iem.at">pd-list@iem.at</a></span><br><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif;FONT-WEIGHT:bold">Subject: </span><span style="FONT-SIZE:11pt;FONT-FAMILY:Calibri,sans-serif">[PD] pd color presets</span><br>
<br></div></body></html><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:12pt">Hi List,<br>     Almost finished with a working version of GUI preferences for patches.<br>It allows:<br>
<br>1) choose your own default colors for common types of items on a canvas,<br>like object borders, (non-iemgui) text, xlets, canvas bg, etc.<br>2) choose a preset from a dropdown list to immediately change all colors to<br>
some kind of common theme.  I just have &quot;inverted&quot; right now, which is<br>white objects on black bg.  But there could be &quot;pd-extended&quot;, &quot;vanilla&quot;, and<br>whatever else would be nice for quick, two-click access.<br>
3) global array called ::pd_colors that controls the colors.  So you can change<br>$::pd_colors(selected) orange and all the canvas items that are tagged as<br>selected will turn orange.  (Plus the menubuttons in the gui dialog will update<br>
to reflect the new
 color.)<br><br>Question 1:<br>How do I hook this into Yvan Volochine&#39;s gui-prefs stuff?  It currently only saves<br>recent files-- is there a guide on how to add more gui preferences?<br><br>Question 2:<br>I&#39;ve seen screenshots of patches where people obviously dug into the c code and<br>
changed colors to achieve some scheme.  If you have one you&#39;d like to appear<br>in the dropdown list, send me the colors for canvas items and I&#39;ll add a preset.<br><br>These colors don&#39;t change any of the dialogs or main Pd window, btw.<br>
<br>-Jonathan<br></div></body></html>