#ifndef __ACTIONDRAWLINEANGLE_H__
#define __ACTIONDRAWLINEANGLE_H__
-#include "rs_line.h"
+#include "line.h"
#include "actioninterface.h"
#include "vector.h"
SetLength /**< Setting length in the command line. */
};
- ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
+ ActionDrawLineAngle(EntityContainer & container, GraphicView & graphicView,
+ double angle = 0.0, bool fixedAngle = false);
~ActionDrawLineAngle();
virtual RS2::ActionType rtti();
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 hideOptions();
virtual void showOptions();
bool hasFixedAngle();
protected:
- /**
- * Line data defined so far.
- */
- RS_LineData data;
- /**
- * Position.
- */
+ /** Line data defined so far. */
+ LineData data;
+ /** Position. */
Vector pos;
- /**
- * Line angle.
- */
+ /** Line angle. */
double angle;
- /**
- * Line length.
- */
+ /** Line length. */
double length;
- /**
- * Is the angle fixed?
- */
+ /** Is the angle fixed? */
bool fixedAngle;
- /**
- * Snap point (start, middle, end).
- */
+ /** Snap point (start, middle, end). */
int snpPoint;
};