Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
glcd_errors.h File Reference

Go to the source code of this file.

Enumerations

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...
 

Enumeration Type Documentation

◆ LCD_Error

enum 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{
8 LCD_ERR_OK = 0,
9
12
15
18
21
24
27
30
33
34 // PROCESS SHAPE ERRORS
35
38
41
44} LCD_Error;
LCD_Error
Error codes returned by the GLCD library.
Definition glcd_errors.h:6
@ LCD_ERR_UNINITIALIZED
The library is not initialized.
Definition glcd_errors.h:11
@ LCD_ERR_DURING_RENDER
An error occurred during shape drawing.
Definition glcd_errors.h:37
@ LCD_ERR_DURING_UNRENDER
An error occurred during shape deletion.
Definition glcd_errors.h:40
@ LCD_ERR_INVALID_OBJ
The object is invalid (invalid ID, empty components array, etc.)
Definition glcd_errors.h:14
@ LCD_ERR_COORDS_OUT_OF_BOUNDS
The specified (x,y) coordinates are out of the screen boundaries.
Definition glcd_errors.h:23
@ LCD_ERR_INVALID_FONT_ID
The font ID is invalid.
Definition glcd_errors.h:29
@ LCD_ERR_NO_MEMORY
The memory pool does not have enough space to allocate the object.
Definition glcd_errors.h:32
@ LCD_ERR_NULL_PARAMS
One or more params is NULL.
Definition glcd_errors.h:17
@ LCD_ERR_DURING_BBOX_CALC
An error occurred during bounding box calculation.
Definition glcd_errors.h:43
@ LCD_ERR_FONT_LIST_FULL
The font list is full. No more fonts can be added.
Definition glcd_errors.h:26
@ LCD_ERR_TOO_MANY_COMPS_IN_OBJ
The object has too many components.
Definition glcd_errors.h:20
@ LCD_ERR_OK
No error occurred.
Definition glcd_errors.h:8