-#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:
/**
};
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);
Vector corner2;
};
-#endif
+#endif // __ACTIONDRAWLINERECTANGLE_H__