Go to the source code of this file.
Macros | |
#define | IS_MODE(mode, flag) (((mode) & (flag)) != 0) |
#define | SWAP(type, src, dst) |
#define | SET_POINT(mode, color, x, y) |
Enumerations | |
enum | PrintCharError { PRINT_CHR_OK = 0 , PRINT_CHR_NOTHINGNESS , PRINT_CHR_ERR_NULL_PARAMS , PRINT_CHR_ERR_SHOULD_NEWLINE , PRINT_CHR_ERR_OUT_OF_VERTICAL_BOUNDS } |
Functions | |
_PRIVATE bool | process_line (const LCD_Line *const line, LCD_BBox *out_bbox, u8 mode) |
_PRIVATE bool | process_rect (const LCD_Rect *const rect, LCD_Coordinate pos, LCD_BBox *out_bbox, u8 mode) |
_PRIVATE bool | process_circle (const LCD_Circle *const circle, LCD_BBox *out_bbox, u8 mode) |
_PRIVATE bool | process_img_rle (const LCD_Image *const img, LCD_Coordinate pos, LCD_BBox *out_bbox, u8 mode) |
_PRIVATE PrintCharError | print_char (u8 chr, const LCD_Font *const font, LCD_Coordinate where, u8 mode, LCD_Color txt_col, LCD_Color bg_col, u16 *out_char_w, u16 *out_char_h) |
_PRIVATE bool | process_text (const LCD_Text *const text, LCD_Coordinate pos, LCD_BBox *out_bbox, u8 mode) |
Prints the string onto the screen, or calculates its dimensions without the overhead of printing. | |
_PRIVATE bool | process_button (const LCD_Button *const button, LCD_Coordinate pos, LCD_BBox *out_bbox, u8 mode) |
_PRIVATE bool | delete_button (const LCD_Button *const button, LCD_Coordinate pos) |
_PRIVATE LCD_BBox | get_union_bbox (LCD_Component *comps, u16 comps_sz) |
bool | __LCD_PROC_DoProcessObject (const LCD_Obj *const obj, LCD_BBox *out_bbox, u8 mode) |
Variables | |
_DECL_EXTERNALLY u16 | LCDMaxX |
_DECL_EXTERNALLY u16 | LCDMaxY |
_DECL_EXTERNALLY LCD_Color | LCDCurrentBGColor |
_DECL_EXTERNALLY LCD_Font | LCDFontList [] |
_DECL_EXTERNALLY u8 | LCDFontListSize |
#define IS_MODE | ( | mode, | |
flag | |||
) | (((mode) & (flag)) != 0) |
Definition at line 16 of file glcd_processor.c.
#define SET_POINT | ( | mode, | |
color, | |||
x, | |||
y | |||
) |
Definition at line 27 of file glcd_processor.c.
#define SWAP | ( | type, | |
src, | |||
dst | |||
) |
Definition at line 18 of file glcd_processor.c.
enum PrintCharError |
Enumerator | |
---|---|
PRINT_CHR_OK | |
PRINT_CHR_NOTHINGNESS | |
PRINT_CHR_ERR_NULL_PARAMS | |
PRINT_CHR_ERR_SHOULD_NEWLINE | |
PRINT_CHR_ERR_OUT_OF_VERTICAL_BOUNDS |
Definition at line 340 of file glcd_processor.c.
Definition at line 642 of file glcd_processor.c.
_PRIVATE bool delete_button | ( | const LCD_Button *const | button, |
LCD_Coordinate | pos | ||
) |
Definition at line 571 of file glcd_processor.c.
|
inline |
Definition at line 615 of file glcd_processor.c.
_PRIVATE PrintCharError print_char | ( | u8 | chr, |
const LCD_Font *const | font, | ||
LCD_Coordinate | where, | ||
u8 | mode, | ||
LCD_Color | txt_col, | ||
LCD_Color | bg_col, | ||
u16 * | out_char_w, | ||
u16 * | out_char_h | ||
) |
Definition at line 349 of file glcd_processor.c.
_PRIVATE bool process_button | ( | const LCD_Button *const | button, |
LCD_Coordinate | pos, | ||
LCD_BBox * | out_bbox, | ||
u8 | mode | ||
) |
Definition at line 515 of file glcd_processor.c.
_PRIVATE bool process_circle | ( | const LCD_Circle *const | circle, |
LCD_BBox * | out_bbox, | ||
u8 | mode | ||
) |
Definition at line 188 of file glcd_processor.c.
_PRIVATE bool process_img_rle | ( | const LCD_Image *const | img, |
LCD_Coordinate | pos, | ||
LCD_BBox * | out_bbox, | ||
u8 | mode | ||
) |
Definition at line 267 of file glcd_processor.c.
Definition at line 43 of file glcd_processor.c.
_PRIVATE bool process_rect | ( | const LCD_Rect *const | rect, |
LCD_Coordinate | pos, | ||
LCD_BBox * | out_bbox, | ||
u8 | mode | ||
) |
Definition at line 125 of file glcd_processor.c.
_PRIVATE bool process_text | ( | const LCD_Text *const | text, |
LCD_Coordinate | pos, | ||
LCD_BBox * | out_bbox, | ||
u8 | mode | ||
) |
Prints the string onto the screen, or calculates its dimensions without the overhead of printing.
text | The text to print |
pos | The top-left corner (considering the eventual baseline offset) of the text |
dont_actually_print | If true, the text is not printed, but the width is calculated. Used to determine the width of the text without actually printing it. |
out_dim | [OUTPUT] The width and height of the text, regardless of the actual printing. |
Definition at line 436 of file glcd_processor.c.
_DECL_EXTERNALLY LCD_Color LCDCurrentBGColor |
Definition at line 9 of file glcd_processor.c.
_DECL_EXTERNALLY LCD_Font LCDFontList[] |
Definition at line 11 of file glcd_processor.c.
_DECL_EXTERNALLY u8 LCDFontListSize |
Definition at line 12 of file glcd_processor.c.
_DECL_EXTERNALLY u16 LCDMaxX |
Definition at line 8 of file glcd_processor.c.
_DECL_EXTERNALLY u16 LCDMaxY |
Definition at line 8 of file glcd_processor.c.