X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinerectangle.h;fp=src%2Factions%2Frs_actiondrawlinerectangle.h;h=829ea2e579b648a206f67e62ae9329ca1f6295ed;hb=d774c2655ba2c3657a565f325411144452392277;hp=2bf88a007a77ece19ccf1bde43e5e760e531f3b7;hpb=468780dd17f8b0ebb35427a9fc43491721d44d69;p=architektonas diff --git a/src/actions/rs_actiondrawlinerectangle.h b/src/actions/actiondrawlinerectangle.h similarity index 67% rename from src/actions/rs_actiondrawlinerectangle.h rename to src/actions/actiondrawlinerectangle.h index 2bf88a0..829ea2e 100644 --- a/src/actions/rs_actiondrawlinerectangle.h +++ b/src/actions/actiondrawlinerectangle.h @@ -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__