]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PAL9994
authorasl <asl@opencascade.com>
Fri, 14 Oct 2005 12:23:08 +0000 (12:23 +0000)
committerasl <asl@opencascade.com>
Fri, 14 Oct 2005 12:23:08 +0000 (12:23 +0000)
src/VISU_I/VISU_View_i.cc

index 6c8293269f68c7ba257d14a51dbb207340b5d12f..6b1244b5b5a8d92654ab2e8f7af089e4b547c57a 100644 (file)
@@ -50,7 +50,6 @@
 
 #include "SPlot2d_ViewModel.h"
 #include "Plot2d_ViewFrame.h"
-#include "Plot2d_ViewModel.h"
 
 #include "SalomeApp_Application.h"
 #include "SalomeApp_Study.h"
@@ -941,7 +940,7 @@ namespace VISU {
   {
     if (MYDEBUG) MESSAGE("XYPlot_i::XYPlot_i");
     if (theApplication) {
-      myViewManager = ProcessEvent(new TNewSpecViewEvent<Plot2d_Viewer>(theApplication));
+      myViewManager = ProcessEvent(new TNewSpecViewEvent<SPlot2d_Viewer>(theApplication));
     }
   }
 
@@ -1072,8 +1071,8 @@ namespace VISU {
   protected:
     Plot2d_ViewFrame* myView;
     TFun myFun;
-    CORBA::Boolean myMajor, myNumMajor;
-    CORBA::Boolean myMinor, myNumMinor;
+    CORBA::Boolean myMajor, myMinor;
+    CORBA::Long myNumMajor, myNumMinor;
   };
 
   void XYPlot_i::EnableXGrid (CORBA::Boolean theMajor, CORBA::Long theNumMajor,
@@ -1085,8 +1084,9 @@ namespace VISU {
   void XYPlot_i::EnableYGrid(CORBA::Boolean theMajor, CORBA::Long theNumMajor,
                             CORBA::Boolean theMinor, CORBA::Long theNumMinor)
   {
-    //jfa tmp:ProcessVoidEvent(new TEnableGridEvent(myView,&Plot2d_ViewFrame::setYGrid,
-    //jfa tmp:                                      theMajor,theNumMajor,theMinor,theNumMinor));
+    //asl: Plot2d_ViewFrame::setYGrid has more parameters
+    //ProcessVoidEvent(new TEnableGridEvent(myView,&Plot2d_ViewFrame::setYGrid,
+    //                theMajor,theNumMajor,theMinor,theNumMinor));
   }
 
   class TSetScaleModeEvent: public SALOME_Event