summaryrefslogtreecommitdiff
path: root/lib/dia_xml.h
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2010-08-14 19:42:00 +0200
committerHans Breuer <hans@breuer.org>2010-08-14 19:42:00 +0200
commitca269a01119195b204db4974fe6eb4add5001f62 (patch)
tree701522703ff231763f1ae2fbe1b5c264864f8c0e /lib/dia_xml.h
parent60b7583e833eb7a5bf5b0125bf18d6d821cb8aee (diff)
downloaddia-ca269a01119195b204db4974fe6eb4add5001f62.tar.xz
New std-prop 'pixbuf': preparation of embedding image data
A bitmap editor is not yet built in but may come later;) Also it is not yet used anywhere, but that's coming with the next commit.
Diffstat (limited to 'lib/dia_xml.h')
-rw-r--r--lib/dia_xml.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/dia_xml.h b/lib/dia_xml.h
index f6082e05..faff1cb0 100644
--- a/lib/dia_xml.h
+++ b/lib/dia_xml.h
@@ -58,7 +58,8 @@ typedef enum{
DATATYPE_STRING,
DATATYPE_FONT,
DATATYPE_BEZPOINT,
- DATATYPE_DICT
+ DATATYPE_DICT,
+ DATATYPE_PIXBUF
} DataType;
AttributeNode object_find_attribute(ObjectNode obj_node,
@@ -101,5 +102,8 @@ DataNode data_add_composite(AttributeNode attr,
GHashTable *data_dict (DataNode data);
void data_add_dict (AttributeNode attr, GHashTable *data);
+GdkPixbuf *data_pixbuf (DataNode data);
+void data_add_pixbuf (AttributeNode attr, GdkPixbuf *pixbuf);
+
#endif /* DIA_XML_H */