Rename the menu entries that create new horizontal and vertical docks: "Canvases...
[synfig.git] / synfig-studio / trunk / src / gtkmm / duck.h
index c688031..618662f 100644 (file)
@@ -2,7 +2,7 @@
 /*!    \file duck.h
 **     \brief Template Header
 **
-**     $Id: duck.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -102,11 +102,13 @@ public:
 private:
 
        sigc::signal<bool,const synfig::Point &> signal_edited_;
+       sigc::signal<bool,const synfig::Angle &> signal_edited_angle_;
        sigc::signal<void> signal_user_click_[5];
 
        Type type_;
 
        synfig::Point point;
+       synfig::Angle rotations;
 
        etl::smart_ptr<synfig::Point> shared_point;
 
@@ -138,6 +140,7 @@ public:
        ~Duck();
 
        sigc::signal<bool,const synfig::Point &> &signal_edited() { return signal_edited_; }
+       sigc::signal<bool,const synfig::Angle &> &signal_edited_angle() { return signal_edited_angle_; }
        sigc::signal<void> &signal_user_click(int i=0) { assert(i>=0); assert(i<5); return signal_user_click_[i]; }
 
        void set_guid(const synfig::GUID& x) { guid_=x; }
@@ -191,6 +194,8 @@ public:
        //! Returns the location of the duck
        synfig::Point get_point()const { return shared_point?*shared_point:point; }
 
+       synfig::Angle get_rotations()const { return rotations; };
+
        synfig::Point get_trans_point()const;
 
        void set_trans_point(const synfig::Point &x);