X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionblockscreate.h;fp=src%2Factions%2Frs_actionblockscreate.h;h=27a462a3cc079dc3b197a9f00dab913d7e54e3b3;hb=d774c2655ba2c3657a565f325411144452392277;hp=dacd03c2d541a133ad762ef4823761c2e02d0be0;hpb=468780dd17f8b0ebb35427a9fc43491721d44d69;p=architektonas diff --git a/src/actions/rs_actionblockscreate.h b/src/actions/actionblockscreate.h similarity index 61% rename from src/actions/rs_actionblockscreate.h rename to src/actions/actionblockscreate.h index dacd03c..27a462a 100644 --- a/src/actions/rs_actionblockscreate.h +++ b/src/actions/actionblockscreate.h @@ -1,15 +1,17 @@ -#ifndef RS_ACTIONBLOCKSCREATE_H -#define RS_ACTIONBLOCKSCREATE_H +#ifndef __ACTIONBLOCKSCREATE_H__ +#define __ACTIONBLOCKSCREATE_H__ -#include "rs_previewactioninterface.h" +#include "actioninterface.h" +#include "vector.h" /** * This action class can handle user events for creating blocks from * existing entities. * + * @author James Hammons * @author Andrew Mustun */ -class RS_ActionBlocksCreate: public RS_PreviewActionInterface +class ActionBlocksCreate: public ActionInterface { public: /** @@ -21,8 +23,8 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface }; public: - RS_ActionBlocksCreate(RS_EntityContainer & container, GraphicView & graphicView); - ~RS_ActionBlocksCreate(); + ActionBlocksCreate(RS_EntityContainer & container, GraphicView & graphicView); + ~ActionBlocksCreate(); virtual RS2::ActionType rtti(); virtual void init(int status = 0); @@ -30,10 +32,6 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface virtual void mouseMoveEvent(QMouseEvent * e); virtual void mouseReleaseEvent(QMouseEvent * e); virtual void coordinateEvent(Vector * e); - //virtual void commandEvent(RS_CommandEvent * e); - //virtual QStringList getAvailableCommands(); - //virtual void showOptions(); - //virtual void hideOptions(); virtual void updateMouseButtonHints(); virtual void updateMouseCursor(); virtual void updateToolBar(); @@ -42,4 +40,4 @@ class RS_ActionBlocksCreate: public RS_PreviewActionInterface Vector referencePoint; }; -#endif +#endif // __ACTIONBLOCKSCREATE_H__