Update of /cvsroot/audacity/audacity-src/src/widgets
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30123/src/widgets

Modified Files:
        ASlider.cpp ASlider.h 
Log Message:
Add missing keyboard commands for Transcription toolbar controls.

Index: ASlider.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/ASlider.cpp,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- ASlider.cpp 16 May 2009 11:13:13 -0000      1.70
+++ ASlider.cpp 3 Jun 2009 03:48:44 -0000       1.71
@@ -1043,7 +1043,7 @@
    Refresh();
 }
 
-void LWSlider::Increase(int steps)
+void LWSlider::Increase(float steps)
 {
    float stepValue = mStepValue;
 
@@ -1066,7 +1066,7 @@
    Refresh();
 }
 
-void LWSlider::Decrease(int steps)
+void LWSlider::Decrease(float steps)
 {
    float stepValue = mStepValue;
 
@@ -1236,12 +1236,12 @@
    mLWSlider->Set(value);
 }
 
-void ASlider::Increase(int steps)
+void ASlider::Increase(float steps)
 {
    mLWSlider->Increase(steps);
 }
 
-void ASlider::Decrease(int steps)
+void ASlider::Decrease(float steps)
 {
    mLWSlider->Decrease(steps);
 }

Index: ASlider.h
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/ASlider.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- ASlider.h   30 Mar 2009 09:47:00 -0000      1.29
+++ ASlider.h   3 Jun 2009 03:48:44 -0000       1.30
@@ -105,11 +105,11 @@
    void SetDefaultValue(float value);
    void SetDefaultShortcut(bool value);
 
-   float Get( bool convert = true );
+   float Get(bool convert = true);
    void Set(float value);
 
-   void Increase(int steps);
-   void Decrease(int steps);
+   void Increase(float steps);
+   void Decrease(float steps);
 
    // If set to less than 1.0, moving the mouse one pixel will move
    // the slider by less than 1 unit
@@ -216,8 +216,8 @@
    float Get( bool convert = true );
    void Set(float value);
 
-   void Increase(int steps);
-   void Decrease(int steps);
+   void Increase(float steps);
+   void Decrease(float steps);
    bool ShowDialog(wxPoint pos = wxPoint(-1, -1));
 
    void SetSpeed(float speed);


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to