Salome HOME
Issue "0021793: [CEA 625] Clipping : from coordinates or from bounding
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewSketcher.h
index b50b948456fcd458c1a708c0ef1ad0dbce321b26..261f8d54f86c3ca6fe48654b808d843564066fad 100755 (executable)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -34,7 +34,7 @@ class QPolygon;
 class QtxRectRubberBand;
 class QtxPolyRubberBand;
 
-#ifdef WNT
+#ifdef WIN32
 #pragma warning ( disable:4251 )
 #endif
 
@@ -57,6 +57,7 @@ public:
   int                          type() const;
   int                          result() const;
   int                          buttonState() const;
+  bool                         isHasShift() const;
   void*                        data() const;
 
   void                         activate();
@@ -88,6 +89,7 @@ protected:
   QCursor                      mySavedCursor;
   QPoint                       myStart, myCurr;
   int                          myButtonState;
+  bool                         myHasShift;
 };
 
 /*!
@@ -142,7 +144,7 @@ private:
   QtxPolyRubberBand*           mypPolyRB;
 };
 
-#ifdef WNT
+#ifdef WIN32
 #pragma warning( default:4251 )
 #endif