]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Porting on VTK 4.4
authorapo <apo@opencascade.com>
Fri, 7 Apr 2006 13:38:19 +0000 (13:38 +0000)
committerapo <apo@opencascade.com>
Fri, 7 Apr 2006 13:38:19 +0000 (13:38 +0000)
src/SVTK/SVTK_ViewWindow.cxx

index 425e8feae784e8315621e8a0729e3b4632074dab..cf8a045c6c6d9d81d7d38853b6437879178d40e1 100755 (executable)
@@ -617,7 +617,7 @@ QString getGradAxisVisualParams( vtkAxisActor2D* actor )
   // Name
   bool isVisible = actor->GetTitleVisibility();
   QString title ( actor->GetTitle() );
-  float color[ 3 ];
+  vtkFloatingPointType color[ 3 ];
   int font = VTK_ARIAL;
   int bold = 0;
   int italic = 0;
@@ -679,7 +679,7 @@ void setGradAxisVisualParams( vtkAxisActor2D* actor, const QString& params )
     // retrieve and set name parameters
     bool isVisible = paramsLst[2].toUShort();
     QString title = paramsLst[3];
-    float color[3];
+    vtkFloatingPointType color[3];
     color[0] = paramsLst[4].toDouble();
     color[1] = paramsLst[5].toDouble();
     color[2] = paramsLst[6].toDouble();