#include <glv_sliders.h>
Public Member Functions | |
SliderBase (const Rect &r) | |
Constructor. | |
float | value (int idx=0) const |
Get value at 1D index. | |
SliderBase & | value (float val, int idx) |
Set value at 1D index and notify observers. | |
SliderBase & | valueMax () |
Set all values to maximum and notify observers. | |
SliderBase & | valueMid () |
Set all values to middle value and notify observers. |
The foreground color determines the color of the slider.