]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.cxx
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pPlotterWindow.cxx
index 57c5e2becef382703a74883dfdf48fb645a8cfff..7442ce91f2029233afcb0ecb4e8b0f675fd8f606 100644 (file)
@@ -199,7 +199,7 @@ wxPoint pPlotterWindow:: getRealPoint(wxPoint pixelPoint)
 
 void pPlotterWindow::setActualScales()
 {
-       int maxX,maxY;//,minX,minY;
+       // int maxX,maxY,minX,minY; // JPRx
        /*
        if the function is drawed interactively the maxX and the 
        maxY in actual are sets by the user
@@ -1087,7 +1087,7 @@ void pPlotterWindow::onMouseMove(wxMouseEvent& event)
        {
                actual->setScreenX(m_scrX);
                actual->setScreenY(m_scrY);
-               int j=0;
+               //int j=0; // JPRx
                if((initialMovingCLick==-1) && event.LeftIsDown()  )
                 {
                        if(actual->isInFunction(realPoint.x,realPoint.y))
@@ -1387,9 +1387,10 @@ int pPlotterWindow:: addFunction(pGraphicalFunction * function)
                function->initializeSplineVectors();
                UpdateAll();
        }
-       bool added1=functions.Append(function)!=NULL;
+       // bool added1= functions.Append(function)!=NULL; // JPRx
+       
        int id=functions.IndexOf(function);
-       bool added2=AddLayer(function);
+       /* bool added2= */ AddLayer(function);// JPRx
        UpdateAll();
        return id;//added1 && added2;
 }
@@ -1582,7 +1583,7 @@ DEPRECATED
 */
 void pPlotterWindow :: actualizeViewRange(int newMinX, int newMaxX)
 {
-       int minPixX,maxPixX,min,max;
+       int minPixX,maxPixX/*, min, max*/;  // JPRx
        double sx;
        /*
                getiing pixels
@@ -1795,7 +1796,7 @@ void pPlotterWindow::moveFunctions( float porcentageMinX,float porcentageMaxX)
 */
 int pPlotterWindow::addFunctionToMove(pGraphicalFunction *function)
 {
-       bool added1=functionsToMove.Append(function)!=NULL;
+       // bool added1=  functionsToMove.Append(function)!=NULL; // JPRx
        int id=functionsToMove.IndexOf(function);
        UpdateAll();
        return id;