summaryrefslogtreecommitdiff
path: root/src/ScreenDump.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/ScreenDump.H')
-rw-r--r--src/ScreenDump.H25
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