Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / XGUI / XGUI_ViewPort.h
index e03dad5d06e56bc7465f5fd1b303b94fa0b9161b..5d73031a1605825dceac5624a8f84ba057fd6f1a 100644 (file)
@@ -40,6 +40,7 @@ public:
   void fitRect(const QRect& rect);
   void startZoomAtPoint(int x, int y);
   void zoom(int x0, int y0, int x, int y);
+    void fitAll(bool theKeepScale = false, bool theWithZ = true, bool theUpd = true);
 
   void setAdvancedZoomingEnabled(const bool theState)
   {
@@ -54,8 +55,11 @@ public:
   {
     return myBackground;
   }
+
   void setBackground(const XGUI_ViewBackground& bgData);
 
+  void syncronizeWith( const XGUI_ViewPort* ref );
+
 signals:
   void vpChangeBackground(const XGUI_ViewBackground&);
   void vpClosed();