aboutsummaryrefslogblamecommitdiff
path: root/src/Bitmap.h
blob: c4064ad487934f983e2569d3049ea91ca379d968 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                           
#include<iostream>
class Bitmap
{
public:
	int width, height;
	unsigned char *pixels;
	Bitmap(int width_, int height_);
	~Bitmap();
	void fill(int r, int g, int b);
	void setPixel(int x,  int y, int r, int g, int b);
};