From db527409f2c6f21195245484e936573a3c76f028 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 5 Jul 2008 21:40:54 +0200 Subject: whitespace --- src/OutputImage.H | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/src/OutputImage.H b/src/OutputImage.H index edbb637..443f6f6 100644 --- a/src/OutputImage.H +++ b/src/OutputImage.H @@ -7,34 +7,26 @@ #ifndef OUTPUTIMAGE_H #define OUTPUTIMAGE_H - class OutputImage { private: int initialized; + protected: + int W, H, line; + + virtual int init_internal(int w1, int h1) {return 0;}; + virtual int set_pixel_internal(int x, int r, int g, int b) {return 0;}; + virtual int next_line_internal() {return 0;}; + virtual int done_internal() {return 0;}; + public: OutputImage(); - virtual ~OutputImage() {}; virtual int init(int w1, int h1); - int set_pixel(int x, int r, int g, int b); - int next_line(); - int done(); - - protected: - int W, H, line; - - virtual int init_internal(int w1, int h1) {return 0;}; - - virtual int set_pixel_internal(int x, int r, int g, int b) {return 0;}; - - virtual int next_line_internal() {return 0;}; - - virtual int done_internal() {return 0;}; }; #endif -- cgit v1.2.3