Added font support

This commit is contained in:
t-moe
2015-04-27 19:45:30 +02:00
parent 7be246ac3c
commit e249fb2aa2
10 changed files with 115 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ void app_init() {
tft_draw_rectangle(40,210,60,235,BLUE);
tft_fill_rectangle(100,215,200,225,GREEN);
tft_draw_line(10,215,310,225,RGB(0xFF,0,0xFF));
tft_draw_circle(10,10,100, RED);
tft_draw_circle(10,10,100, RED);
a1.hookedActions = PEN_DOWN | PEN_UP | PEN_MOVE | PEN_ENTER | PEN_LEAVE;
a1.x1 = 30;
@@ -60,8 +60,8 @@ void app_init() {
a1.callback = touchCB;
touch_register_area(&a1);
tft_draw_rectangle(30,30,100,60,BLUE);
tft_draw_rectangle(30,30,100,60,BLUE);
tft_print_line(30, 30, RED, BLUE, 0, "Hallo");
}