diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 23:14:04 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-26 23:14:04 +0100 |
commit | 29ffdb1136d0c5926cf920b874db93421ac7c75d (patch) | |
tree | 2f3ba908096b906493740d17130658a972521526 /src/ScreenDump.H | |
parent | f4e55a2fb37e86d82c378e2aebc4d3631a462fab (diff) |
add ScreenDump
Diffstat (limited to 'src/ScreenDump.H')
-rw-r--r-- | src/ScreenDump.H | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ScreenDump.H b/src/ScreenDump.H new file mode 100644 index 0000000..f527404 --- /dev/null +++ b/src/ScreenDump.H @@ -0,0 +1,25 @@ +// +// Copyright 2009 Johannes Hofmann <Johannes.Hofmann@gmx.de> +// +// This software may be used and distributed according to the terms +// of the GNU General Public License, incorporated herein by reference. + +#ifndef SCREENDUMP_H +#define SCREENDUMP_H + +#include "GipfelWidget.H" +#include "OutputImage.H" + +class ScreenDump { + private: + GipfelWidget *gipf; + unsigned char * rgb; + + public: + ScreenDump(GipfelWidget *g); + ~ScreenDump(); + + int save(const char *file); +}; + +#endif |