From 97f03d296d77284c723d9ff8485fed51dc17c32c Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Tue, 1 Aug 2006 16:30:44 +0200 Subject: implement OutputImage stuff --- src/OutputImage.H | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/OutputImage.H') diff --git a/src/OutputImage.H b/src/OutputImage.H index 4ecb0e4..65aca92 100644 --- a/src/OutputImage.H +++ b/src/OutputImage.H @@ -22,21 +22,30 @@ class OutputImage { + private: + int w, h; + public: OutputImage(); ~OutputImage(); - virtual int init(int w, int h); + virtual int init(int w1, int h1); int set_pixel(int x, char r, char g, char b); int next_line(); + int done(); + protected: + virtual int init_internal(int w1, h1); + virtual int set_pixel_internal(int x, char r, char g, char b); virtual int next_line_internal(); + + virtual int done_internal(); }; class OutputImages { @@ -54,6 +63,8 @@ class OutputImages { int set_pixel(int x, char r, char g, char b); int next_line(); + + int done(); } #endif -- cgit v1.2.3