Functions | |
D4D_CLR_SCHEME * | D4D_ObjectGetScheme (D4D_OBJECT *pObj) |
Function return the pointer to current use object scheme of object. More... | |
D4D_CLR_SCHEME * | D4D_GetDefaultScheme (void) |
Function return the pointer to default color scheme. More... | |
void | D4D_SetDefaultScheme (D4D_CLR_SCHEME *pScheme) |
Function sets the new default color scheme. More... | |
D4D_COLOR | D4D_ObjectGetForeColor (D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw) |
Function return object current fore color. More... | |
D4D_COLOR | D4D_ObjectGetBckgColor (D4D_OBJECT *pObj, D4D_OBJECT_DRAWFLAGS draw) |
Function return object current background color. More... | |
D4D_COLOR | D4D_ObjectGetForeFillColor (D4D_OBJECT *pObj) |
Function return object current fill fore color. More... | |
D4D_COLOR | D4D_ObjectGetBckgFillColor (D4D_OBJECT *pObj) |
Function return object current fill background color. More... | |
D4D_COLOR | D4D_GetCrossColor (D4D_COLOR startColor, D4D_COLOR endColor, Byte value) |
Compute cross color between two basic color in 256 steps. More... | |
D4D_COLOR | D4D_ChangeColorIntesity (D4D_COLOR color, sByte intensity) |
Compute change of color intesity. More... | |
D4D_COLOR | D4D_GetGreyScale (D4D_COLOR color) |
Compute the grayscale color. More... | |
This section specifies the exact usage for each API function.
Compute change of color intesity.
color | - input color to change intesity |
intensity | - change of intesity - signed <-100 .. 100> |
Definition at line 286 of file d4d_scheme.c.
Compute cross color between two basic color in 256 steps.
startColor | - starting color for computing cross color |
endColor | - ending color for computing cross color |
value | - crossing value <0-255> |
Definition at line 243 of file d4d_scheme.c.
D4D_CLR_SCHEME* D4D_GetDefaultScheme | ( | void | ) |
Function return the pointer to default color scheme.
Definition at line 133 of file d4d_scheme.c.
Compute the grayscale color.
color | - input color to change to grey scale |
Definition at line 333 of file d4d_scheme.c.
D4D_COLOR D4D_ObjectGetBckgColor | ( | D4D_OBJECT * | pObj, |
D4D_OBJECT_DRAWFLAGS | draw | ||
) |
Function return object current background color.
pObj | - pointer to object |
draw | - draw runtime flags handled to object by D4D_MSG_ONDRAW |
Definition at line 185 of file d4d_scheme.c.
D4D_COLOR D4D_ObjectGetBckgFillColor | ( | D4D_OBJECT * | pObj | ) |
Function return object current fill background color.
pObj | - pointer to object |
Definition at line 225 of file d4d_scheme.c.
D4D_COLOR D4D_ObjectGetForeColor | ( | D4D_OBJECT * | pObj, |
D4D_OBJECT_DRAWFLAGS | draw | ||
) |
Function return object current fore color.
pObj | - pointer to object |
draw | - draw runtime flags handled to object by D4D_MSG_ONDRAW |
Definition at line 161 of file d4d_scheme.c.
D4D_COLOR D4D_ObjectGetForeFillColor | ( | D4D_OBJECT * | pObj | ) |
Function return object current fill fore color.
pObj | - pointer to object |
Definition at line 208 of file d4d_scheme.c.
D4D_CLR_SCHEME* D4D_ObjectGetScheme | ( | D4D_OBJECT * | pObj | ) |
Function return the pointer to current use object scheme of object.
pObj | - pointer to object |
Definition at line 109 of file d4d_scheme.c.
void D4D_SetDefaultScheme | ( | D4D_CLR_SCHEME * | pScheme | ) |
Function sets the new default color scheme.
pScheme | - pointer to object |
Definition at line 145 of file d4d_scheme.c.