#include "actioninterface.h"
#include "vector.h"
-class RS_Entity;
+class Entity;
/**
* This action class can handle user events to draw parallel lines, arcs and
};
public:
- ActionDrawLineParallel(RS_EntityContainer & container, GraphicView & graphicView);
+ ActionDrawLineParallel(EntityContainer & container, GraphicView & graphicView);
~ActionDrawLineParallel();
virtual RS2::ActionType rtti();
virtual void mouseMoveEvent(QMouseEvent * e);
virtual void mouseReleaseEvent(QMouseEvent * e);
virtual void updateMouseButtonHints();
- virtual void commandEvent(RS_CommandEvent * e);
+ virtual void commandEvent(CommandEvent * e);
virtual QStringList getAvailableCommands();
virtual void hideOptions();
virtual void showOptions();
private:
/** Closest parallel. */
- RS_Entity * parallel;
+ Entity * parallel;
/** Data of new line */
- RS_LineData data;
+ LineData data;
/** Distance of the parallel. */
double distance;
/** Number of parallels. */
/** Coordinate of the mouse. */
Vector coord;
/** Original entity. */
- RS_Entity * entity;
+ Entity * entity;
};
#endif // __ACTIONDRAWLINEPARALLEL_H__