From 9c3eec1a4b27a110972b79d45053b4386bb7563c Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 7 Apr 2006 13:38:19 +0000 Subject: [PATCH] Porting on VTK 4.4 --- src/SVTK/SVTK_ViewWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2