Macros | |
#define | D4D_GetTextBuffWidthTabAdj(text_buffer, pTab) |
Function gets the string width in pixels and counts with tabulator table. More... | |
#define | D4D_GetTextBuffWidth(text_buffer) |
Function gets the string width in pixels. More... | |
Functions | |
D4D_BOOL | D4D_Init (const D4D_SCREEN *pInitScreen) |
Function inits the eGUI itself including all low level drivers. More... | |
void | D4D_Poll (void) |
Main eGUI function. Must be periodically called in main loop/task loop. More... | |
void | D4D_SetOrientation (D4D_ORIENTATION orient) |
Set screen orientation function. More... | |
void | D4D_TimeTickPut (void) |
Notify eGui about new tick tick occur. More... | |
void | D4D_ClearKeysBuffer (void) |
Clear all rest information about pushed Keys in buffer. More... | |
void | D4D_EnableSystemKeys (D4D_BOOL bEnable) |
Function enable or disable handling system keys (ESC, UP/DOWN, LEFT/RIGHT) automatically. More... | |
void | D4D_KeysChanged (D4D_KEYS keys) |
Place to keys buffer new keys events by binary mask. More... | |
void | D4D_NewKeyEvent (D4D_KEY_SCANCODE scanCode) |
Place to key event into key buffer. More... | |
void | D4D_SetFontProperties (D4D_OBJECT_PTR pObject, D4D_FONT_PROPERTIES property) |
Function sets object text font properties. More... | |
void | D4D_SetTextProperties (D4D_OBJECT_PTR pObject, D4D_TEXT_PROPERTIES property) |
Function sets object text properties. More... | |
D4D_POINT | D4D_SwapCoor (D4D_POINT point) |
Function swap the point coordination. More... | |
D4D_COOR | D4D_GetLongerSide (D4D_SIZE *pSz) |
Function returns longer side of size structure. More... | |
void | D4D_FlushOutput (void) |
Function force flush output to LCD. More... | |
This section specifies the exact usage for each API function.
#define D4D_GetTextBuffWidth | ( | text_buffer | ) |
Function gets the string width in pixels.
text_buffer | - pointer to string structure |
Definition at line 553 of file d4d_base.h.
#define D4D_GetTextBuffWidthTabAdj | ( | text_buffer, | |
pTab | |||
) |
Function gets the string width in pixels and counts with tabulator table.
text_buffer | - pointer to string structure |
pTab | - pointer to tabulator structure |
Definition at line 544 of file d4d_base.h.
void D4D_ClearKeysBuffer | ( | void | ) |
Clear all rest information about pushed Keys in buffer.
Definition at line 244 of file d4d_base.c.
void D4D_EnableSystemKeys | ( | D4D_BOOL | bEnable | ) |
Function enable or disable handling system keys (ESC, UP/DOWN, LEFT/RIGHT) automatically.
bEnable | - <D4D_TRUE - eGUI will handle system keys automatically, D4D_FALSE - the system keys will be ignored and it will be normally handled to screen and focused object |
Definition at line 256 of file d4d_base.c.
void D4D_FlushOutput | ( | void | ) |
Function force flush output to LCD.
Definition at line 563 of file d4d_base.c.
Function returns longer side of size structure.
pSz | - input size coordination |
Definition at line 550 of file d4d_base.c.
D4D_BOOL D4D_Init | ( | const D4D_SCREEN * | pInitScreen | ) |
Function inits the eGUI itself including all low level drivers.
pInitScreen | - the first initialized screen. Could be NULL in case that no screen should be initialized after startup. |
Definition at line 122 of file d4d_base.c.
void D4D_KeysChanged | ( | D4D_KEYS | keys | ) |
Place to keys buffer new keys events by binary mask.
keys | - keys mask |
Definition at line 272 of file d4d_base.c.
void D4D_NewKeyEvent | ( | D4D_KEY_SCANCODE | scanCode | ) |
Place to key event into key buffer.
scanCode | - new key scan event |
Definition at line 347 of file d4d_base.c.
void D4D_Poll | ( | void | ) |
Main eGUI function. Must be periodically called in main loop/task loop.
Definition at line 159 of file d4d_base.c.
void D4D_SetFontProperties | ( | D4D_OBJECT_PTR | pObject, |
D4D_FONT_PROPERTIES | property | ||
) |
Function sets object text font properties.
pObject | - pointer to object that has to have changed font properties |
property | - new font properties |
Definition at line 485 of file d4d_base.c.
void D4D_SetOrientation | ( | D4D_ORIENTATION | orient | ) |
Set screen orientation function.
orient | - the requested new orientation |
Definition at line 213 of file d4d_base.c.
void D4D_SetTextProperties | ( | D4D_OBJECT_PTR | pObject, |
D4D_TEXT_PROPERTIES | property | ||
) |
Function sets object text properties.
pObject | - pointer to object that has to have changed text properties |
property | - new text properties |
Definition at line 511 of file d4d_base.c.
Function swap the point coordination.
point | - input size coordination |
Definition at line 534 of file d4d_base.c.
void D4D_TimeTickPut | ( | void | ) |
Notify eGui about new tick tick occur.
Definition at line 234 of file d4d_base.c.