]> Shamusworld >> Repos - architektonas/blobdiff - src/drawingview.h
Fix object selection to work while in snap mode.
[architektonas] / src / drawingview.h
index 44420e9e08216fe2f325201d008e4e4139f21843..819ab78d226c3a92a26fb0d7a49a22880e4bd7b7 100644 (file)
@@ -39,7 +39,7 @@ class DrawingView: public QWidget
        private:
                QPoint GetAdjustedMousePosition(QMouseEvent * event);
                QPoint GetAdjustedClientPosition(int x, int y);
-               Vector SnapPointToGrid(Vector);
+//             Vector SnapPointToGrid(Vector);
 
        public:
                bool useAntialiasing;
@@ -51,12 +51,13 @@ class DrawingView: public QWidget
                int32_t offsetX, offsetY;                               // Window offsets
        public:
                Container document;
-               double gridSpacing;                                             // Grid spacing in base units
+//             double gridSpacing;                                             // Grid spacing in base units
                uint32_t gridPixels;                                    // Grid size in pixels
 //             double gridBaseUnits;                                   // Grid size in base units
        private:
                bool collided;
 //Should this go into Object's class variables???
+//maybe, maybe not... :-P
                bool rotateTool;
                double rx, ry;
                bool scrollDrag;
@@ -64,8 +65,6 @@ class DrawingView: public QWidget
                bool addLineTool;
                bool addCircleTool;
                bool addDimensionTool;
-//             bool selectionInProgress;
-//             QRectF selection;
 
        public:
                Action * toolAction;