diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-10-05 23:24:27 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-10-05 23:24:27 +0000 |
| commit | 156cf3323a936c7dfccd9e09458cd8b5d174b7fe (patch) | |
| tree | baeeae39954ed5aade824f0426d9bab5d677f5ce /src/shape-editor.h | |
| parent | Attempt to fix build breakage reported by su_v (but not seen locally). (diff) | |
| download | inkscape-156cf3323a936c7dfccd9e09458cd8b5d174b7fe.tar.gz inkscape-156cf3323a936c7dfccd9e09458cd8b5d174b7fe.zip | |
Move more UI code into ui/
(bzr r13341.1.253)
Diffstat (limited to 'src/shape-editor.h')
| -rw-r--r-- | src/shape-editor.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/shape-editor.h b/src/shape-editor.h deleted file mode 100644 index d2611b111..000000000 --- a/src/shape-editor.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef SEEN_SHAPE_EDITOR_H -#define SEEN_SHAPE_EDITOR_H - -/* - * Inkscape::ShapeEditor - * - * This is a container class which contains a knotholder for shapes. - * It is attached to a single item. - * - * Authors: - * bulia byak <buliabyak@users.sf.net> - * - */ - -namespace Inkscape { namespace XML { class Node; } } - -class KnotHolder; -class LivePathEffectObject; -class SPDesktop; -class SPItem; - -class ShapeEditor { -public: - - ShapeEditor(SPDesktop *desktop); - ~ShapeEditor(); - - void set_item(SPItem *item, bool keep_knotholder = false); - void unset_item(bool keep_knotholder = false); - - void update_knotholder(); //((deprecated)) - - bool has_local_change(); - void decrement_local_change(); - - bool knot_mouseover() const; - - static void blockSetItem(bool b) { _blockSetItem = b; } // kludge - - static void event_attr_changed(Inkscape::XML::Node * /*repr*/, char const *name, char const * /*old_value*/, - char const * /*new_value*/, bool /*is_interactive*/, void *data); -private: - bool has_knotholder(); - void reset_item (bool keep_knotholder = true); - const SPItem *get_item(); - - static bool _blockSetItem; - - SPDesktop *desktop; - KnotHolder *knotholder; - Inkscape::XML::Node *knotholder_listener_attached_for; -}; - -#endif // SEEN_SHAPE_EDITOR_H - - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : - |
