From 0a2da4f82435a49212e276d9d603e84ac298246d Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 27 Dec 2020 00:09:34 +0100 Subject: Reorganize entire project. --- src/Bitmap.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/Bitmap.h (limited to 'src/Bitmap.h') diff --git a/src/Bitmap.h b/src/Bitmap.h new file mode 100644 index 0000000..c4064ad --- /dev/null +++ b/src/Bitmap.h @@ -0,0 +1,12 @@ +#include +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); +}; + -- cgit v1.2.3