]> git.defcon.no Git - avrfbosd/blobdiff - draw.h
Added support for drawing 8bpp images... Updated demo a bit...
[avrfbosd] / draw.h
diff --git a/draw.h b/draw.h
index e7690a45b1bc60e3af30336d8192236b7f10545a..34e0d3cc5a711614d01e86c0ae7de81d62b0e7ef 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -2,6 +2,7 @@
 #define DRAW_H
 
 #include <stdint.h>
+#include <avr/pgmspace.h>
 #include "video_properties.h"
 
 #define c_BLACK  0
@@ -33,5 +34,7 @@ void fill_circle(uint8_t x0, uint8_t y0, uint8_t radius, char c);
 // TODO: WILL need  void draw_bitmap(uint8_t x, uint8_t y, const unsigned char * bmp, uint16_t i = 0, uint8_t width = 0, uint8_t lines = 0);
 // TODO draw_bitmap() will be useful for printing text, as printing text
 // TODO is drawing font elements, and font elements are ... bitmaps.
+void draw_8bpp_bitmap( uint8_t pos_x, uint8_t pos_y, uint8_t width, uint8_t height, const uint8_t* image );
+void pgm_draw_8bpp_bitmap( uint8_t pos_x, uint8_t pos_y, uint8_t width, uint8_t height, const uint8_t* image );
 
 #endif