File: bitmap.h

package info (click to toggle)
vdr-plugin-games 0.6.3-39
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: cpp: 9,884; sh: 180; makefile: 146
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_