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

Macros

#define D4D_SCR_TITLE_OFF_X
 This is screen title offset definition in axis X. If not defined, it sets to 3 pixels as a default. More...
 
#define D4D_SCR_TITLE_OFF_Y
 This is screen title offset definition in axis Y. If not defined, it sets to 1 pixels as a default. More...
 
#define D4D_SCR_HEADER_SIZE_MIN_SIZE
 This is screen header minimal size definition in axis Y. If not defined, it sets to 13 pixels as a default. More...
 
#define D4D_SCR_TITLE_EXITBTN_MIN_SIZE
 This is screen exit button minimal size definition. If not defined, it sets to 6 pixels as a default. More...
 
#define D4D_SCR_EXITBTN_CROSS_SIZE
 This is screen exit button cross minimal size definition. If not defined, it sets to 2 pixels as a default. More...
 
#define D4D_SCR_TITLE_EXITBTN_OFFSET
 This is screen exit button offset definition. If not defined, it sets to 3 pixels as a default. More...
 
#define D4D_SCR_F_OUTLINE
 The screen has out line. More...
 
#define D4D_SCR_F_BEVEL
 The screen has bevel. More...
 
#define D4D_SCR_F_TITLEBAR
 The screen has title bar. More...
 
#define D4D_SCR_F_EXIT
 The screen has exit button in title bar. More...
 
#define D4D_SCR_F_BCKG
 The screen has filled background (desktop) More...
 
#define D4D_SCR_F_TOUCHENABLE
 The screen is touchable by touch screen. More...
 
#define D4D_SCR_F_MOUSE_NORMAL
 The screen has normal mouse cursor. More...
 
#define D4D_SCR_F_MOUSE_BUSY
 The screen has busy mouse cursor. More...
 
#define D4D_SCR_F_MOUSE_UNAVAILABLE
 The screen has unavailable mouse cursor. More...
 
#define D4D_SCR_F_DEFAULT
 This is screen default behaviour definition. If not defined, it sets to (D4D_SCR_FINT_MOUSE_NORMAL) as a default. More...
 
#define D4D_SCR_FINT_INITDONE
 
#define D4D_SCR_FINT_TOUCHENABLE
 
#define D4D_SCR_FINT_REDRAWC
 
#define D4D_SCR_FINT_CHECKOBJECTS
 
#define D4D_SCR_FINT_MOUSE_MASK
 
#define D4D_SCR_FINT_MOUSE_SHIFT
 
#define D4D_SCR_FINT_MOUSE_NORMAL
 
#define D4D_SCR_FINT_MOUSE_BUSY
 
#define D4D_SCR_FINT_MOUSE_UNAVAILABLE
 
#define _D4D_DECLARE_SCREEN_BEGIN(type, name, funcPrefix, x,y, cx, cy, radius, text, fontId, icon, initFlags, pScheme)
 Macro that create the screen structure in memory including all substructures. More...
 
#define D4D_DECLARE_SCREEN_BEGIN(name, funcPrefix, x,y, cx, cy, text, fontId, icon, initFlags, pScheme)
 Macro that create the screen structure in ROM memory including all substructures. More...
 
#define D4D_DECLARE_STD_SCREEN_BEGIN(name, funcPrefix)
 Macro that create the screen structure in ROM memory with standard settings. More...
 
#define D4D_DECLARE_STD_PORTRAIT_SCREEN_BEGIN(name, funcPrefix)
 Macro that create the screen structure in ROM memory with standard settings in portrait orientation. More...
 
#define D4D_DECLARE_RSCREEN_BEGIN(name, funcPrefix, x,y, cx, cy, radius, text, fontId, icon, initFlags, pScheme)
 Macro that create the screen structure in ROM memory including all substructures with round corners. More...
 
#define D4D_DECLARE_SCREEN_OBJECT(name)
 Macro that is used to add object to screen definition. More...
 
#define D4D_DECLARE_SCREEN_END()
 Macro that is used to make end of object array in screen definition. More...
 
#define D4D_DECLARE_SCREEN_BEGIN_INRAM(name, funcPrefix, x,y, cx, cy, text, fontId, icon, initFlags, pScheme)
 Macro that create the screen structure in RAM memory including all substructures. More...
 
#define D4D_DECLARE_STD_SCREEN_BEGIN_INRAM(name, funcPrefix)
 Macro that create the screen structure in RAM memory with standard settings. More...
 
#define D4D_DECLARE_STD_PORTRAIT_SCREEN_BEGIN_INRAM(name, funcPrefix)
 Macro that create the screen structure in RAM memory with standard settings in portrait orientation. More...
 
#define D4D_DECLARE_RSCREEN_BEGIN_INRAM(name, funcPrefix, x,y, cx, cy, radius, text, fontId, icon, initFlags, pScheme)
 Macro that create the screen structure in RAM memory including all substructures with round corners. More...
 
#define D4D_EXTERN_SCREEN(name)
 Macro that externs the D4D_SCREEN struxture. More...
 
#define D4D_EnableScrTouchScreen(pScr, bEnable)
 

Typedefs

typedef Byte D4D_SCREEN_FLAGS
 The screen flags type. The masks are described here D4D SCREEN Defines masks of screen behaviour flags. More...
 
typedef struct D4D_SCREEN_S D4D_SCREEN
 The screen structure type. The main screen structure that contains all needed data to run the eGUI screen. More...
 

Functions

D4D_SCREEND4D_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...
 
void D4D_SetScreenTextProperties (const D4D_SCREEN *pScreen, D4D_TEXT_PROPERTIES property)
 The function sets the screen text properties. More...
 
void D4D_SetScreenFontProperties (const D4D_SCREEN *pScreen, D4D_FONT_PROPERTIES property)
 The function sets the screen font 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...
 

Detailed Description

D4D driver screen header file.

Author
Petr Gargulak
Version
0.0.38.0
Date
Jan-14-2014

Definition in file d4d_screen.h.

Macro Definition Documentation

#define D4D_EnableScrTouchScreen (   pScr,
  bEnable 
)

Main driver API Functions

Definition at line 420 of file d4d_screen.h.

#define D4D_SCR_FINT_CHECKOBJECTS

Definition at line 130 of file d4d_screen.h.

#define D4D_SCR_FINT_INITDONE

Definition at line 127 of file d4d_screen.h.

#define D4D_SCR_FINT_MOUSE_BUSY

Definition at line 136 of file d4d_screen.h.

#define D4D_SCR_FINT_MOUSE_MASK

Definition at line 132 of file d4d_screen.h.

#define D4D_SCR_FINT_MOUSE_NORMAL

Definition at line 135 of file d4d_screen.h.

#define D4D_SCR_FINT_MOUSE_SHIFT

Definition at line 133 of file d4d_screen.h.

#define D4D_SCR_FINT_MOUSE_UNAVAILABLE

Definition at line 137 of file d4d_screen.h.

#define D4D_SCR_FINT_REDRAWC

Definition at line 129 of file d4d_screen.h.

#define D4D_SCR_FINT_TOUCHENABLE

Definition at line 128 of file d4d_screen.h.