From: <pst...@us...> - 2008-03-21 06:16:37
|
Revision: 350 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=350&view=rev Author: pstieber Date: 2008-03-20 23:16:33 -0700 (Thu, 20 Mar 2008) Log Message: ----------- Commented out some unused variables. Modified Paths: -------------- trunk/jazz/src/EventWindow.cpp Modified: trunk/jazz/src/EventWindow.cpp =================================================================== --- trunk/jazz/src/EventWindow.cpp 2008-03-21 06:11:03 UTC (rev 349) +++ trunk/jazz/src/EventWindow.cpp 2008-03-21 06:16:33 UTC (rev 350) @@ -939,11 +939,11 @@ void JZEventFrame::ZoomIn() { - if (ClocksPerPixel >= 2) - { - ClocksPerPixel /= 2; - int x = CanvasX * 2; - int y = CanvasY; +// if (ClocksPerPixel >= 2) +// { +// ClocksPerPixel /= 2; +// int x = CanvasX * 2; +// int y = CanvasY; // wxDC* dc=new wxClientDC(Canvas); // JZEventFrame::OnPaintSub(dc, x, y); @@ -952,18 +952,18 @@ // if (x == 0) // Redraw(); - } +// } } //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- void JZEventFrame::ZoomOut() { - if (ClocksPerPixel <= 120) - { - ClocksPerPixel *= 2; - int x = CanvasX / 2; - int y = CanvasY; +// if (ClocksPerPixel <= 120) +// { +// ClocksPerPixel *= 2; +// int x = CanvasX / 2; +// int y = CanvasY; //wxDC* dc=new wxClientDC(Canvas); //JZEventFrame::OnPaintSub(dc, x, y); @@ -971,5 +971,5 @@ // Canvas->SetScrollPosition(x, y); //if (x == 0) // Redraw(); - } +// } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |