From 10bc8081ebfa8964c176ec66378171385ca2dd1f Mon Sep 17 00:00:00 2001 From: sln Date: Wed, 5 Dec 2007 07:48:30 +0000 Subject: [PATCH] One method is non-inline now to simplify debug --- src/GLViewer/GLViewer_ViewPort2d.cxx | 5 +++++ src/GLViewer/GLViewer_ViewPort2d.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/GLViewer/GLViewer_ViewPort2d.cxx b/src/GLViewer/GLViewer_ViewPort2d.cxx index 65278bc17..0fc004d7d 100644 --- a/src/GLViewer/GLViewer_ViewPort2d.cxx +++ b/src/GLViewer/GLViewer_ViewPort2d.cxx @@ -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 diff --git a/src/GLViewer/GLViewer_ViewPort2d.h b/src/GLViewer/GLViewer_ViewPort2d.h index 06034a996..4d4581f52 100644 --- a/src/GLViewer/GLViewer_ViewPort2d.h +++ b/src/GLViewer/GLViewer_ViewPort2d.h @@ -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; } -- 2.39.2