Update to LXEffect enabled function
authorMark Slee <mcslee@gmail.com>
Tue, 25 Feb 2014 21:03:54 +0000 (13:03 -0800)
committerMark Slee <mcslee@gmail.com>
Tue, 25 Feb 2014 21:03:54 +0000 (13:03 -0800)
MarkSlee.pde
_UIImplementation.pde
code/HeronLX.jar

index d4ee633075ab0364526a3a6c1993ef3b99e976e4..202e7da2d3ad20ad560d7aa41d9cff4ecca96d79 100644 (file)
@@ -1328,7 +1328,7 @@ class ColorFuckerEffect extends LXEffect {
   }
   
   public void apply(int[] colors) {
-    if (!enabled) {
+    if (!isEnabled()) {
       return;
     }
     float bMod = level.getValuef();
index ac8d6aa6276043be7d49224d0c8a7cfd965ac85c..3f0c630b8fa2f37c7c0ad39cc4498fd113a0c1ac 100644 (file)
@@ -197,7 +197,7 @@ class UIOutput extends UIWindow {
     }
     
     public void onMousePressed() {
-      output.enabled.setOn(!isSelected());
+      output.enabled.setValue(!isSelected());
     }
   } 
 }
index 82e1dd9b09afc1c908a78c6eacb60e609904c79c..d57c4d43dd53c0948f8bf015f3656fe735bf642c 100755 (executable)
Binary files a/code/HeronLX.jar and b/code/HeronLX.jar differ