[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8300] trunk/build/SCClassLibrary/Common/GUI/ PlusGUI/Control/SynthDescPlusGUI.sc



Revision: 8300
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8300&view=rev
Author:   jmfuo
Date:     2008-12-26 14:12:03 +0000 (Fri, 26 Dec 2008)

Log Message:
-----------
removed gradient form background (not swing compatible)

Modified Paths:
--------------
    trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescPlusGUI.sc

Modified: trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescPlusGUI.sc
===================================================================
--- trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescPlusGUI.sc	2008-12-26 13:57:42 UTC (rev 8299)
+++ trunk/build/SCClassLibrary/Common/GUI/PlusGUI/Control/SynthDescPlusGUI.sc	2008-12-26 14:12:03 UTC (rev 8300)
@@ -23,8 +23,7 @@
 		w.view.decorator = FlowLayout(w.view.bounds);
 		
 		if( gui.id === \cocoa, {
-			w.view.background = HiliteGradient(Color.rand(0.5,1.0),Color.rand(0.5,1.0),
-								[\h,\v].choose, 100, rrand(0.1,0.9));
+			w.view.background = Color.rand; // gradients are currently not swing compatible
 		});
 		
 		// add a button to start and stop the sound.


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/