]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlineangle.h
In the middle of major refactoring...
[architektonas] / src / actions / actiondrawlineangle.h
similarity index 75%
rename from src/actions/rs_actiondrawlineangle.h
rename to src/actions/actiondrawlineangle.h
index 49b1c3cdbd9b46986611152d9a29ad28c28367aa..5282c6600238cb207776bee133dcc8e55f6e89ae 100644 (file)
@@ -1,17 +1,18 @@
-#ifndef RS_ACTIONDRAWLINEANGLE_H
-#define RS_ACTIONDRAWLINEANGLE_H
+#ifndef __ACTIONDRAWLINEANGLE_H__
+#define __ACTIONDRAWLINEANGLE_H__
 
 #include "rs_line.h"
-#include "rs_previewactioninterface.h"
+#include "actioninterface.h"
 #include "vector.h"
 
 /**
- * This action class can handle user events to draw
- * simple lines at a gien angle.
+ * This action class can handle user events to draw simple lines at a given
+ * angle.
  *
+ * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_ActionDrawLineAngle: public RS_PreviewActionInterface
+class ActionDrawLineAngle: public ActionInterface
 {
        public:
                /**
@@ -23,8 +24,8 @@ class RS_ActionDrawLineAngle: public RS_PreviewActionInterface
                        SetLength     /**< Setting length in the command line. */
                };
 
-               RS_ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
-               ~RS_ActionDrawLineAngle();
+               ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
+               ~ActionDrawLineAngle();
 
                virtual RS2::ActionType rtti();
                void reset();
@@ -76,5 +77,4 @@ class RS_ActionDrawLineAngle: public RS_PreviewActionInterface
                int snpPoint;
 };
 
-#endif
-
+#endif // __ACTIONDRAWLINEANGLE_H__