]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_snapper.h
Fixed problem with dimensions not showing up.
[architektonas] / src / base / rs_snapper.h
index 575bd7badfe72890408385943bcf1e396873a563..52bd4f791de78ceb8d6c07a8c25e9d66f1548983 100644 (file)
@@ -35,6 +35,8 @@ class RS_Snapper
                RS_Entity * getKeyEntity();
                void setSnapMode(RS2::SnapMode snapMode);
                void setSnapRestriction(RS2::SnapRestriction snapRes);
+               RS2::SnapMode getSnapMode(void);
+               RS2::SnapRestriction getSnapRestriction(void);
                void setSnapRange(int r);
 
                Vector snapPoint(QMouseEvent * e);
@@ -46,7 +48,6 @@ class RS_Snapper
                Vector snapMiddle(Vector coord);
                Vector snapDist(Vector coord);
                Vector snapIntersection(Vector coord);
-               //Vector snapDirect(Vector coord, bool abs);
 
                Vector restrictOrthogonal(Vector coord);
                Vector restrictHorizontal(Vector coord);
@@ -60,8 +61,8 @@ class RS_Snapper
                virtual void hideOptions();
                virtual void showOptions();
 
-               void drawSnapper();
-               void deleteSnapper();
+//             void drawSnapper();
+//             void deleteSnapper();
 
 /*
 How should we handle this? All rendering goes through the GraphicView (QG_GraphicView to be
@@ -92,8 +93,8 @@ for setting the coordinates?
                bool Visible(void);
                void Draw(GraphicView *, PaintInterface *);
 
-       private:
-               void xorSnapper();
+//     private:
+//             void xorSnapper();
 
        protected:
                RS_EntityContainer * container;