iPlug2 Controls Overview

Anonymous

What controls are in iPlug2?

iPlug2GPT logo
iPlug2GPT

iPlug2 includes a variety of controls that can be used for building user interfaces for plugins. These controls are categorized into Vector-based controls, Bitmap-based controls, SVG controls, and other general controls. Here's a list of some of these controls:

Vector-Based Controls

  • IVLabelControl: A vector label control for displaying text with a shadow.
  • IVButtonControl: A vector button or momentary switch control.
  • IVSwitchControl: A vector switch control.
  • IVToggleControl: A vector toggle control.
  • IVSlideSwitchControl: A switch with a slide animation upon clicking.
  • IVTabSwitchControl: A multi-switch control with a "tab" interface.
  • IVRadioButtonControl: Vector-based radio buttons switch control.
  • IVKnobControl: A knob control drawn using graphics primitives.
  • IVSliderControl: A vector slider control.
  • IVRangeSliderControl: A vector range slider with two handles.
  • IVXYPadControl: A vector XY Pad slider control.
  • IVPlotControl: For displaying functions and waveforms.
  • IVGroupControl: To draw a rectangle around a named IControl group.
  • IVPanelControl: A panel control that can be styled.
  • IVColorSwatchControl: Displays a color swatch of up to 9 colors.

SVG Controls

  • ISVGKnobControl: Knob control that rotates an SVG image.
  • ISVGButtonControl: Button control showing an SVG image.
  • ISVGToggleControl: Toggle switch control using SVG images.
  • ISVGSwitchControl: Switch control showing different SVG states.
  • ISVGSliderControl: Slider control with SVG for track and handle.

Bitmap-Based Controls

  • IBButtonControl: Bitmap button/momentary switch control.
  • IBSwitchControl: Bitmap switch control.
  • IBKnobControl: Knob control that draws a frame from a stacked bitmap.
  • IBKnobRotaterControl: Knob control that rotates an image.
  • IBSliderControl: Bitmap slider/fader control.
  • IBTextControl: Displays text using a monospace bitmap font.
  • IBMeterControl: Bitmap meter control, for use as VUMeters.

Other General Controls

  • IPanelControl: Basic control to fill a rectangle with color or gradient.
  • ILambdaControl: Specialized with a lambda function for quick experiments.
  • IBitmapControl: Basic control to draw a bitmap.
  • ISVGControl: Basic control for drawing SVG images.
  • ITextControl: Basic control for displaying text.
  • IEditableTextControl: Displays editable text.
  • IURLControl: Shows a clickable URL.
  • ITextToggleControl: Toggles between two text strings on click.
  • ICaptionControl: Displays the textual representation of a parameter.
  • PlaceHolder: A placeholder control for development.

Each of these controls is designed to fulfill specific UI requirements in plugin development. Developers can also create custom controls by inheriting from base classes like IControl, IKnobControlBase, or ISliderControlBase, depending on their specific needs.