eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_base.c File Reference
Include dependency graph for d4d_base.c:

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...
 
void D4D_HandleKeys (void)
 
void D4D_SendMessage (D4D_MESSAGE *pMsg)
 
void D4D_SendMessageMask (D4D_MESSAGE *pMsg, D4D_OBJECT_FLAGS parentFlagsMask, D4D_OBJECT_FLAGS endFlagMask)
 
void D4D_SendMessageBack (D4D_MESSAGE *pMsg)
 
void D4D_ComputeGeometry (D4D_GEOMETRY *pGeometry, D4D_OBJECT *pObject)
 

Variables

Byte d4d_scratchPad [D4D_SCRATCHPAD_SIZE]
 
D4D_SCREENd4d_screenHistory [D4D_SCREEN_HISTORY]
 
Byte d4d_screenHistoryIndex
 
D4D_OBJECTd4d_pKeysCapturer
 
D4D_MESSAGE d4d_msg
 
const D4D_SIZE d4d_size_zero
 
const D4D_POINT d4d_point_zero
 
const D4D_MARGIN d4d_marginDefault
 
static D4D_KEYS_BUFFER d4d_KeysBuff
 
D4D_SYSTEM_FLAGS d4d_systemFlags
 

Detailed Description

D4D driver core and base function c file.

Author
Michal hanak, Petr Gargulak
Version
0.0.117.0
Date
Jan-14-2014

Definition in file d4d_base.c.

Function Documentation

void D4D_ComputeGeometry ( D4D_GEOMETRY pGeometry,
D4D_OBJECT pObject 
)

Compute object content geometry

Definition at line 1047 of file d4d_base.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_HandleKeys ( void  )

Handle the keys (part of main poll call)

Definition at line 582 of file d4d_base.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_SendMessage ( D4D_MESSAGE pMsg)

helper to invoke OBJECT's message handler

all information need to be already prepared in d4d_msg

Definition at line 681 of file d4d_base.c.

Here is the caller graph for this function:

void D4D_SendMessageBack ( D4D_MESSAGE pMsg)

helper to invoke OBJECT's message handler

all information need to be already prepared in d4d_msg

Definition at line 769 of file d4d_base.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_SendMessageMask ( D4D_MESSAGE pMsg,
D4D_OBJECT_FLAGS  parentFlagsMask,
D4D_OBJECT_FLAGS  endFlagMask 
)

helper to invoke OBJECT's message handler

all information need to be already prepared in d4d_msg

Definition at line 714 of file d4d_base.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

D4D_KEYS_BUFFER d4d_KeysBuff
static

Definition at line 86 of file d4d_base.c.

const D4D_MARGIN d4d_marginDefault

Definition at line 77 of file d4d_base.c.

D4D_MESSAGE d4d_msg

Definition at line 72 of file d4d_base.c.

D4D_OBJECT* d4d_pKeysCapturer

Definition at line 69 of file d4d_base.c.

const D4D_POINT d4d_point_zero

Definition at line 75 of file d4d_base.c.

Byte d4d_scratchPad[D4D_SCRATCHPAD_SIZE]

Global variables

Definition at line 56 of file d4d_base.c.

D4D_SCREEN* d4d_screenHistory[D4D_SCREEN_HISTORY]

Local variables

Definition at line 65 of file d4d_base.c.

Byte d4d_screenHistoryIndex

Definition at line 66 of file d4d_base.c.

const D4D_SIZE d4d_size_zero

Definition at line 74 of file d4d_base.c.

D4D_SYSTEM_FLAGS d4d_systemFlags

Definition at line 89 of file d4d_base.c.