68 #define _calc (*((D4D_LBL_TMP_VAL*)d4d_scratchPad))
D4D_COLOR D4D_ObjectGetBckgColor(D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw)
Function return object current background color.
const D4D_OBJECT_SYS_FUNCTION d4d_labelSysFunc
D4D_COLOR D4D_ObjectGetForeColor(D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw)
Function return object current fore color.
Type definition of eGUI point structure.
D4D object messages structure.
The string type. This structure contains all properties about string in eGUI.
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.
void D4D_LabelOnMessage(D4D_MESSAGE *pMsg)
struct D4D_OBJECT_S * pObject
Pointer to object who is receiver of this message. If the receiver is just screen this field must be ...
D4D Driver main header file.
static void D4D_LblValue2Coor(D4D_OBJECT *pThis)
#define D4D_OBJECT_DRAWFLAGS_COMPLETE
Draw complete flag.
D4D Driver private header file.
#define D4D_DEFSTR(str)
Macro that helps declare the strings in eGUI.
D4D_POINT position
Position on the screen/object.
#define D4D_OBJECT_DRAWFLAGS_STATE
Draw just change of state flag.
D4D_COOR radius
Object corners radius.
#define D4D_GET_LABEL(pObj)
void D4D_ObjOnMessage(D4D_MESSAGE *pMsg)
void D4D_FocusSet(const D4D_SCREEN *pScreen, D4D_OBJECT_PTR pObject)
The function set the obejct focus to new object.
static void D4D_LabelOnDraw(D4D_MESSAGE *pMsg)
#define NULL
Type definition of null pointer.
D4D_TCHAR * pText
pointer to text array
D4D_STRING * D4D_LabelGetTextBuffer(D4D_OBJECT *pThis)
D4D_MSGID nMsgId
Type of message.
D4D_POINT D4D_GetClientToScreenPoint(D4D_OBJECT *pObject, D4D_POINT *nClientPoint)
The function convert client point on the screen to the global screen point.
The object main structure type definition.
Draw message - is send when the object should be redrawed.
void D4D_ComputeGeometry(D4D_GEOMETRY *pGeometry, D4D_OBJECT *pObject)
The object system function needed for each object - this is part of D4D_OBJECT main structure...
Touched message - is send when the object is touched by touch screen driver.
#define D4D_DrawTextRRect(ppt, psz, buffText, colorText, colorBkgd, radius)
Function that draw text into defined rectangle on the screen with corner radius.
D4D_OBJECT_DRAWFLAGS draw
Contains draw flags - is valid with D4D_MSG_DRAW and D4D_MSG_DRAWDONE message.
Type definition of eGUI geometry structure.
Byte D4D_OBJECT_DRAWFLAGS
Drawing object flags type, handled to object in D4D_MSG_DRAW events.
LWord D4D_COLOR
Type definition of eGUI color variables.
struct D4D_SCREEN_S * pScreen
Pointer to screen who is receiver of this message.
union D4D_MESSAGE_S::@0 prm
Additional data for some type of messages.