Added more tft functions to common and emulator. Fixed eventloop.

This commit is contained in:
t-moe
2015-04-03 17:45:57 +02:00
parent 51089aaba1
commit 1f2af9f2fb
14 changed files with 194 additions and 39 deletions

View File

@@ -0,0 +1,2 @@
bool ll_system_init();

View File

@@ -1,14 +1,10 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
bool ll_tft_init();
void ll_tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
#ifdef __cplusplus
}
#endif
bool ll_tft_init();
void ll_tft_clear(uint16_t color);
void ll_tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);
void ll_tft_draw_pixel(uint16_t x,uint16_t y,uint16_t color);
void ll_tft_draw_rectangle(uint16_t x1,uint16_t y1,uint16_t x2,uint16_t y2, uint16_t color);
void ll_tft_fill_rectangle(uint16_t x1,uint16_t y1,uint16_t x2,uint16_t y2, uint16_t color);
void ll_tft_draw_bitmap_unscaled(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const uint8_t* dat);