All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
ProcessorEditorBody Class Referenceabstract
Inheritance diagram for ProcessorEditorBody:
ProcessorEditorChildComponent ArrayModulatorEditor AudioFileEnvelopeEditor AudioLooperEditor CCDuckerEditor CCEnvelopeEditor ChorusEditor CurveEqEditor EmptyProcessorEditorBody GainCollectorEditor GainEditor GainMatcherEditor GlobalModulatorEditor HarmonicFilterEditor MacroControlModulatorEditorBody PhaserEditor PitchWheelEditorBody RouteFXEditor SaturationEditor WaveSynthBody WavetableBody

Public Member Functions

virtual void updateGui ()=0
void refreshBodySize ()
virtual int getBodyHeight () const =0
- Public Member Functions inherited from ProcessorEditorChildComponent
 ProcessorEditorChildComponent (ProcessorEditor *editor)
ProcessorgetProcessor ()
const ProcessorgetProcessor () const

Additional Inherited Members

- Protected Member Functions inherited from ProcessorEditorChildComponent
const ProcessorEditor * getEditor () const
ProcessorEditor * getEditor ()
- Static Protected Member Functions inherited from ProcessorEditorChildComponent
static bool toggleButton (Button *b)

Detailed Description

A ProcessorEditorBody is an interface class that can be used to create a custom body for a certain processor.

If a ProcessorEditor wants to use a body, it must pass a subclass object of this in its constructor.

Member Function Documentation

virtual int getBodyHeight ( ) const
pure virtual

Overwrite this and return the height of the body.

This value can change, but whenever you change it, call refreshBodySize() to let the editor know.

Implemented in EmptyProcessorEditorBody.

void refreshBodySize ( )

Call this whenever you want to resize the editor from eg. a button press.

It checks if the Body should be displayed.

virtual void updateGui ( )
pure virtual

Overwrite this and update all gui elements.

This is called asynchronously whenever the processor's setOutputValue() or setAttribute() are called.

Implemented in EmptyProcessorEditorBody.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.