#include "screen_calibrate.h"
#include "tft.h"
#include "touch.h"
Go to the source code of this file.
static void enter |
( |
void * |
screen | ) |
|
|
static |
static void leave |
( |
void * |
screen | ) |
|
|
static |
static void update |
( |
void * |
screen | ) |
|
|
static |
Definition at line 33 of file screen_calibrate.c.
35 int x1, y1, x2, y2, dx, dy;
void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
uint16_t y
The Y-Coordinate of the point.
void tft_print_line(uint16_t x, uint16_t y, uint16_t color, uint16_t bgcolor, uint8_t font, const char *text)
uint16_t x
The X-Coordinate of the point.
POINT_STRUCT touch_get_last_point()
void tft_fill_rectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
void touch_set_calibration_values(int xs, int dx, int ys, int dy)
volatile bool calibration
volatile bool calibration |
Initial value:= {
}
static void enter(void *screen)
static void update(void *screen)
static void leave(void *screen)
Definition at line 111 of file screen_calibrate.c.