![]() |
µGFX
2.9
version 2.9
|
Built-in rendering functions for the slider widget.
These function may be passed to gwinSetCustomDraw()
to get different slider drawing styles.
Functions | |
void | gwinSliderDraw_Std (GWidgetObject *gw, void *param) |
The default rendering function for the slider widget. More... | |
void | gwinSliderDraw_Image (GWidgetObject *gw, void *param) |
The default rendering function. More... | |
void gwinSliderDraw_Image | ( | GWidgetObject * | gw, |
void * | param | ||
) |
The default rendering function.
[in] | gw | The widget object (must be a slider object). |
[in] | param | A parameter passed in from the user. Must be an image handle. See note below. |
gwinSetCustomDraw()
. The image should be 3 times the height of the button. The button image is repeated 3 times vertically, the first (top) for the "up" image, the 2nd for the "down" image, and the third (bottom) image for the disabled state. If the disabled state is never going to be used then the image can be just 2 times the button height. No checking is done to compare the size of the button to the size of the image. No text is drawn on top of the image.void gwinSliderDraw_Std | ( | GWidgetObject * | gw, |
void * | param | ||
) |
The default rendering function for the slider widget.
[in] | gw | The widget object (must be a slider object). |
[in] | param | A parameter passed in from the user. Ignored by this function. |
Definition at line 343 of file gwin_slider.c.
References GWidgetObject::g, and GWindowObject::vmt.