58 D4D_GROUP_BOX_FRAME_MARGIN
107 #if D4D_ROUND_CORNER_ENABLE == D4D_TRUE
126 #if D4D_ROUND_CORNER_ENABLE == D4D_TRUE
139 if(size.
cx > (pThis->
size.
cx - activeSize))
155 #if D4D_ROUND_CORNER_ENABLE == D4D_TRUE
164 #if D4D_ROUND_CORNER_ENABLE == D4D_TRUE
#define D4D_GROUP_BOX_F_CONTENT_OUTLINE
Enable group box content outline.
#define D4D_BEVEL_BCKG_INTENSITY
D4D_BEVEL_BCKG_INTENSITY constant default declaration. Sets the percentual change of color for bevel ...
D4D_COLOR D4D_ObjectGetBckgFillColor(D4D_OBJECT *pObj)
Function return object current fill background color.
D4D_COLOR D4D_ObjectGetForeColor(D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw)
Function return object current fore color.
Type definition of eGUI point structure.
D4D_COOR left
Margin of left side.
D4D_STRING * D4D_GroupBoxGetTextBuffer(D4D_OBJECT *pThis)
D4D object messages structure.
The string type. This structure contains all properties about string in eGUI.
D4D_OBJECT_INITFLAGS initFlags
The initializations object flags.
#define D4D_DrawTextRect(ppt, psz, buffText, colorText, colorBkgd)
Function that draw text into defined rectangle on the screen.
D4D_FONT fontId
index of used font
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.
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.
void D4D_Rect(D4D_POINT *ppt, D4D_SIZE *psz, D4D_LINETYPE ltype, D4D_COLOR color)
Function draw rectangle on the screen.
#define D4D_GROUP_BOX_HEADER_MARGIN
This is margin of group box header (to keep place for title text) If not defined, it sets to 16 pixel...
#define D4D_OBJECT_DRAWFLAGS_COMPLETE
Draw complete flag.
#define D4D_GET_GROUP_BOX(pObj)
D4D Driver private header file.
#define D4D_DEFSTR(str)
Macro that helps declare the strings in eGUI.
D4D_COOR cx
Size in axis X (width)
Byte D4D_COOR
Type definition of eGUI coordination variables.
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.
D4D_COOR bottom
Margin of bottom side.
void D4D_ObjOnMessage(D4D_MESSAGE *pMsg)
const D4D_OBJECT_SYS_FUNCTION d4d_groupBoxSysFunc
D4D_COLOR D4D_ChangeColorIntesity(D4D_COLOR color, sByte intensity)
Compute change of color intesity.
D4D_COOR right
Margin of right side.
#define NULL
Type definition of null pointer.
D4D_TCHAR * pText
pointer to text array
D4D_COOR y
Coordination in axis Y.
D4D_MSGID nMsgId
Type of message.
D4D_SIZE size
Size of the object.
void D4D_RRect(D4D_POINT *ppt, D4D_SIZE *psz, D4D_LINETYPE ltype, D4D_COLOR color, D4D_COOR radius)
Function draw rectangle on the screen with round corners.
#define D4D_GROUP_BOX_FRAME_MARGIN
This is margin of group box rest frame (left, right and bottom) If not defined, it sets to 4 pixel as...
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.
#define D4D_BEVEL_WIDTH
D4D_BEVEL_WIDTH constant declaration - can't be changed!
Draw message - is send when the object should be redrawed.
D4D_MARGIN groupBox_marginDefault
D4D_COOR cy
Size in axis Y (height)
The object system function needed for each object - this is part of D4D_OBJECT main structure...
Type definition of eGUI size structure.
#define D4D_GROUP_BOX_TEXT_OFFSET
This is offset of title text in horizontal line If not defined, it sets to 6 pixel as a default...
D4D_COOR D4D_GetTextWidth(D4D_FONT ix, D4D_TCHAR *pText)
The function returns width of text in pixels.
D4D_OBJECT_DRAWFLAGS draw
Contains draw flags - is valid with D4D_MSG_DRAW and D4D_MSG_DRAWDONE message.
void D4D_FillRRect(D4D_POINT *ppt, D4D_SIZE *psz, D4D_COLOR color, D4D_COOR radius)
Function draw filled rectangle on the screen with round corners.
D4D_MARGIN * pMargin
Object inner margin.
#define D4D_OBJECT_F_BEVEL_MASK
Object bevel border mask.
LWord D4D_COLOR
Type definition of eGUI color variables.
void D4D_GroupBoxOnMessage(D4D_MESSAGE *pMsg)
D4D_COOR top
Margin of top side.
D4D_COOR x
Coordination in axis X.
union D4D_MESSAGE_S::@0 prm
Additional data for some type of messages.
Type definition of eGUI client area margin structure.
static void D4D_GroupBoxOnDraw(D4D_MESSAGE *pMsg)