dust3d/src/skeletoneditnodeitem.h

21 lines
473 B
C
Raw Normal View History

2018-03-11 16:02:15 +00:00
#ifndef SKELETON_EDIT_NODE_ITEM_H
#define SKELETON_EDIT_NODE_ITEM_H
#include <QGraphicsEllipseItem>
class SkeletonEditNodeItem : public QGraphicsEllipseItem
{
public:
SkeletonEditNodeItem(const QRectF &rect, QGraphicsItem *parent = 0);
QPointF origin();
float radius();
2018-03-11 16:02:15 +00:00
void setHighlighted(bool highlited);
void setIsNextStartNode(bool isNextStartNode);
private:
bool m_highlighted;
bool m_isNextStartNode;
void updateBorder();
};
#endif