summaryrefslogtreecommitdiff
path: root/src/ScreenDump.H
blob: f52740455ccfb651ff218552372104e4862998dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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