public:
enum Type
{
- TYPE_NONE = (0),
- TYPE_POSITION = (1<<0),
- TYPE_TANGENT = (1<<1),
- TYPE_RADIUS = (1<<2),
- TYPE_WIDTH = (1<<3),
- TYPE_ANGLE = (1<<4),
- TYPE_VERTEX = (1<<5),
+ TYPE_NONE = (0), // 0
+ TYPE_POSITION = (1<<0), // 1
+ TYPE_TANGENT = (1<<1), // 2
+ TYPE_RADIUS = (1<<2), // 4
+ TYPE_WIDTH = (1<<3), // 8
+ TYPE_ANGLE = (1<<4), // 16
+ TYPE_VERTEX = (1<<5), // 32
TYPE_ALL = (~0),
bool radius_;
bool tangent_;
bool hover_;
+ bool ignore_;
synfig::TransformStack transform_stack_;
//! Retrieves whether to show the duck as if it is being hovered over
bool get_hover()const { return hover_; }
+ //! Sets whether to ignore the duck when checking for user interaction
+ void set_ignore(bool i) { ignore_=i; }
+
+ //! Retrieves whether to ignore the duck when checking for user interaction
+ bool get_ignore()const { return ignore_; }
+
void set_connect_duck(const etl::handle<Duck>& x) { connect_duck=x; }
void set_box_duck(const etl::handle<Duck>& x) { box_duck=x; }