X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinerectangle.h;h=ad687cc3711839f885ba13e41b3dbf92efc2bdae;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=829ea2e579b648a206f67e62ae9329ca1f6295ed;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawlinerectangle.h b/src/actions/actiondrawlinerectangle.h index 829ea2e..ad687cc 100644 --- a/src/actions/actiondrawlinerectangle.h +++ b/src/actions/actiondrawlinerectangle.h @@ -1,7 +1,7 @@ #ifndef __ACTIONDRAWLINERECTANGLE_H__ #define __ACTIONDRAWLINERECTANGLE_H__ -#include "rs_line.h" +#include "line.h" #include "actioninterface.h" #include "vector.h" @@ -24,7 +24,7 @@ class ActionDrawLineRectangle: public ActionInterface }; public: - ActionDrawLineRectangle(RS_EntityContainer & container, GraphicView & graphicView); + ActionDrawLineRectangle(EntityContainer & container, GraphicView & graphicView); ~ActionDrawLineRectangle(); void reset(); @@ -34,24 +34,18 @@ class ActionDrawLineRectangle: public ActionInterface virtual void mouseReleaseEvent(QMouseEvent * e); void preparePreview(); virtual void coordinateEvent(Vector * e); - virtual void commandEvent(RS_CommandEvent * e); + virtual void commandEvent(CommandEvent * e); virtual QStringList getAvailableCommands(); virtual void updateMouseButtonHints(); virtual void updateMouseCursor(); virtual void updateToolBar(); protected: - /** - * Line data for the 4 lines. - */ - RS_LineData data[4]; - /** - * 1st corner. - */ + /** Line data for the 4 lines. */ + LineData data[4]; + /** 1st corner. */ Vector corner1; - /** - * 2nd corner. - */ + /** 2nd corner. */ Vector corner2; };