eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_private.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_MK_STR(x)
 
#define D4D_PASTE(a, b)
 
#define D4D_PASTE_NOEXPAND(a, b)
 

Functions

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_ObjOnMessage (D4D_MESSAGE *pMsg)
 
void D4D_ChangeText (D4D_STRING *pBuff, D4D_TCHAR *pNewText, D4D_TCHAR fillChar)
 
D4D_OBJECTD4D_GetParentObject (D4D_OBJECT *pObject)
 
D4D_BOOL D4D_HasObjectChildren (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindNextObjectOnScreen (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindNextParentSiblingObject (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindNextSiblingObject (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindNextObject (D4D_OBJECT *pObject, D4D_BOOL childrenAlso)
 
D4D_OBJECTD4D_FindPreviousObjectOnScreen (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindPreviousParentSiblingObject (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindPreviousSiblingObject (D4D_OBJECT *pObject)
 
D4D_OBJECTD4D_FindPreviousObject (D4D_OBJECT *pObject, D4D_BOOL childrenAlso)
 
void D4D_RedrawScreen (D4D_SCREEN *pScreen)
 
D4D_BOOL D4D_ScrCheckExitBtnCoor (D4D_SCREEN *pScreen, D4D_POINT *point)
 
D4D_BOOL D4D_ScrCheckCoor (D4D_SCREEN *pScreen, D4D_POINT *point)
 The function check if the coordination are in screen area. More...
 
D4D_COOR D4D_GetScrHeaderSize (D4D_SCREEN *pScreen)
 
D4D_OBJECTD4D_GetLastObject (D4D_SCREEN *pScreen)
 The function returns the pointer to last object in the screen. More...
 
void D4D_HandleTimeTicks (D4D_SCREEN *pScreen)
 
void D4D_SetObjectFlags (D4D_OBJECT *pObject, D4D_OBJECT_FLAGS flagsMask, D4D_BOOL alsoChildren)
 
void D4D_SetObjectScreenPointer (D4D_OBJECT *pObject, D4D_SCREEN *pScreen)
 
void D4D_ComputeGeometry (D4D_GEOMETRY *pGeometry, D4D_OBJECT *pObject)
 
void D4D_DrawFrame (D4D_OBJECT *pObject, D4D_COLOR clrT, D4D_COLOR clrB)
 Function draw standard object frame based on the object settings and current state. More...
 
D4D_COOR D4D_LCD_PrintChr (D4D_TCHAR ch, D4D_PRINT_DESC *p_CharDes)
 

Variables

D4D_SCREENd4d_screenHistory [D4D_SCREEN_HISTORY]
 
Byte d4d_screenHistoryIndex
 
D4D_OBJECTd4d_pKeysCapturer
 
D4D_MESSAGE d4d_msg
 
D4D_SYSTEM_FLAGS d4d_systemFlags
 
const D4D_SIZE d4d_size_zero
 
const D4D_POINT d4d_point_zero
 
Byte d4d_extsrcBuffer [D4D_EXTSRC_BUFF_SIZE]
 

Detailed Description

D4D Driver private header file.

Author
Petr Gargulak
Version
0.0.30.0
Date
Jan-14-2014

Definition in file d4d_private.h.

Macro Definition Documentation

#define D4D_MK_STR (   x)

Definition at line 68 of file d4d_private.h.

#define D4D_PASTE (   a,
 
)

Definition at line 74 of file d4d_private.h.

#define D4D_PASTE_NOEXPAND (   a,
 
)

Definition at line 75 of file d4d_private.h.

Function Documentation

void D4D_ChangeText ( D4D_STRING pBuff,
D4D_TCHAR pNewText,
D4D_TCHAR  fillChar 
)

change text in the buffer

Definition at line 599 of file d4d_string.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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:

D4D_OBJECT* D4D_FindNextObject ( D4D_OBJECT pObject,
D4D_BOOL  childrenAlso 
)

Function returns the next object (looking for any object in object tree)

Definition at line 587 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindNextObjectOnScreen ( D4D_OBJECT pObject)

Function returns the next object defined in screen (top level)

Definition at line 514 of file d4d_object.c.

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindNextParentSiblingObject ( D4D_OBJECT pObject)

Function returns the next parent sibling object

Definition at line 539 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindNextSiblingObject ( D4D_OBJECT pObject)

Function returns the next sibling object

Definition at line 558 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindPreviousObject ( D4D_OBJECT pObject,
D4D_BOOL  childrenAlso 
)

Function returns the next object (looking for any object in object tree)

Definition at line 697 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindPreviousObjectOnScreen ( D4D_OBJECT pObject)

Function returns the previous object defined in screen (top level)

Definition at line 622 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_FindPreviousParentSiblingObject ( D4D_OBJECT pObject)

Function returns the previous parent sibling object

Definition at line 648 of file d4d_object.c.

Here is the call graph for this function:

D4D_OBJECT* D4D_FindPreviousSiblingObject ( D4D_OBJECT pObject)

Function returns the next sibling object

Definition at line 667 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_OBJECT* D4D_GetLastObject ( D4D_SCREEN pScreen)

The function returns the pointer to last object in the screen.

Parameters
pScreen- the pointer to screen
Returns
pointer to last screen object
Note
It's useful if the last object should be find

Definition at line 656 of file d4d_screen.c.

Here is the caller graph for this function:

D4D_OBJECT* D4D_GetParentObject ( D4D_OBJECT pObject)

Function returns the parent object

Definition at line 498 of file d4d_object.c.

Here is the caller graph for this function:

D4D_COOR D4D_GetScrHeaderSize ( D4D_SCREEN pScreen)

Compute size of screen header

Definition at line 767 of file d4d_screen.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_HandleTimeTicks ( D4D_SCREEN pScreen)

Handle the timeticks events of eGUI

Definition at line 1107 of file d4d_screen.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_BOOL D4D_HasObjectChildren ( D4D_OBJECT pObject)

Function returns TRUE if the object has children

Definition at line 479 of file d4d_object.c.

D4D_COOR D4D_LCD_PrintChr ( D4D_TCHAR  ch,
D4D_PRINT_DESC p_CharDes 
)

Print the Char in ASCII in simple format up to 8 columns

Definition at line 645 of file d4d_font.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_ObjOnMessage ( D4D_MESSAGE pMsg)

defualt message handler for all OBJECTS

Definition at line 443 of file d4d_object.c.

Here is the caller graph for this function:

void D4D_RedrawScreen ( D4D_SCREEN pScreen)

Redraw the screen based on redraw flags

Definition at line 1058 of file d4d_screen.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_BOOL D4D_ScrCheckExitBtnCoor ( D4D_SCREEN pScreen,
D4D_POINT point 
)

Check if the coordination are in range of exit button

Definition at line 1134 of file d4d_screen.c.

Here is the call 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:

void D4D_SetObjectFlags ( D4D_OBJECT pObject,
D4D_OBJECT_FLAGS  flagsMask,
D4D_BOOL  alsoChildren 
)

Function sets the flags of object and all it's childs

Definition at line 750 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void D4D_SetObjectScreenPointer ( D4D_OBJECT pObject,
D4D_SCREEN pScreen 
)

Function sets the screen pointer on object and its children

Definition at line 777 of file d4d_object.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

Byte d4d_extsrcBuffer[D4D_EXTSRC_BUFF_SIZE]
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.

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.