![]() |
µGFX
2.9
version 2.9
|
Built-in rendering functions for the frame widget.
These function may be passed to gwinSetCustomDraw()
to get different frame drawing styles.
Functions | |
void | gwinFrameDraw_Std (GWidgetObject *gw, void *param) |
The default rendering function for the frame widget. More... | |
void | gwinFrameDraw_Transparent (GWidgetObject *gw, void *param) |
Renders the frame widget with a transparent client area. More... | |
void | gwinFrameDraw_Image (GWidgetObject *gw, void *param) |
Renders the frame widget and uses the specified image for the client area. More... | |
void gwinFrameDraw_Image | ( | GWidgetObject * | gw, |
void * | param | ||
) |
Renders the frame widget 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 frame widget (inner size).
[in] | gw | The widget object (must be a frame 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 gwinFrameDraw_Std | ( | GWidgetObject * | gw, |
void * | param | ||
) |
The default rendering function for the frame widget.
Fills the client area with the background color.
[in] | gw | The widget object (must be a frame widget). |
[in] | param | A parameter passed in from the user. Ignored by this function. |
void gwinFrameDraw_Transparent | ( | GWidgetObject * | gw, |
void * | param | ||
) |
Renders the frame widget with a transparent client area.
Will not fill the client area at all.
[in] | gw | The widget object (must be a frame object). |
[in] | param | A parameter passed in from the user. Ignored by this function. |
gwinFrameDraw_Image()
uses param to pass in the gImage pointer. The image must be already opened before calling gwinSetCustomDraw()
.