X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawtext.h;h=cae4c38d52651e65adc5368704ca2d38ba28803d;hb=2ee84c5948ede7fc2f7b4435c5edef42a030ac05;hp=92c338040982ea9e8ef08a5fc106cb9993df2dcc;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawtext.h b/src/actions/actiondrawtext.h index 92c3380..cae4c38 100644 --- a/src/actions/actiondrawtext.h +++ b/src/actions/actiondrawtext.h @@ -2,7 +2,7 @@ #define __ACTIONDRAWTEXT_H__ #include "actioninterface.h" -#include "rs_text.h" +#include "text.h" /** * This action class can handle user events to draw texts. @@ -23,7 +23,7 @@ class ActionDrawText: public ActionInterface }; public: - ActionDrawText(RS_EntityContainer & container, GraphicView & graphicView); + ActionDrawText(EntityContainer & container, GraphicView & graphicView); ~ActionDrawText(); virtual RS2::ActionType rtti(); @@ -34,7 +34,7 @@ class ActionDrawText: public ActionInterface virtual void mouseMoveEvent(QMouseEvent * e); virtual void mouseReleaseEvent(QMouseEvent * e); virtual void coordinateEvent(Vector * e); - virtual void commandEvent(RS_CommandEvent * e); + virtual void commandEvent(CommandEvent * e); virtual QStringList getAvailableCommands(); virtual void hideOptions(); virtual void showOptions(); @@ -47,7 +47,7 @@ class ActionDrawText: public ActionInterface double getAngle(); private: - RS_TextData data; + TextData data; Vector pos; bool textChanged; };