Author: ks156
Date: 2009-01-09 15:21:55 +0100 (Fri, 09 Jan 2009)
New Revision: 3400

Modified:
   software_suite_v2/software/tools/attitunesStudio/trunk/.classpath
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
Log:
* Fixed a small bug with the speed of the leds :
  The convention is right -> quick, left -> slow
  So, I've complemented the value.


Modified: software_suite_v2/software/tools/attitunesStudio/trunk/.classpath
===================================================================
--- software_suite_v2/software/tools/attitunesStudio/trunk/.classpath   
2009-01-09 14:07:30 UTC (rev 3399)
+++ software_suite_v2/software/tools/attitunesStudio/trunk/.classpath   
2009-01-09 14:21:55 UTC (rev 3400)
@@ -3,8 +3,8 @@
        <classpathentry kind="src" path="src"/>
        <classpathentry including="*.PNG|*.att|*.png" kind="src" path="images"/>
        <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-       <classpathentry kind="lib" path="libraries/tuxdroid-api.jar"/>
-       <classpathentry kind="lib" path="libraries/skinlf.jar"/>
-    <classpathentry kind="lib" path="libraries/tuxdroid-installer-paths.jar"/>
+       <classpathentry kind="lib" 
path="/home/paul/MyTux/MyTuxTools/attitunes_studio/tuxdroid-api.jar"/>
+       <classpathentry kind="lib" 
path="/home/paul/MyTux/MyTuxTools/attitunes_studio/skinlf.jar"/>
+       <classpathentry kind="lib" 
path="/home/paul/MyTux/MyTuxTools/attitunes_studio/tuxdroid-installer-paths.jar"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>

Modified: 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
===================================================================
--- 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
 2009-01-09 14:07:30 UTC (rev 3399)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
 2009-01-09 14:21:55 UTC (rev 3400)
@@ -538,7 +538,7 @@
                ATTBlock block = new ATTBlock(0);
                
                selectedStruct.put("count", 
((Integer)jSpinnerCount.getValue()).doubleValue());
-               selectedStruct.put("speed", 
((Integer)jSliderSpeed.getValue()).doubleValue());
+               selectedStruct.put("speed", 
(100-((Integer)jSliderSpeed.getValue()).doubleValue()));
                block.setFunctionParams(selectedStruct);
                attBlockViewer.playBlock(block);
        }
@@ -548,7 +548,7 @@
                Double position = 
attBlockViewer.getFocusedBlock().getPosition();
                
                selectedStruct.put("count", 
((Integer)jSpinnerCount.getValue()).doubleValue());
-               selectedStruct.put("speed", 
((Integer)jSliderSpeed.getValue()).doubleValue());
+               selectedStruct.put("speed", 
(100-((Integer)jSliderSpeed.getValue()).doubleValue()));
                Double length = 
((Integer)jSpinnerCount.getValue()).doubleValue() * 
                        ((Integer)jSliderSpeed.getValue()).doubleValue() * 
0.002;
                attBlockViewer.updateBlock(attBlockViewer.getFocusedBlock(), 
selectedStruct);


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to