Salome HOME
A revision of documentation changes in the new version. Very minor corrections.
[modules/gui.git] / src / OCCViewer / OCCViewer_Utilities.h
index 1cbbacf2442a7c4239ef38d9ba9e52dd112aa934..fee76863f4f44c140d755b243956e2ab7d521e4e 100755 (executable)
@@ -49,8 +49,10 @@ public:
    * Set 2D mode for the viewer. Hide or show 3D actions.
    * \param theViewer an OCC viewer
    * \param theMode OCC view window mode
+   * \return the old 2d mode.
    */
-  static void setViewer2DMode( OCCViewer_Viewer* theViewer,
+  static OCCViewer_ViewWindow::Mode2dType
+              setViewer2DMode( OCCViewer_Viewer* theViewer,
                                const OCCViewer_ViewWindow::Mode2dType& theMode );
 
 };