summaryrefslogtreecommitdiff
path: root/saedit/imageset.h
diff options
context:
space:
mode:
authorMicksha <ms-shaman@gmx.de>2019-01-04 21:37:34 +0100
committerMicksha <ms-shaman@gmx.de>2019-04-13 19:53:49 +0000
commit168ad9d6c730e93d76c801da607df84355187a39 (patch)
treeb771ad105e5a73733ede7559e22467f13a2880a8 /saedit/imageset.h
parent8c75e651f00048dda32db85b2bff34e131960864 (diff)
downloadevol-tools-168ad9d6c730e93d76c801da607df84355187a39.tar.gz
evol-tools-168ad9d6c730e93d76c801da607df84355187a39.tar.bz2
evol-tools-168ad9d6c730e93d76c801da607df84355187a39.tar.xz
evol-tools-168ad9d6c730e93d76c801da607df84355187a39.zip
update saedit to saedit2
Diffstat (limited to 'saedit/imageset.h')
-rw-r--r--saedit/imageset.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/saedit/imageset.h b/saedit/imageset.h
new file mode 100644
index 0000000..3496d65
--- /dev/null
+++ b/saedit/imageset.h
@@ -0,0 +1,50 @@
+#ifndef IMAGESET_H
+#define IMAGESET_H
+
+#include <gdk/gdk.h>
+#include "common.h"
+#include "xml.h"
+
+typedef struct _Imageset Imageset;
+
+Imageset *
+imageset_new (
+ const XMLNode *node,
+ const gchar *cdf_filename
+);
+
+void
+imageset_free (Imageset *imageset);
+
+gint
+imageset_compare_by_name (
+ const Imageset *first,
+ const Imageset *second
+);
+
+GdkPixbuf *
+imageset_get_sprite_by_index (
+ const Imageset *imageset,
+ gint index
+);
+
+gboolean
+imageset_name_equals (
+ const Imageset *imageset,
+ const gchar *name
+);
+
+void
+imageset_get_offset (
+ const Imageset *imageset,
+ gint *offsetX,
+ gint *offsetY
+);
+
+void
+imageset_get_size (
+ const Imageset *imageset,
+ gint *width,
+ gint *height
+);
+#endif