X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fduck.h;h=1366472023e43ff20fb5fef3e9df7599b2f887a6;hb=464e1f22b4481c2e6a08c601ef9b4ca0531ab267;hp=5631ac97fe4c0780fba89ca8de626b84c1c87b8e;hpb=756c0d29ac1742f231e6615f9a577e574e35a4af;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/duck.h b/synfig-studio/trunk/src/gtkmm/duck.h index 5631ac9..1366472 100644 --- a/synfig-studio/trunk/src/gtkmm/duck.h +++ b/synfig-studio/trunk/src/gtkmm/duck.h @@ -136,6 +136,7 @@ private: bool radius_; bool tangent_; bool hover_; + bool ignore_; synfig::TransformStack transform_stack_; @@ -175,6 +176,12 @@ public: //! 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& x) { connect_duck=x; } void set_box_duck(const etl::handle& x) { box_duck=x; }