Crate nih_plug_vizia

source ·
Expand description

VIZIA editor support for NIH plug.

Re-exports

  • pub use vizia;

Modules

  • Binary assets for use with nih_plug_vizia. These fonts first need to be registered using their associated registration function.
  • Registration functions for Vizia’s built-in fonts. These are not enabled by default in nih_plug_vizia to save on binary size.
  • Widgets and utilities for making widgets to integrate VIZIA with NIH-plug.

Structs

  • State for an nih_plug_vizia editor. The scale factor can be manipulated at runtime using cx.set_user_scale_factor().

Enums

  • Controls what level of theming to apply to the editor.

Functions

  • Create an Editor instance using a [vizia][::vizia] GUI. The ViziaState passed to this function contains the GUI’s intitial size, and this is kept in sync whenever the GUI gets resized. You can also use this to know if the GUI is open, so you can avoid performing potentially expensive calculations while the GUI is not open. If you want this size to be persisted when restoring a plugin instance, then you can store it in a #[persist = "key"] field on your parameters struct.