Horizontal and vertical sliders
This module contains code for horizontal and vertical sliders. (../include/depui/slider.h)
Part of the depui library.
MX_SLIDER
Slider type
# define MXSLIDER(o)
Convert to MX_SLIDER base object
# define mx_slider_set(s,r,si,v)
Set the slider range size and value
# define mx_slider_to(s,v)
Move slider to a given position
# define mx_slider_value(s)
Return the slider value
void mx_vslider_class(void)
Class function for vertical MX_SLIDER
# define mx_vslider(s,si,p,i)
Create vertical slider
This function creates a vertical slider as a child of another object. (../include/depui/slider.h)
void mx_hslider_class(void)
Class function for horizontal MX_SLIDER
# define mx_hslider(s,si,p,i)
Create horizontal slider
This function creates a horozontal slider as a child of another object. (../include/depui/slider.h)
void mx__slider_set(MX_SLIDER_DATA* slider, int range, int size, int value)
If the range, size or value is MXDEFAULT then the previous value is used. (../include/depui/slider.c)
void mx__slider_to(MX_SLIDER_DATA* slider, int value)
If the slider position is changed then a MX_HSCROLL or a MX_VSCROLL event is passed to the sliders parent. (../include/depui/slider.c)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:27 2007