summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2006-07-20 04:03:08 +0000
committerbryce <bryce@users.sourceforge.net>2006-07-20 04:03:08 +0000
commitc102a87dc4726085fb0f7360a5cf7c575e1fde59 (patch)
treee22de7843037e09ed525b3f3051b94cab398c493 /src/sp-object.h
parentAn extension script to recolor markers to match the path stroke color (diff)
downloadinkscape-c102a87dc4726085fb0f7360a5cf7c575e1fde59.tar.gz
inkscape-c102a87dc4726085fb0f7360a5cf7c575e1fde59.zip
marker refactoring work
(bzr r1441)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index 4879e5bea..054fb6c7a 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -206,6 +206,10 @@ struct SPObject : public GObject {
SPObject *lastChild() { return _last_child; }
SPObject const *lastChild() const { return _last_child; }
+ enum Action { ActionGeneral, ActionBBox, ActionUpdate, ActionShow };
+ /** @brief Retrieves children as a GSList */
+ GSList *childList(bool add_ref, Action action = ActionGeneral);
+
SPObject *appendChildRepr(Inkscape::XML::Node *repr);
/** @brief Gets the author-visible label for this object. */