blob: 3496d655c2a85135ff1884c600b852eb487120c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
|