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

Macros

#define D4D_OBJECT_F_VISIBLE
 Object after initialization is visible on the screen. More...
 
#define D4D_OBJECT_F_ENABLED
 Object after initialization is enabled. More...
 
#define D4D_OBJECT_F_TABSTOP
 Object can be focused. More...
 
#define D4D_OBJECT_F_TOUCHENABLE
 Object has enabled touch screen capability. More...
 
#define D4D_OBJECT_F_FASTTOUCH
 Object has enabled fast touch screen capability. This option supports only a some objects (button, check box, etc). More...
 
#define D4D_OBJECT_F_FOCUSRECT
 Object has an outlined rectangle. More...
 
#define D4D_OBJECT_F_TIMETICK
 Object will gets the time tick events. More...
 
#define D4D_OBJECT_F_RESERVED1
 For future use. More...
 
#define D4D_OBJECT_F_BEVEL_MASK
 Object bevel border mask. More...
 
#define D4D_OBJECT_F_BEVEL_SHIFT
 Object bevel border bit shift. More...
 
#define D4D_OBJECT_F_BEVEL_RAISED
 Object bevel border raised mask. More...
 
#define D4D_OBJECT_F_BEVEL_DENTED
 Object bevel border dented mask. More...
 
#define D4D_OBJECT_F_MOUSE_MASK
 Object mouse cursor type mask. More...
 
#define D4D_OBJECT_F_MOUSE_SHIFT
 Object mouse cursor type shift. More...
 
#define D4D_OBJECT_F_MOUSE_NORMAL
 Object mouse cursor type normal mask. More...
 
#define D4D_OBJECT_F_MOUSE_BUSY
 Object mouse cursor type busy mask. More...
 
#define D4D_OBJECT_F_MOUSE_UNAVAILABLE
 Object mouse cursor type unavailable mask. More...
 
#define D4D_OBJECT_F_SYSTEM_MASK
 Object flags system part mask. More...
 
#define D4D_OBJECT_F_OBJECT_MASK
 Object flags widget part mask. More...
 
#define D4D_OBJECT_F_OBJECT_SHIFT
 Object flags widget part shift. More...
 
#define D4D_OBJECT_USR_DATA_PARENT_IX
 The relations object index to relation array for parent object. More...
 
#define D4D_OBJECT_USR_DATA_CHILD_IX
 The relations object index to relation array for first child object. More...
 
#define D4D_OBJECT_F_REDRAW
 
#define D4D_OBJECT_F_REDRAWC
 
#define D4D_OBJECT_F_REDRAWSTATE
 
#define D4D_OBJECT_F_NOTINIT
 
#define D4D_EXTERN_OBJECT(name)
 Macro that externs the D4D_OBJECT struxture. More...
 
#define D4D_GET_OBJECT_DATA(pObject)
 Macro that gets the pointer to object data from object structure pointer. More...
 
#define D4D_BORDER_WIDTH(flags)
 Macro that find out the width of object graphic border by object flags. More...
 
#define D4D_OBJECT_FLAGS2BEVEL(pObject)
 Macro that gets the type of bevel from the object flags. More...
 
#define D4D_DECLARE_OBJECT(type, name, x, y, cx, cy, rad, margin, relations, onusrmsg, sysFunc, param, initFlags, userData, pScheme)
 Macro that create the object structure in memory including all substructures. More...
 
#define D4D_DECLARE_OBJECT_RELATIONS(name, pParent,...)
 Macro that defines at one line relations array. More...
 
#define D4D_DECLARE_OBJECT_RELATIONS_BEGIN(name, pParent)
 Macro that defines at multi line relations array. More...
 
#define D4D_DECLARE_OBJECT_RELATIONS_CHILD(child)
 Macro that defines at multi line relations array - the add child part. More...
 
#define D4D_DECLARE_OBJECT_RELATIONS_END
 Macro that defines at multi line relations array - the final part. More...
 
#define D4D_OBJECT_MAX_TEXT_LEN(str)
 

Typedefs

typedef LWord D4D_OBJECT_FLAGS
 The object flags type. The masks are described here D4D OBJECT Defines masks of object behaviour flags. More...
 
typedef LWord D4D_OBJECT_INITFLAGS
 The object init flags type. The masks are described here D4D OBJECT Defines masks of object behaviour flags. More...
 
typedef struct
D4D_OBJECT_SYS_FUNCTION_S 
D4D_OBJECT_SYS_FUNCTION
 The object system function needed for each object - this is part of D4D_OBJECT main structure. More...
 
typedef struct D4D_OBJECT_DATA_S D4D_OBJECT_DATA
 The object changeble data structure - this is part of D4D_OBJECT main structure. More...
 
typedef struct D4D_OBJECT_DATA_SD4D_OBJECT_DATA_PTR
 
typedef void * D4D_OBJECT_USR_DATA
 The object user data type definition. More...
 
typedef struct D4D_OBJECT_S
*const * 
D4D_OBJECT_RELATIONS
 The object relations type definition. In fact this is array of object pointer , where on position 0 is parent object(if exists) and on other positions are children. More...
 
typedef Byte(* D4D_ON_USR_MSG )(struct D4D_MESSAGE_S *pMsg)
 Type definition of object on User message handler function. More...
 
typedef struct D4D_OBJECT_S D4D_OBJECT
 The object main structure type definition. More...
 
typedef const D4D_OBJECTD4D_OBJECT_PTR
 The type definition of object pointer to ROM. More...
 

Functions

D4D_BOOL D4D_ObjectCheckCoordinates (D4D_OBJECT *pThis, D4D_POINT point)
 
D4D_BOOL D4D_IsEnabled (D4D_OBJECT *pObject)
 Function find out if the object is enabled or not. More...
 
D4D_BOOL D4D_IsVisible (D4D_OBJECT *pObject)
 Function find out if the object is visible or not. More...
 
D4D_BOOL D4D_IsMineFocus (D4D_OBJECT *pObject)
 Function find out if the object (including compounded objects) is focused. More...
 
void D4D_EnableTabStop (D4D_OBJECT_PTR pObj, D4D_BOOL bEnable)
 Function enables TabStop on the object. More...
 
void D4D_EnableObject (D4D_OBJECT_PTR pObj, D4D_BOOL bEnable)
 Function enables object. More...
 
void D4D_EnableTouchScreen (D4D_OBJECT_PTR pObj, D4D_BOOL bEnable, D4D_BOOL bFastTouch)
 Function enables touchs screen capability and sets also mode of touch event. More...
 
void D4D_ShowObject (D4D_OBJECT_PTR pObject, D4D_BOOL bShow)
 Function control visibility of object on screen. More...
 
void D4D_EnableTimeTicks (D4D_OBJECT_PTR pObj, D4D_BOOL bEnable)
 Function enable or diasble receiving timeticks for an OBJECT. More...
 
void D4D_InvalidateObject (D4D_OBJECT_PTR pObject, D4D_BOOL bComplete)
 Function invalidate object to redraw on screen. More...
 
void * D4D_GetUserPointer (D4D_OBJECT *pThis)
 Function return the object user data. More...
 
void D4D_CaptureKeys (D4D_OBJECT_PTR pObj)
 Function switch on capturing the keys to objects. More...
 
D4D_OBJECTD4D_GetCapturedObject (void)
 Function returns the current keys capturing object pointer. More...
 
D4D_SIZE D4D_GetClientScreenSize (D4D_OBJECT *pObject)
 The function return the real client size of object. More...
 

Detailed Description

D4D Driver object functions header file.

Author
Petr Gargulak
Version
0.0.20.0
Date
Jan-14-2014

Definition in file d4d_object.h.

Macro Definition Documentation

#define D4D_OBJECT_F_NOTINIT

Definition at line 113 of file d4d_object.h.

#define D4D_OBJECT_F_REDRAW

Definition at line 110 of file d4d_object.h.

#define D4D_OBJECT_F_REDRAWC

Definition at line 111 of file d4d_object.h.

#define D4D_OBJECT_F_REDRAWSTATE

Definition at line 112 of file d4d_object.h.

#define D4D_OBJECT_MAX_TEXT_LEN (   str)

Definition at line 310 of file d4d_object.h.

Function Documentation

D4D_BOOL D4D_ObjectCheckCoordinates ( D4D_OBJECT pThis,
D4D_POINT  point 
)

Definition at line 459 of file d4d_object.c.