blob: b9991faf459a31e0661f71c5b23e48ed58996231 (
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:
int w, h;
unsigned char * rgb;
public:
ScreenDump(GipfelWidget *g);
~ScreenDump();
int save(const char *file);
};
#endif
|