]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlinerectangle.h
In the middle of major refactoring...
[architektonas] / src / actions / actiondrawlinerectangle.h
similarity index 67%
rename from src/actions/rs_actiondrawlinerectangle.h
rename to src/actions/actiondrawlinerectangle.h
index 2bf88a007a77ece19ccf1bde43e5e760e531f3b7..829ea2e579b648a206f67e62ae9329ca1f6295ed 100644 (file)
@@ -1,17 +1,18 @@
-#ifndef RS_ACTIONDRAWLINERECTANGLE_H
-#define RS_ACTIONDRAWLINERECTANGLE_H
+#ifndef __ACTIONDRAWLINERECTANGLE_H__
+#define __ACTIONDRAWLINERECTANGLE_H__
 
 #include "rs_line.h"
-#include "rs_previewactioninterface.h"
+#include "actioninterface.h"
 #include "vector.h"
 
 /**
- * This action class can handle user events to draw
- * rectangles with two corners given.
+ * This action class can handle user events to draw rectangles with two corners
+ * given.
  *
+ * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_ActionDrawLineRectangle: public RS_PreviewActionInterface
+class ActionDrawLineRectangle: public ActionInterface
 {
        public:
                /**
@@ -23,8 +24,8 @@ class RS_ActionDrawLineRectangle: public RS_PreviewActionInterface
                };
 
        public:
-               RS_ActionDrawLineRectangle(RS_EntityContainer & container, GraphicView & graphicView);
-               ~RS_ActionDrawLineRectangle();
+               ActionDrawLineRectangle(RS_EntityContainer & container, GraphicView & graphicView);
+               ~ActionDrawLineRectangle();
 
                void reset();
                virtual void init(int status = 0);
@@ -54,4 +55,4 @@ class RS_ActionDrawLineRectangle: public RS_PreviewActionInterface
                Vector corner2;
 };
 
-#endif
+#endif // __ACTIONDRAWLINERECTANGLE_H__