blob: 8564054443bb740602d8f40823948e0c980c78f9 (
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
26
|
//
// 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 <FL/Fl_Widget.H>
#include "OutputImage.H"
class ScreenDump {
private:
int w, h;
unsigned char * rgb;
public:
ScreenDump(Fl_Widget *widget);
~ScreenDump();
int save(OutputImage *out);
};
#endif
|