[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] SF.net SVN: supercollider:[8311] trunk/build
Revision: 8311
http://supercollider.svn.sourceforge.net/supercollider/?rev=8311&view=rev
Author: jmfuo
Date: 2008-12-27 15:41:07 +0000 (Sat, 27 Dec 2008)
Log Message:
-----------
made alwaysOnTop defualt to false for the new EZViews. While I liked true, it interferes with other applications. Really we need something linke alwaysInFront, which would apply only to SC3, but not to other apps.
Modified Paths:
--------------
trunk/build/Help/GUI/EZ-GUI/EZGui.html
trunk/build/SCClassLibrary/Common/GUI/Base/EZgui.sc
Modified: trunk/build/Help/GUI/EZ-GUI/EZGui.html
===================================================================
--- trunk/build/Help/GUI/EZ-GUI/EZGui.html 2008-12-27 15:22:00 UTC (rev 8310)
+++ trunk/build/Help/GUI/EZ-GUI/EZGui.html 2008-12-27 15:41:07 UTC (rev 8311)
@@ -20,12 +20,12 @@
p.p11 {margin: 0.0px 0.0px 0.0px 85.0px; text-indent: -85.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p12 {margin: 0.0px 0.0px 0.0px 57.0px; text-indent: -57.0px; font: 12.0px Helvetica; color: #001ee6}
span.s1 {font: 18.0px Helvetica}
-span.s2 {color: #0c2eee}
+span.s2 {color: #1638e6}
span.s3 {color: #000000}
span.s4 {text-decoration: underline}
-span.s5 {color: #414a7e}
-span.s6 {color: #5763a9}
-span.s7 {color: #596194}
+span.s5 {color: #434b7b}
+span.s6 {color: #5a65a5}
+span.s7 {color: #5b6291}
span.Apple-tab-span {white-space:pre}
</style>
</head>
@@ -56,7 +56,7 @@
<p class="p8"><b><span class="Apple-tab-span"> </span>alwaysOnTop</b></p>
<p class="p7"><b><span class="Apple-tab-span"> </span></b><span class="Apple-tab-span"> </span></p>
<p class="p8"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Makse the popup window always on tiop.</p>
-<p class="p8"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Default value is true.</p>
+<p class="p8"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Default value is false.</p>
<p class="p7"><br></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>visible</b></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>visible_(bool)</b></p>
@@ -80,7 +80,7 @@
<p class="p8"><b><span class="Apple-tab-span"> </span>labelPosition</b></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>labelPosition_(pos)</b></p>
<p class="p7"><b><span class="Apple-tab-span"> </span></b></p>
-<p class="p8"><b><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b>Sets the label position.<span class="Apple-converted-space"> </span>The width and height of the label return to the defaults: 80@xxxxxxxxxxx or this.width@20;</p>
+<p class="p8"><b><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b>Sets the label position. The width and height of the label return to the defaults: 80@xxxxxxxxxxx or this.width@20;</p>
<p class="p9"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><b>pos </b>- \left or \top</p>
<p class="p11"><br></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>labelWidth</b></p>
@@ -98,8 +98,8 @@
<p class="p8"><b><span class="Apple-tab-span"> </span>gap</b></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>gap_(int)</b></p>
<p class="p7"><b><span class="Apple-tab-span"> </span></b></p>
-<p class="p8"><b><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b>The vertical or horizontal<span class="Apple-converted-space"></span></p>
-<p class="p8"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><b>int </b>- by default, the view tries to get its parent's gap.x, otherwise it defaults to 4.<span class="Apple-converted-space"> </span>Setting it overrides these.</p>
+<p class="p8"><b><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b>The vertical or horizontal</p>
+<p class="p8"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><b>int </b>- by default, the view tries to get its parent's gap.x, otherwise it defaults to 4. Setting it overrides these.</p>
<p class="p7"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></p>
<p class="p6"><b>Accessing GUI components</b></p>
<p class="p7"><span class="Apple-tab-span"> </span></p>
@@ -110,6 +110,6 @@
<p class="p8"><b><span class="Apple-tab-span"> </span>labelView_(arg1)</b></p>
<p class="p8"><b><span class="Apple-tab-span"> </span>labelView</b></p>
<p class="p7"><b><span class="Apple-tab-span"> </span></b><span class="Apple-tab-span"> </span></p>
-<p class="p12"><span class="s3"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>An <a href="../Cocoa-GUI/SCStaticText.html"><span class="s4">SCStaticText</span></a><b></b></span><span class="s7"> view</span></p>
+<p class="p12"><span class="s3"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>An <a href="../Cocoa-GUI/SCStaticText.html"><span class="s4">SCStaticText</span></a></span><span class="s7"> view</span></p>
</body>
</html>
Modified: trunk/build/SCClassLibrary/Common/GUI/Base/EZgui.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/GUI/Base/EZgui.sc 2008-12-27 15:22:00 UTC (rev 8310)
+++ trunk/build/SCClassLibrary/Common/GUI/Base/EZgui.sc 2008-12-27 15:41:07 UTC (rev 8311)
@@ -1,5 +1,5 @@
EZGui{ // an abstract class
- var <>labelView, <widget, <view, <gap, <labelPosition, labelSize, <>alwaysOnTop=true;
+ var <>labelView, <widget, <view, <gap, <labelPosition, labelSize, <alwaysOnTop=false;
label_{ arg string;
@@ -57,6 +57,14 @@
^ labelSize.x
}
+ alwaysOnTop_{arg bool;
+ alwaysOnTop=bool;
+ this.view.parent.respondsTo(\findWindow).if{
+ this.view.parent.findWindow.alwaysOnTop=alwaysOnTop;
+ }
+
+ }
+
labelWidth_{arg width;
labelSize.x=width;
this.bounds_(view.bounds);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/