Lua drawBitmap on X7

This commit is contained in:
Bertrand Songis
2017-08-04 12:08:10 +02:00
committed by Kilrah
parent c82c7ee5db
commit 541aa459cf
7 changed files with 193 additions and 13 deletions
-1
View File
@@ -34,7 +34,6 @@
#define MENU_HEADER_HEIGHT FH
#define MENU_INIT_VPOS 0
#define BITMAP_BUFFER_SIZE(w, h) (2 + (w) * (((h)+7)/8)*4)
#define MODEL_BITMAP_WIDTH 64
#define MODEL_BITMAP_HEIGHT 32
#define MODEL_BITMAP_SIZE BITMAP_BUFFER_SIZE(MODEL_BITMAP_WIDTH, MODEL_BITMAP_HEIGHT)
+2
View File
@@ -37,6 +37,8 @@
#define LCD_LINES (LCD_H/FH)
#define LCD_COLS (LCD_W/FW)
#define BITMAP_BUFFER_SIZE(w, h) (2 + (w) * (((h)+7)/8)*4)
/* lcdDrawText flags */
#define BLINK 0x01
#define INVERS 0x02