diff options
Diffstat (limited to 'dw/image.cc')
-rw-r--r-- | dw/image.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dw/image.cc b/dw/image.cc index 1cb9ce39..3aef42ac 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -22,6 +22,7 @@ #include "image.hh" #include "../lout/msg.h" #include "../lout/misc.hh" +#include "../lout/debug.hh" namespace dw { @@ -143,6 +144,7 @@ int Image::CLASS_ID = -1; Image::Image(const char *altText) { + DBG_OBJ_CREATE ("dw::Image"); registerName ("dw::Image", &CLASS_ID); this->altText = altText ? strdup (altText) : NULL; altTextWidth = -1; // not yet calculated @@ -450,6 +452,16 @@ void Image::drawRow (int row) area.width, area.height); } +void Image::finish () +{ + // Nothing to do; images are always drawn line by line. +} + +void Image::fatal () +{ + // Could display an error. +} + /** * \brief Sets image as server side image map. |