#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:
- ActionDrawLineParallelThrough(RS_EntityContainer & container, GraphicView & graphicView);
+ ActionDrawLineParallelThrough(EntityContainer & container, GraphicView & graphicView);
~ActionDrawLineParallelThrough();
virtual RS2::ActionType rtti();
virtual void mouseReleaseEvent(QMouseEvent * e);
virtual void updateMouseButtonHints();
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();
private:
/** Closest parallel. */
- RS_Entity * parallel;
+ Entity * parallel;
/** Data of new line */
- RS_LineData data;
+ LineData data;
/** Number of parallels. */
int number;
/** Coordinate of the mouse. */
Vector coord;
/** Original entity. */
- RS_Entity * entity;
+ Entity * entity;
/** Last status before entering length or number. */
Status lastStatus;
};