Module nih_plug_vizia::widgets::param_base
source · Expand description
A base widget for creating other widgets that integrate with NIH-plug’s Param types.
Modules
- Derived lenses for
ParamWidgetBase.
Structs
- A helper for creating parameter widgets. The general idea is that a parameter widget struct can adds a
ParamWidgetBasefield on its struct, and then callsParamWidgetBase::view()in its view build function. The storedParamWidgetbBaseobject can then be used in the widget’s event handlers to interact with the parameter. - Data and lenses that can be used to draw the parameter widget. The
paramfield should only be used for looking up static data. Prefer themake_lens()function for binding parameter data to element properties.