159 void LCD_DrawLine(uint16_t Xstart, uint16_t Ystart, uint16_t Xstop,
161 void LCD_DrawRect(uint16_t Xpos, uint16_t Ypos, uint16_t width,
163 void LCD_DrawRectF(uint16_t Xpos, uint16_t Ypos, uint16_t width,
165 void LCD_DrawCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius,
178 uint8_t *g, uint8_t *b);
189 LCD_FillArea(SCRN_LEFT, SCRN_TOP, SCRN_RIGHT, SCRN_BOTTOM, Color);
uint32_t LCD_BMP_GetWidth(BMP *bmp)
Returns the image's width.
void LCD_DisplayCharXY(uint16_t x, uint16_t y, char Ascii)
Displays one character (16dots width, 24dots height) on the LCD. Position is set with a x- and a y-co...
void LCD_SetBackColor(LCDCOLOR Color)
Sets the Background color.
BMP_STATUS LCD_BMP_ReadFile(BMP *bmp, const char *filename)
Reads the specified BMP image file. It does only read bitmaps with 16, 24 or 32 bits per pixel and u...
const char * LCD_BMP_GetErrorDescription(uint8_t errorcode)
Returns a description of the last error code.
void LCD_DrawRect(uint16_t Xpos, uint16_t Ypos, uint16_t width, uint16_t height, LCDCOLOR Color)
Displays a rectangle.
void LCD_SetTextColor(LCDCOLOR Color)
Sets the Text color.
void LCD_DisplayStringXY(uint16_t x, uint16_t y, const char *ptr)
Displays a string on the LCD. Position is set with the x- and y-coordinate.
uint32_t LCD_BMP_GetHeight(BMP *bmp)
Returns the image's height.
void LCD_DrawCircleF(uint8_t Xpos, uint16_t Ypos, uint16_t Radius, LCDCOLOR Color)
Displays a filled circle.
void LCD_Log_Update(void)
Update the log messages on the display. This is used, if the screen is overwritten by user...
void LCD_DrawCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius, LCDCOLOR Color)
Displays a circle.
void LCD_ClearLine(uint8_t Line)
Clears the selected line.
void LCD_DisplayCharLine(uint8_t Line, uint8_t Column, char Ascii)
Displays one character (16dots width, 24dots height) on the LCD. Position is set with a line and a co...
void LCD_DisplayStringCenterLine(uint8_t Line, const char *ptr)
Displays a string on the LCD. Position is set at the y-coordinate on center of the display...
static void LCD_Clear(LCDCOLOR Color)
Clears the whole LCD.
struct _BMP_Header BMP_Header
Bitmap header.
Simple graphic library controller communication interface.
struct _BMP BMP
Bitmap image.
Simple graphic library color definitions.
BMP_STATUS LCD_BMP_GetPixelRGB(BMP *bmp, uint32_t x, uint32_t y, uint8_t *r, uint8_t *g, uint8_t *b)
Populates the arguments with the specified pixel's RGB values.
uint16_t LCD_BMP_GetDepth(BMP *bmp)
Returns the image's color depth (bits per pixel).
uint8_t LCD_GetLineCount(void)
Gets the current count of possible lines.
enum _BMP_STATUS BMP_STATUS
Error codes.
uint16_t LCDCOLOR
Data type for a color definition.
void LCD_Log_AddMsg(char *ptr)
Add a log message to the screen.
void LCD_DisplayStringLine(uint8_t Line, const char *ptr)
Displays a string on a line on the LCD. Position is set with a line number.
static void LCD_FillArea(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color)
Fill a specified area on the display with the same color.
void LCD_DrawLine(uint16_t Xstart, uint16_t Ystart, uint16_t Xstop, uint16_t Ystop, LCDCOLOR Color)
Draw a line on the display starting at (Xstart/Ystart) and ending at (Xstop/Ystop). This function draws the line with the Bresenham's line algorithm.
This struct encapsulates the parameters of a font.
BMP_STATUS LCD_BMP_DrawBitmap(const char *filename, uint16_t Xpos, uint16_t Ypos)
Reads the specified BMP image file and print it to the LCD. It does only read bitmaps with 16...
Simple graphic library font data.
void LCD_SetFont(FONT_T *pFont)
Sets the current font.
void LCD_DrawRectF(uint16_t Xpos, uint16_t Ypos, uint16_t width, uint16_t height, LCDCOLOR Color)
Displays a filled rectangle.
FONT_T * LCD_GetFont(void)
Gets the current font.