blob: f782f31a679e85aa38d955b59d09786cc8ce0ffb (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*
* iMON LCD plugin for VDR (C++)
*
* (C) 2009 Andreas Brachold <vdr07 AT deltab de>
*
* This iMON LCD plugin is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as published
* by the Free Software Foundation, version 3 of the License.
*
* See the files README and COPYING for details.
*
*/
#ifndef __IMON_BITMAP_H___
#define __IMON_BITMAP_H___
class ciMonBitmap {
int height;
int width;
unsigned int bytesPerLine;
uchar *bitmap;
protected:
ciMonBitmap();
public:
ciMonBitmap( int w, int h );
virtual ~ciMonBitmap();
ciMonBitmap& operator = (const ciMonBitmap& x);
bool operator == (const ciMonBitmap& x) const;
void clear();
int Height() const { return height; }
int Width() const { return width; }
bool SetPixel(int x, int y);
uchar * getBitmap() const { return bitmap; };
};
#endif
|