X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fknotholder.h;h=bd57776dbfd4066650b2d9e4f8f8743e6efe5e23;hb=8d358698ecbf192ba7c6dc05d4f7de7592753d9f;hp=14a1397689f5fc23a1f53c6b3476266468977e4c;hpb=1e944d29efb206f5d0b5d1069cb098e22169d548;p=inkscape.git diff --git a/src/knotholder.h b/src/knotholder.h index 14a139768..bd57776db 100644 --- a/src/knotholder.h +++ b/src/knotholder.h @@ -52,15 +52,18 @@ public: void add_pattern_knotholder(); -//private: + const SPItem *getItem() { return item; } + + friend class ShapeEditor; + +protected: SPDesktop *desktop; SPItem *item; // TODO: Remove this and keep the actual item (e.g., SPRect etc.) in the item-specific knotholders + Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners. std::list entity; SPKnotHolderReleasedFunc released; - Inkscape::XML::Node *repr; ///< repr of the item, for setting and releasing listeners. - gboolean local_change; ///< if true, no need to recreate knotholder if repr was changed. };