![]() |
µGFX
2.9
version 2.9
|
Built-in rendering functions for the container widget.
These function may be passed to gwinSetCustomDraw()
to get different container drawing styles.
Functions | |
void | gwinContainerDraw_Std (GWidgetObject *gw, void *param) |
The default rendering function for the container widget. More... | |
void | gwinContainerDraw_Transparent (GWidgetObject *gw, void *param) |
Renders the container but leaves the client area transparent. More... | |
void | gwinContainerDraw_Image (GWidgetObject *gw, void *param) |
Renders the container and uses the specified image for the client area. More... | |
void gwinContainerDraw_Image | ( | GWidgetObject * | gw, |
void * | param | ||
) |
Renders the container and uses the specified image for the client area.
The image will be tiled throghout the client area. Therefore, to archive the best looking result the supplied image needs to be of the same size as the client area size of the container widget (inner size).
[in] | gw | The widget object (must be a container object). |
[in] | param | A parameter passed in from the user. Must be an image handle. See note below. |
gwinSetCustomDraw()
. The handle is passed as the parameter to this function.void gwinContainerDraw_Std | ( | GWidgetObject * | gw, |
void * | param | ||
) |
The default rendering function for the container widget.
Fills the client area with the background color.
[in] | gw | The widget object (must be a container object). |
[in] | param | A parameter passed in from the user. Ignored by this function. |
void gwinContainerDraw_Transparent | ( | GWidgetObject * | gw, |
void * | param | ||
) |
Renders the container but leaves the client area transparent.
Will not fill the client area at all.
[in] | gw | The widget object (must be a container object). |
[in] | param | A parameter passed in from the user. Ignored by this function. |