Next: Input Fields, Previous: Sliders, Up: Part I Defining Forms [Contents][Index]

### 3.6 ValSliders

A valslider is almost identical with a normal slider. The only difference is the way the slider is drawn. For valsliders, in addition to the slider itself, its current value is also shown.

To add a valslider, use

    FL_OBJECT *fl_add_valslider(int type, FL_Coord x, FL_Coord y,
                                FL_Coord w, FL_Coord h,
                                const char *label);

For all other interaction with a valslider the same function as for normal sliders can be used.