aboutsummaryrefslogtreecommitdiff
path: root/src/objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects.h')
-rw-r--r--src/objects.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/objects.h b/src/objects.h
index 3789261..09d1d29 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -56,10 +56,22 @@ struct object
void (*delete_object)(struct object *o);
};
-extern struct object *add_image_object(struct slide *s, double x, double y,
- const char *filename,
- double width, double height);
+struct image_store;
+
+struct image
+{
+ char *filename;
+ GdkPixbuf *pb;
+ int width;
+ int height;
+
+ int refcount;
+};
+
+
+extern struct image *get_image(struct image_store *is, char *filename);
+extern struct image_store *image_store_new(void);
extern void notify_style_update(struct presentation *p,
struct style *sty);