Author: ks156
Date: 2009-01-09 16:23:27 +0100 (Fri, 09 Jan 2009)
New Revision: 3402

Modified:
   
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
Log:
* Slow down the maximum blinking speed.


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:41:26 UTC (rev 3401)
+++ 
software_suite_v2/software/tools/attitunesStudio/trunk/src/GUI/AttituneCmdConf.java
 2009-01-09 15:23:27 UTC (rev 3402)
@@ -529,7 +529,7 @@
                myPanel.add(jSpinnerCount, new GridBagConstraints(3, 0, 1, 1, 
0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new 
Insets(0, 0, 0, 0), 0, 0));
                jSliderSpeed.setMinimum(10);
                jSliderSpeed.setMaximum(100);
-               
jSliderSpeed.setValue((100-((Double)selectedStruct.get("speed")).intValue()));
+               
jSliderSpeed.setValue((100-(((Double)selectedStruct.get("speed")).intValue())+10));
                myPanel.add(jSliderSpeed, new GridBagConstraints(3, 1, 1, 1, 
0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new 
Insets(0, 0, 0, 0), 0, 0));
        }
        
@@ -538,7 +538,7 @@
                ATTBlock block = new ATTBlock(0);
                
                selectedStruct.put("count", 
((Integer)jSpinnerCount.getValue()).doubleValue());
-               selectedStruct.put("speed", 
(100-((Integer)jSliderSpeed.getValue()).doubleValue()));
+               selectedStruct.put("speed", 
(100-(((Integer)jSliderSpeed.getValue()).doubleValue())+10));
                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", 
(100-((Integer)jSliderSpeed.getValue()).doubleValue()));
+               selectedStruct.put("speed", 
(100-(((Integer)jSliderSpeed.getValue()).doubleValue())+10));
                Double length = 
((Integer)jSpinnerCount.getValue()).doubleValue() * 
                        (100-((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