Go to the source code of this file.
|
enum | LCD_Error {
LCD_ERR_OK = 0
, LCD_ERR_UNINITIALIZED
, LCD_ERR_INVALID_OBJ
, LCD_ERR_NULL_PARAMS
,
LCD_ERR_TOO_MANY_COMPS_IN_OBJ
, LCD_ERR_COORDS_OUT_OF_BOUNDS
, LCD_ERR_FONT_LIST_FULL
, LCD_ERR_INVALID_FONT_ID
,
LCD_ERR_NO_MEMORY
, LCD_ERR_DURING_RENDER
, LCD_ERR_DURING_UNRENDER
, LCD_ERR_DURING_BBOX_CALC
} |
| Error codes returned by the GLCD library. More...
|
|
◆ LCD_Error
Error codes returned by the GLCD library.
Enumerator |
---|
LCD_ERR_OK | No error occurred.
|
LCD_ERR_UNINITIALIZED | The library is not initialized.
|
LCD_ERR_INVALID_OBJ | The object is invalid (invalid ID, empty components array, etc.)
|
LCD_ERR_NULL_PARAMS | One or more params is NULL.
|
LCD_ERR_TOO_MANY_COMPS_IN_OBJ | The object has too many components.
|
LCD_ERR_COORDS_OUT_OF_BOUNDS | The specified (x,y) coordinates are out of the screen boundaries.
|
LCD_ERR_FONT_LIST_FULL | The font list is full. No more fonts can be added.
|
LCD_ERR_INVALID_FONT_ID | The font ID is invalid.
|
LCD_ERR_NO_MEMORY | The memory pool does not have enough space to allocate the object.
|
LCD_ERR_DURING_RENDER | An error occurred during shape drawing.
|
LCD_ERR_DURING_UNRENDER | An error occurred during shape deletion.
|
LCD_ERR_DURING_BBOX_CALC | An error occurred during bounding box calculation.
|
Definition at line 5 of file glcd_errors.h.
6{
9
12
15
18
21
24
27
30
33
34
35
38
41
LCD_Error
Error codes returned by the GLCD library.
@ LCD_ERR_UNINITIALIZED
The library is not initialized.
@ LCD_ERR_DURING_RENDER
An error occurred during shape drawing.
@ LCD_ERR_DURING_UNRENDER
An error occurred during shape deletion.
@ LCD_ERR_INVALID_OBJ
The object is invalid (invalid ID, empty components array, etc.)
@ LCD_ERR_COORDS_OUT_OF_BOUNDS
The specified (x,y) coordinates are out of the screen boundaries.
@ LCD_ERR_INVALID_FONT_ID
The font ID is invalid.
@ LCD_ERR_NO_MEMORY
The memory pool does not have enough space to allocate the object.
@ LCD_ERR_NULL_PARAMS
One or more params is NULL.
@ LCD_ERR_DURING_BBOX_CALC
An error occurred during bounding box calculation.
@ LCD_ERR_FONT_LIST_FULL
The font list is full. No more fonts can be added.
@ LCD_ERR_TOO_MANY_COMPS_IN_OBJ
The object has too many components.
@ LCD_ERR_OK
No error occurred.