|
Functions | |
| D4D_SCREEN * | D4D_GetActiveScreen (void) |
| Returns pointer to current active screen. More... | |
| void | D4D_ActivateScreen (const D4D_SCREEN *pNewScreen, D4D_BOOL bReplaceCurrent) |
| The function activate the new screen. More... | |
| void | D4D_EscapeScreen (void) |
| The function return to previous screen recorded in the history. More... | |
| void | D4D_EscapeToBaseScreen (void) |
| The function return to base screen recorded in the history. More... | |
| void | D4D_InitScreen (const D4D_SCREEN *pScreen) |
| The function inits the screen and its objects for first time case. More... | |
| void | D4D_InvalidateScreen (const D4D_SCREEN *pScreen, D4D_BOOL bComplete) |
| The function mark the screen and its abject as "redraw pending". More... | |
| D4D_OBJECT_PTR | D4D_GetFocusedObject (const D4D_SCREEN *pScreen) |
| The function returns pointer to object that is focused in given screen. More... | |
| void | D4D_FocusNextObject (const D4D_SCREEN *pScreen, D4D_BOOL bInitialSearch) |
| The function change focus to the next object in the given screen. More... | |
| void | D4D_FocusPrevObject (const D4D_SCREEN *pScreen) |
| The function change focus to the previous object in the given screen. More... | |
| void | D4D_FocusSet (const D4D_SCREEN *pScreen, D4D_OBJECT_PTR pObject) |
| The function set the obejct focus to new object. More... | |
| void | D4D_SetScreenFontProperties (const D4D_SCREEN *pScreen, D4D_FONT_PROPERTIES property) |
| The function sets the screen font properties. More... | |
| void | D4D_SetScreenTextProperties (const D4D_SCREEN *pScreen, D4D_TEXT_PROPERTIES property) |
| The function sets the screen text properties. More... | |
| D4D_POINT | D4D_GetClientToScreenPoint (D4D_OBJECT *pObject, D4D_POINT *nClientPoint) |
| The function convert client point on the screen to the global screen point. More... | |
| D4D_POINT | D4D_GetScreenToClientPoint (D4D_OBJECT *pObject, D4D_POINT *nScreenPoint) |
| The function convert global screen point on the screen to the client point. More... | |
| D4D_BOOL | D4D_ScrCheckCoor (D4D_SCREEN *pScreen, D4D_POINT *point) |
| The function check if the coordination are in screen area. More... | |
This section specifies the exact usage for each API function.
| void D4D_ActivateScreen | ( | const D4D_SCREEN * | pNewScreen, |
| D4D_BOOL | bReplaceCurrent | ||
| ) |
The function activate the new screen.
| pNewScreen | - the pointer to new screen |
| bReplaceCurrent | - the flag to tell function if the new screen should replace previous one in screen buffer |
Definition at line 94 of file d4d_screen.c.


| void D4D_EscapeScreen | ( | void | ) |
The function return to previous screen recorded in the history.
Definition at line 130 of file d4d_screen.c.


| void D4D_EscapeToBaseScreen | ( | void | ) |
The function return to base screen recorded in the history.
Definition at line 156 of file d4d_screen.c.

| void D4D_FocusNextObject | ( | const D4D_SCREEN * | pScreen, |
| D4D_BOOL | bInitialSearch | ||
| ) |
The function change focus to the next object in the given screen.
| pScreen | - the pointer to screen |
| bInitialSearch | - flag force start looking from the first object in screen object table |
Definition at line 286 of file d4d_screen.c.


| void D4D_FocusPrevObject | ( | const D4D_SCREEN * | pScreen | ) |
The function change focus to the previous object in the given screen.
| pScreen | - the pointer to screen |
Definition at line 356 of file d4d_screen.c.


| void D4D_FocusSet | ( | const D4D_SCREEN * | pScreen, |
| D4D_OBJECT_PTR | pObject | ||
| ) |
The function set the obejct focus to new object.
| pScreen | - the pointer to screen |
| pObject | - the pointer to object that should be focused |
Definition at line 430 of file d4d_screen.c.


| D4D_SCREEN* D4D_GetActiveScreen | ( | void | ) |
Returns pointer to current active screen.
Definition at line 78 of file d4d_screen.c.

| D4D_POINT D4D_GetClientToScreenPoint | ( | D4D_OBJECT * | pObject, |
| D4D_POINT * | nClientPoint | ||
| ) |
The function convert client point on the screen to the global screen point.
| pObject | - the pointer to object |
| nClientPoint | - pointer to client point structure |
Definition at line 536 of file d4d_screen.c.


| D4D_OBJECT_PTR D4D_GetFocusedObject | ( | const D4D_SCREEN * | pScreen | ) |
The function returns pointer to object that is focused in given screen.
| pScreen | - the pointer to screen |
Definition at line 266 of file d4d_screen.c.

| D4D_POINT D4D_GetScreenToClientPoint | ( | D4D_OBJECT * | pObject, |
| D4D_POINT * | nScreenPoint | ||
| ) |
The function convert global screen point on the screen to the client point.
| pObject | - the pointer to object |
| nScreenPoint | - pointer to global screen point structure |
Definition at line 586 of file d4d_screen.c.


| void D4D_InitScreen | ( | const D4D_SCREEN * | pScreen | ) |
The function inits the screen and its objects for first time case.
| pScreen | - the pointer to screen |
Definition at line 184 of file d4d_screen.c.


| void D4D_InvalidateScreen | ( | const D4D_SCREEN * | pScreen, |
| D4D_BOOL | bComplete | ||
| ) |
The function mark the screen and its abject as "redraw pending".
| pScreen | - the pointer to screen that should be invalidate |
| bComplete | - flag to mark the the screen and object MUST be redrawed completely, not only the active areas |
Definition at line 238 of file d4d_screen.c.


| D4D_BOOL D4D_ScrCheckCoor | ( | D4D_SCREEN * | pScreen, |
| D4D_POINT * | point | ||
| ) |
The function check if the coordination are in screen area.
| pScreen | - the pointer to screen |
| point | - pointer to input point structure |
Definition at line 634 of file d4d_screen.c.

| void D4D_SetScreenFontProperties | ( | const D4D_SCREEN * | pScreen, |
| D4D_FONT_PROPERTIES | property | ||
| ) |
The function sets the screen font properties.
| pScreen | - the pointer to screen |
| property | - font property |
Definition at line 503 of file d4d_screen.c.

| void D4D_SetScreenTextProperties | ( | const D4D_SCREEN * | pScreen, |
| D4D_TEXT_PROPERTIES | property | ||
| ) |
The function sets the screen text properties.
| pScreen | - the pointer to screen |
| property | - text property |
Definition at line 519 of file d4d_screen.c.
