File: bitmap.h

package info (click to toggle)
vdr-plugin-games 0.6.3-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 472 kB
  • ctags: 448
  • sloc: cpp: 9,884; makefile: 196; sh: 128
file content (23 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _BITMAP_H_
#define _BITMAP_H_

class Bitmap {

public:

	Bitmap(int w, int h);
	Bitmap(char *xpm[]);

	~Bitmap(void);

	int pixel(int x, int y, int idx);
	int pixel(int x, int y);
	int blit(int x, int y);

	char *data;
	int width;
	int height;

};

#endif // _BITMAP_H_