V2
Fork of C12832 by
Diff: C12832_lcd.h
- Revision:
- 7:0f5a3b0f3cab
- Parent:
- 6:6b96b16aad47
- Child:
- 12:4affce236743
diff -r 6b96b16aad47 -r 0f5a3b0f3cab C12832_lcd.h --- a/C12832_lcd.h Wed Dec 05 21:43:17 2012 +0000 +++ b/C12832_lcd.h Fri Dec 21 20:43:59 2012 +0000 @@ -41,6 +41,15 @@ */ enum {NORMAL,XOR}; +/** Bitmap + */ +struct Bitmap{ + int xSize; + int ySize; + int Byte_in_Line; + char* data; + }; + class C12832_LCD : public GraphicsDisplay { public: @@ -235,7 +244,16 @@ * */ void set_font(unsigned char* f); + + /** print bitmap to buffer + * + * @param bm Bitmap in flash + * @param x x start + * @param y y start + * + */ + void print_bm(Bitmap bm, int x, int y); protected: