]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_snapper.h
Refactored CAD tool bars to use predefined actions.
[architektonas] / src / base / rs_snapper.h
index baceae4dd893aba95259034c76de263c2b179379..30e4a0cd0d55d0bef05efcf36cc7fcbc42093c03 100644 (file)
@@ -2,14 +2,12 @@
 #define RS_SNAPPER_H
 
 #include <QtCore>
-
 #include "rs.h"
-#include "rs_entitycontainer.h"
-#include "rs_coordinateevent.h"
+#include "vector.h"
 
 class RS_Entity;
-class RS_GraphicView;
-class Vector;
+class RS_EntityContainer;
+class GraphicView;
 
 /**
  * This class is used for snapping functions in a graphic view.
@@ -24,7 +22,7 @@ class Vector;
 class RS_Snapper
 {
        public:
-               RS_Snapper(RS_EntityContainer & container, RS_GraphicView & graphicView);
+               RS_Snapper(RS_EntityContainer & container, GraphicView & graphicView);
                virtual ~RS_Snapper();
 
                void init();
@@ -68,7 +66,7 @@ class RS_Snapper
 
        protected:
                RS_EntityContainer * container;
-               RS_GraphicView * graphicView;
+               GraphicView * graphicView;
                RS_Entity * keyEntity;
                Vector snapCoord;
                Vector snapSpot;