aboutsummaryrefslogtreecommitdiff
path: root/src/image.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-10-22 10:33:03 +0200
committerSebastian Geerken <devnull@localhost>2013-10-22 10:33:03 +0200
commit10934cb7dbb3eeaa30a9041228cf26c1c790bf5d (patch)
treeb11e3a90642ef171963f0b9e9e60f06183b5a455 /src/image.cc
parent385e55080f609bd86dc6d61113810773761e0b09 (diff)
Extended ImgRenderer; new option (in the code) for drawing background images at once.
Diffstat (limited to 'src/image.cc')
-rw-r--r--src/image.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/image.cc b/src/image.cc
index 570c012a..04d89a82 100644
--- a/src/image.cc
+++ b/src/image.cc
@@ -118,5 +118,15 @@ void a_Image_write(DilloImage *Image, uint_t y)
void a_Image_close(DilloImage *Image)
{
_MSG("a_Image_close\n");
+ I2IR(Image)->finish();
+}
+
+/*
+ * Implement the abort method
+ */
+void a_Image_abort(DilloImage *Image)
+{
+ _MSG("a_Image_abort\n");
+ I2IR(Image)->fatal();
}