A multi-parameter slider grid. More...
#include <glv_sliders.h>
Public Member Functions | |
SliderGrid (const Rect &r=glv::Rect(100), space_t knobSize=4) | |
virtual const char * | className () const |
Get class name. | |
virtual void | onDraw (GLV &g) |
Drawing callback. | |
virtual bool | onEvent (Event::t e, GLV &g) |
Event callback to be called after those in callback list. | |
Public Attributes | |
space_t | knobSize |
Knob size. |
A multi-parameter slider grid.
The cells of the grid represent all the pair permutations of parameters. The parameter values run from 0 to N, going left-to-right along the x-axis and bottom-to-top along th y-axis. Cells along the diagonal control the parameters individually.
TEM glv::SliderGrid< Dim >::SliderGrid | ( | const Rect & | r = glv::Rect(100) , |
|
space_t | knobSize = 4 | |||
) |
[in] | r | geometry |
[in] | knobSize | size of slider knob in pixels |