44 #pragma GCC system_header
60 #include "../include/ev3_constants.h"
62 #define LCD_BYTE_WIDTH ((LCD_WIDTH + 7) / 8)
63 #define LCD_BUFFER_SIZE (LCD_BYTE_WIDTH * LCD_HEIGHT)
98 bool LcdIcon(
char Color,
short X,
short Y,
char IconType,
char IconNum);
120 char CircleOutEx(
int x,
int y, uint8_t radius,
unsigned long options);
121 char static inline CircleOut(
int x,
int y,
int r) {
140 char LineOutEx(
int x1,
int y1,
int x2,
int y2,
unsigned long options);
141 char static inline LineOut(
int x1,
int y1,
int x2,
int y2) {
158 char PointOutEx(
int x,
int y,
unsigned long options);
159 char static inline PointOut(
int x,
int y) {
179 char RectOutEx(
int x,
int y,
int width,
int height,
unsigned long options);
180 char static inline RectOut(
int x,
int y,
int w,
int h) {
202 char EllipseOutEx(
int x,
int y, uint8_t radiusX, uint8_t radiusY,
unsigned long options);
203 char static inline EllipseOut(
int x,
int y,
int rx,
int ry) {
207 #define LCD_COLOR_BLACK 1
208 #define LCD_COLOR_WHITE 0
220 bool LcdTextf(
char Color,
short X,
short Y,
const char *fmt, ...);
229 int LcdPrintf(
char color,
const char * fmt, ...);
238 int LcdPrintln(
char color,
const char * fmt, ...);
243 int asprintf(
char **,
const char *, ...);
244 int vasprintf(
char **,
const char *, va_list)
bool LcdIcon(char Color, short X, short Y, char IconType, char IconNum)
IMGDATA * IP
Instruction pointer type.
Definition: ev3_lcd.h:66
bool LcdTextf(char Color, short X, short Y, const char *fmt,...)
char EllipseOutEx(int x, int y, uint8_t radiusX, uint8_t radiusY, unsigned long options)
ImageFormat
Definition: ev3_lcd.h:75
char RectOutEx(int x, int y, int width, int height, unsigned long options)
char LineOutEx(int x1, int y1, int x2, int y2, unsigned long options)
uint8_t * LcdGetFrameBuffer()
void LcdSetAutoRefresh(bool bOn)
char CircleOutEx(int x, int y, uint8_t radius, unsigned long options)
uint8_t * LcdGetDisplay()
bool LcdSelectFont(uint8_t FontType)
int LcdPrintln(char color, const char *fmt,...)
int X
Definition: ev3_lcd.h:69
#define DRAW_OPT_NORMAL
Definition: ev3_constants.h:578
bool LcdText(char Color, short X, short Y, char *Text)
uint8_t IMGDATA
Image base type.
Definition: ev3_lcd.h:65
bool LcdBmpFile(char Color, short X, short Y, char *Name)
char PointOutEx(int x, int y, unsigned long options)
bool LcdFillWindow(char Color, short Y, short Y1)
int Y
Definition: ev3_lcd.h:70
Color
Definition: ev3_color.h:13
int LcdPrintf(char color, const char *fmt,...)
LocationType * PLocationType
Definition: ev3_lcd.h:73
bool LcdPicture(char Color, short X, short Y, IP pBitmap)
void LcdWriteDisplayToFile(char *filename, ImageFormat fmt)
void LcdWriteFrameBufferToFile(char *filename, ImageFormat fmt)