diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-07-05 21:40:54 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-07-05 21:40:54 +0200 |
commit | db527409f2c6f21195245484e936573a3c76f028 (patch) | |
tree | 8d5dcecb8f1f22700dfb42ef950eabdbb5b80285 /src | |
parent | 21fa20047915ac3b75588f762eba92f21c8a32ad (diff) |
whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/OutputImage.H | 24 |
1 files 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 |