Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24853
Modified Files: TrackPanel.cpp Log Message: Name a magic number for TrackPanel timer interval. Index: TrackPanel.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v retrieving revision 1.466 retrieving revision 1.467 diff -u -d -r1.466 -r1.467 --- TrackPanel.cpp 11 Jul 2009 04:05:16 -0000 1.466 +++ TrackPanel.cpp 12 Jul 2009 07:20:11 -0000 1.467 @@ -234,6 +234,7 @@ #define kLeftInset 4 #define kTopInset 4 +#define kTimerInterval 50 // milliseconds // Is the distance between A and B less than D? template < class A, class B, class DIST > bool within(A a, B b, DIST d) @@ -499,7 +500,7 @@ mTimeCount = 0; mTimer.parent = this; - mTimer.Start(50, FALSE); + mTimer.Start(kTimerInterval, FALSE); //Initialize a member variable pointing to the current //drawing track. @@ -4199,7 +4200,7 @@ // When this timer fires, we call TrackPanel::OnTimer and // possibly update the screen for offscreen scrolling. mTimer.Stop(); - mTimer.Start(50, FALSE); + mTimer.Start(kTimerInterval, FALSE); } if (event.ButtonDown()) { ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs