aboutsummaryrefslogtreecommitdiff
path: root/source/Bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Bitmap.h')
-rw-r--r--source/Bitmap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/Bitmap.h b/source/Bitmap.h
new file mode 100644
index 0000000..c4064ad
--- /dev/null
+++ b/source/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);
+};
+