]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
One method is non-inline now to simplify debug
authorsln <sln@opencascade.com>
Wed, 5 Dec 2007 07:48:30 +0000 (07:48 +0000)
committersln <sln@opencascade.com>
Wed, 5 Dec 2007 07:48:30 +0000 (07:48 +0000)
src/GLViewer/GLViewer_ViewPort2d.cxx
src/GLViewer/GLViewer_ViewPort2d.h

index 65278bc17d0cc966a16cd7f137d967d257831931..0fc004d7d726d16bea405d9dd3ca92ff2ee3b7d9 100644 (file)
@@ -1405,3 +1405,8 @@ void GLViewer_ViewPort2d::onMaybeTip( QPoint thePoint, QString& theText, QFont&
     }
   }
 }
+
+void GLViewer_ViewPort2d::setBorder( GLViewer_Rect* border )
+{
+  myBorder = border; 
+}
\ No newline at end of file
index 06034a9968c8299396157e226b0dabd5b0b67df2..4d4581f5286f106f1b09c9a7ef728ea6a53c993b 100644 (file)
@@ -87,7 +87,10 @@ public:
   QColor                 backgroundColor() const;
 
   //! Sets borders of scene
-  void                   setBorder( GLViewer_Rect* border ) { myBorder = border; }
+  void                   setBorder( GLViewer_Rect* border );
+  /*{ 
+    myBorder = border; 
+  }*/
   //! Get current borders of scene
   GLViewer_Rect*         getBorder() const { return myBorder; }