]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorouv <ouv@opencascade.com>
Tue, 7 Nov 2006 13:55:11 +0000 (13:55 +0000)
committerouv <ouv@opencascade.com>
Tue, 7 Nov 2006 13:55:11 +0000 (13:55 +0000)
src/VISUGUI/VisuGUI_Slider.cxx
src/VISUGUI/VisuGUI_Slider.h

index 844c7ad3b9a9615eb5ae5703c4b9d9e21eddc16a..3146410335c661a8b00a6d533179bf4cd4baf3f4 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "VisuGUI_Slider.h"
 
-#include "SUIT_Session.h"
 #include "SUIT_ResourceMgr.h"
 
 #include "LightApp_SelectionMgr.h"
 /*!
   Constructor
 */
-VisuGUI_Slider::VisuGUI_Slider( VVTK_ViewWindow* theViewWondow,
+VisuGUI_Slider::VisuGUI_Slider( VVTK_ViewWindow* theViewWindow,
                                LightApp_SelectionMgr* theSelectionMgr )
-  : QtxDockWindow( InDock, theViewWondow->getMainWindow1() ),
-    myMainWindow( theViewWondow->getMainWindow1() ),
+  : QtxDockWindow( InDock, theViewWindow->getMainWindow1() ),
+    myMainWindow( theViewWindow->getMainWindow1() ),
     mySelectionMgr( theSelectionMgr )
 {
-  //SUIT_ResourceMgr* aResourceMgr = SUIT_Session::session()->resourceMgr();
+  //SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
 
   setHorizontallyStretchable( true );
 
index d196ed6998cf419f80888f870f58ed53ae9fc24f..cfc5d314537d527b4a4c89f8b6e324f386ee8efd 100644 (file)
@@ -55,10 +55,7 @@ class VisuGUI_Slider : public QtxDockWindow
   Q_OBJECT
 
 public:
-  enum { First = 0, Previous, Next, Last };
-
-public:
-  VisuGUI_Slider( VVTK_ViewWindow* theViewWondow,
+  VisuGUI_Slider( VVTK_ViewWindow* theViewWindow,
                  LightApp_SelectionMgr* theSelectionMgr );
   virtual ~VisuGUI_Slider();