Gin
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ProcessorEditor Class Reference

Plugin editor. More...

Inheritance diagram for ProcessorEditor:

Public Member Functions

 ProcessorEditor (Processor &) noexcept
 
 ProcessorEditor (Processor &, int cx, int cy) noexcept
 
 ~ProcessorEditor () override
 
virtual void addMenuItems (juce::PopupMenu &)
 
virtual void showAboutInfo ()
 
void refreshProgramsList ()
 
void refreshPatchBrowser ()
 
void showPatchBrowser (bool p)
 
- Public Member Functions inherited from ProcessorEditorBase
 ProcessorEditorBase (Processor &p, int cx_, int cy_)
 
 ~ProcessorEditorBase () override
 
void makeResizable (int minX, int minY, int maxX, int maxY)
 
void resized () override
 
void globalFocusChanged (juce::Component *) override
 
void paintOverChildren (juce::Graphics &g) override
 
void addControl (ParamComponent *c, int x=0, int y=0, int w=1, int h=1)
 
virtual juce::Rectangle< int > getControlsArea ()
 
virtual juce::Rectangle< int > getGridArea (int x, int y, int w=1, int h=1)
 
juce::Rectangle< int > getFullGridArea ()
 
int getGridWidth ()
 
int getGridHeight ()
 
bool getUseIncreasedKeyboardAccessibility ()
 
void setUseIncreasedKeyboardAccessibility (bool accessible)
 

Public Attributes

ProcessorslProc
 
- Public Attributes inherited from ProcessorEditorBase
juce::ComponentBoundsConstrainer resizeLimits
 

Protected Member Functions

void handleAsyncUpdate () override
 
void paint (juce::Graphics &g) override
 
void resized () override
 
- Protected Member Functions inherited from ProcessorEditorBase
void setGridSize (int x, int y, int extraWidthPx=0, int extraHeightPx=0)
 
ParamComponentcomponentForId (const juce::String &uid)
 
ParamComponentcomponentForParam (Parameter &param)
 

Protected Attributes

PatchBrowser patchBrowser { slProc }
 
TitleBar titleBar { *this, slProc, patchBrowser }
 
- Protected Attributes inherited from ProcessorEditorBase
ProcessorginProcessor
 
std::unique_ptr< juce::ResizableCornerComponent > resizer
 
const int cx
 
const int cy
 
juce::OwnedArray< ParamComponentcontrols
 
int headerHeight = 40
 
int inset = 4
 
int cols = 0
 
int rows = 0
 
int extraWidthPx = 0
 
int extraHeightPx = 0
 
juce::TooltipWindow tooltipWindow { this, 0 }
 

Detailed Description

Plugin editor.

Constructor & Destructor Documentation

◆ ProcessorEditor() [1/2]

ProcessorEditor::ProcessorEditor ( Processor )
noexcept

◆ ProcessorEditor() [2/2]

ProcessorEditor::ProcessorEditor ( Processor ,
int  cx,
int  cy 
)
noexcept

◆ ~ProcessorEditor()

ProcessorEditor::~ProcessorEditor ( )
override

Member Function Documentation

◆ addMenuItems()

virtual void ProcessorEditor::addMenuItems ( juce::PopupMenu &  )
virtual

◆ showAboutInfo()

virtual void ProcessorEditor::showAboutInfo ( )
virtual

◆ refreshProgramsList()

void ProcessorEditor::refreshProgramsList ( )

◆ refreshPatchBrowser()

void ProcessorEditor::refreshPatchBrowser ( )

◆ showPatchBrowser()

void ProcessorEditor::showPatchBrowser ( bool  p)

◆ handleAsyncUpdate()

void ProcessorEditor::handleAsyncUpdate ( )
overrideprotected

◆ paint()

void ProcessorEditor::paint ( juce::Graphics &  g)
overrideprotected

◆ resized()

void ProcessorEditor::resized ( )
overrideprotected

Member Data Documentation

◆ slProc

Processor& ProcessorEditor::slProc

◆ patchBrowser

PatchBrowser ProcessorEditor::patchBrowser { slProc }
protected

◆ titleBar

TitleBar ProcessorEditor::titleBar { *this, slProc, patchBrowser }
protected

The documentation for this class was generated from the following file: