From: apo Date: Thu, 6 Oct 2005 11:18:27 +0000 (+0000) Subject: To customize SpaceMause interaction X-Git-Tag: BR-D5-38-2003_D2005-12-10~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=43673354df82b92aad2d40cc912c06066643df63;p=modules%2Fvisu.git To customize SpaceMause interaction (introduce magnification functionality) --- diff --git a/src/VISUGUI/VisuGUI_Module.cxx b/src/VISUGUI/VisuGUI_Module.cxx index 50b787d5..1b975551 100644 --- a/src/VISUGUI/VisuGUI_Module.cxx +++ b/src/VISUGUI/VisuGUI_Module.cxx @@ -48,7 +48,7 @@ #include "SVTK_ViewModel.h" #include "SVTK_ViewManager.h" #include "SVTK_MainWindow.h" -#include "VVTK_Event.h" +#include "VISU_Event.h" #include "VisuGUI_Prs3dTools.h" @@ -669,11 +669,11 @@ VisuGUI_Module } else if ( pref == "spacemouse_func3_btn" ) { val = resMgr->integerValue( "VISU", pref, 10 ); - aMainWindow->InvokeEvent( VVTK::SetSMDecreaseMagnificationEvent, &val ); + aMainWindow->InvokeEvent( VISU::SetSMDecreaseMagnificationEvent, &val ); } else if ( pref == "spacemouse_func4_btn" ) { val = resMgr->integerValue( "VISU", pref, 11 ); - aMainWindow->InvokeEvent( VVTK::SetSMIncreaseMagnificationEvent, &val ); + aMainWindow->InvokeEvent( VISU::SetSMIncreaseMagnificationEvent, &val ); } else if ( pref == "spacemouse_func5_btn" ) { val = resMgr->integerValue( "VISU", pref, 9 );