Expand description

A base widget for creating other widgets that integrate with NIH-plug’s Param types.

Modules

Structs

  • A helper for creating parameter widgets. The general idea is that a parameter widget struct can adds a ParamWidgetBase field on its struct, and then calls ParamWidgetBase::view() in its view build function. The stored ParamWidgetbBase object 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 param field should only be used for looking up static data. Prefer the make_lens() function for binding parameter data to element properties.