<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
It should be super easy by simply calling from C a proc inside tcl
that does saving/recalling and only does so if prefs are enabled...
I would also like to implement a comprehensive preset saving where
all values are saved regardless of the theme name, thereby theme
name being merely a proxy/preset for all those values to be changed
in a certain way.<br>
<br>
Best,<br>
<br>
Ico<br>
<br>
<div class="moz-cite-prefix">On 11/11/2014 9:28 AM, Jonathan Wilkes
wrote:<br>
</div>
<blockquote
cite="mid:1415716130.45805.YahooMailNeo@web162602.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div><span>Yes, it's committed. It was just easier to do it all
in tcl, and the "recent files" stuff is still handled
there. It's a little complicated to do it in C because I
need to set a global tcl variable. (Same with recent
files.) Is there an easy way to do that if I set/read prefs
from C?<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent; font-style:
normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida
Grande,sans-serif; background-color: transparent; font-style:
normal;"><span>-Jonathan<br>
</span></div>
<div class="qtdSeparateBR"><br>
<br>
</div>
<div style="display: block;" class="yahoo_quoted">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
16px;">
<div style="font-family: HelveticaNeue, Helvetica Neue,
Helvetica, Arial, Lucida Grande, sans-serif; font-size:
16px;">
<div dir="ltr"> <font face="Arial" size="2"> On Tuesday,
November 11, 2014 9:17 AM, Ivica Ico Bukvic
<a class="moz-txt-link-rfc2396E" href="mailto:ico@vt.edu"><ico@vt.edu></a> wrote:<br>
</font> </div>
<br>
<br>
<div class="y_msg_container">
<div id="yiv3912873764">
<div> Is this now committed in the git? I would
suggest doing this in C, rather than tcl side of
things so that we can obey the -noprefs flag, as you
pointed out...<br clear="none">
<br clear="none">
<div class="yiv3912873764yqt5739044268"
id="yiv3912873764yqtfd80675">
<div class="yiv3912873764moz-cite-prefix">On
11/11/2014 12:44 AM, Jonathan Wilkes wrote:<br
clear="none">
</div>
<blockquote type="cite">
<div
style="color:#000;background-color:#fff;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande, sans-serif;font-size:16px;">
<div><span>I went ahead and commited some
changes which make the gui preset choice
persistent. (Still no way to make
individual color choices stick yet.)</span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><br
clear="none">
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><span>Seems
to work ok, but please test.<br
clear="none">
</span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><br
clear="none">
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><span>We
were also talking about saving all the gui
prefs from the Pd side, rather than
through tcl. (That way gui prefs would
react to the -noprefs flag, which they
don't atm.)</span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><br
clear="none">
<span></span></div>
<div style="color:rgb(0, 0,
0);font-size:16px;font-family:HelveticaNeue,
Helvetica Neue, Helvetica, Arial, Lucida
Grande,
sans-serif;background-color:transparent;font-style:normal;"><span>-Jonathan<br
clear="none">
</span></div>
</div>
</blockquote>
<br clear="none">
</div>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ivica Ico Bukvic, D.M.A.
Associate Professor
Computer Music
ICAT Senior Fellow
DISIS, L2Ork
Virginia Tech
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
<a class="moz-txt-link-abbreviated" href="mailto:ico@vt.edu">ico@vt.edu</a>
<a class="moz-txt-link-abbreviated" href="http://www.performingarts.vt.edu">www.performingarts.vt.edu</a>
disis.music.vt.edu
l2ork.music.vt.edu</pre>
</body>
</html>