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

Modified Files:
        Export.cpp 
Log Message:
Converted all wxDC::DrawLine()s to AColor::Line()s so that it can handle        
                                        
the line drawing differences among platforms.                                   
                                        
                                                                                
                                        
Hopefully fixed all 1-off drawing issues that creaped in due to the platform    
                                        
differences.  Everyone should keep an extra critical eye open for stray         
                                        
pixels or lines that seem to be longer at one of the ends.                      
                                        

Reworked much of the waveform drawing code in TrackArtist to improve
performance.

Due to the performance gains in TrackArtist, the Mac specific waveform
drawing code was removed since it was out of sync with the other platforms.

Fixed drawing and click detection within NoteTrack label area.


Index: Export.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/export/Export.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- Export.cpp  9 Apr 2009 14:33:49 -0000       1.93
+++ Export.cpp  16 May 2009 11:13:13 -0000      1.94
@@ -950,7 +950,7 @@
    for( int i = 0; i < mMixerSpec->GetNumTracks(); i++ )
       for( int j = 0; j < mMixerSpec->GetNumChannels(); j++ )
          if( mMixerSpec->mMap[ i ][ j ] )
-            memDC.DrawLine( mTrackRects[ i ].x + mBoxWidth, 
+            AColor::Line(dc, mTrackRects[ i ].x + mBoxWidth, 
                   mTrackRects[ i ].y + mTrackHeight / 2, mChannelRects[ j ].x,
                   mChannelRects[ j ].y + mChannelHeight / 2 );
    


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to