Public Member Functions | Public Attributes

glv::SliderGrid< Dim > Class Template Reference

A multi-parameter slider grid. More...

#include <glv_sliders.h>

Inheritance diagram for glv::SliderGrid< Dim >:
glv::SliderVector< Dim > glv::Widget glv::View glv::DataModel glv::Notifier glv::SmartObject< View >

List of all members.

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.

Detailed Description

template<int Dim>
class glv::SliderGrid< Dim >

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.


Constructor & Destructor Documentation

template<int Dim>
TEM glv::SliderGrid< Dim >::SliderGrid ( const Rect r = glv::Rect(100),
space_t  knobSize = 4 
)
Parameters:
[in] r geometry
[in] knobSize size of slider knob in pixels

The documentation for this class was generated from the following file: