From: apo Date: Fri, 7 Apr 2006 13:38:19 +0000 (+0000) Subject: Porting on VTK 4.4 X-Git-Tag: T3_2_0b1_pre1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c3eec1a4b27a110972b79d45053b4386bb7563c;p=modules%2Fgui.git Porting on VTK 4.4 --- diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 425e8feae..cf8a045c6 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -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();