diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-10 21:00:58 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-10 21:00:58 +0200 |
commit | 06f5833b8f41196bc427c06e39ed21d431c1e665 (patch) | |
tree | 17654b3a7449ffdcfae9916fc211d5750789dfad /src/image.hh | |
parent | 6acc9e9c711bad1f9d0125d884b9993ed1c4789e (diff) |
Some refactoring: the image decoding code now only accesses dw::core::ImgRenderer, not dw::Image (which now implements the former) anymore.
Diffstat (limited to 'src/image.hh')
-rw-r--r-- | src/image.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.hh b/src/image.hh index a66edaae..80f23461 100644 --- a/src/image.hh +++ b/src/image.hh @@ -44,7 +44,7 @@ typedef enum { } ImageState; struct _DilloImage { - void *dw; + void *layout, *img_rnd; /* Parameters as told by image data */ uint_t width; @@ -62,7 +62,7 @@ struct _DilloImage { /* * Function prototypes */ -DilloImage *a_Image_new(const char *alt_text, int32_t bg_color); +DilloImage *a_Image_new(void *layout, void *img_rnd, int32_t bg_color); void a_Image_ref(DilloImage *Image); void a_Image_unref(DilloImage *Image); |