aboutsummaryrefslogtreecommitdiff
path: root/src/Bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bitmap.h')
-rw-r--r--src/Bitmap.h12
1 files changed, 12 insertions, 0 deletions
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<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);
+};
+