Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / SUPERVGraph / SUPERVGraph_ViewFrame.h
index 49c297a7a907406a7ee70ff1743d9c6346027d3e..05edf9581a2fed40191ddafe1b9d18b31772ffc6 100644 (file)
@@ -34,6 +34,7 @@
 #include "QAD_Application.h"
 
 #include "SALOME_InteractiveObject.hxx"
+#include "SALOME_Selection.h" 
 
 class QAD_EXPORT SUPERVGraph_View: public QWidget, public QAD_PopupClientServer{
   Q_OBJECT;
@@ -62,9 +63,9 @@ class QAD_EXPORT SUPERVGraph_ViewFrame : public QAD_ViewFrame {
   void                           setBackgroundColor( const QColor& );
   QColor                         backgroundColor() const;
   
-  void                           SetSelectionMode( int mode );
+  void                           SetSelectionMode( Selection_Mode mode );
 
-  void                           SetTrihedronSize( int dim );
+  void                           onAdjustTrihedron( );
   
   /*  popup management */
   void                           setPopupServer( QAD_Application* );
@@ -86,7 +87,7 @@ class QAD_EXPORT SUPERVGraph_ViewFrame : public QAD_ViewFrame {
 
 
   /* selection */
-  Handle(SALOME_InteractiveObject) FindIObject(const char* Entry) { };
+  Handle(SALOME_InteractiveObject) FindIObject(const char* Entry) { Handle(SALOME_InteractiveObject) o; return o; };
 
   /* display */                
   void           Display(const Handle(SALOME_InteractiveObject)& IObject, bool immediatly = true){};