Krotos Modules 3
Loading...
Searching...
No Matches
krotos::KwidgetGUI_ConvolutionReverb Class Reference

#include <KwidgetGUI_ConvolutionReverb.h>

Inheritance diagram for krotos::KwidgetGUI_ConvolutionReverb:
krotos::KwidgetGUI

Public Types

using Parameters = Kwidget_ConvolutionReverb::Parameters
 
- Public Types inherited from krotos::KwidgetGUI
enum class  RenderStyle {
  normal = 0 , borderless , borderless_with_buttons , minimised ,
  NUM_STYLES
}
 

Public Member Functions

 KwidgetGUI_ConvolutionReverb (Kwidget &owner)
 
void resized () override
 
ComboBox & getImpulseComboBox ()
 
- Public Member Functions inherited from krotos::KwidgetGUI
 KwidgetGUI (Kwidget &owner)
 
 ~KwidgetGUI () override=default
 
void moved () override
 
void paint (Graphics &g) override
 
void resized () override
 
void mouseDown (const MouseEvent &event) override
 
const String & getKwidgetType () const
 
const String & getKwidgetID () const
 
void setRenderStyle (RenderStyle newStyle)
 
int divideIntByFloat (int dividend, float divisor)
 
int multiplyIntByFloat (int mult, float factor)
 
virtual void finalSetup ()
 
void ignorePadding (bool ignore)
 
TopBarComponentgetTopBarComponent ()
 
KwidgetgetOwner ()
 

Private Member Functions

void populateComboBox ()
 
void addFoldersAsSubMenus (PopupMenu *parentMenu, const File &directory)
 
void populatePopupSubMenu (PopupMenu &menu, const File &directory)
 
String extractFileName (const String &fullPath)
 

Private Attributes

AttachedSlider m_mix {Parameters::Mix}
 
AttachedSlider m_wetGain {Parameters::WetGain}
 
AttachedSlider m_predelay {Parameters::Predelay}
 
ComboBox m_impulseCombo
 
CustomParameter m_impulsePath
 
ToggleButton m_bypass
 
std::unique_ptr< ButtonParameterAttachment > m_bypassAttachment
 
int m_itemCnt = 1
 
HashMap< int, String > m_itemInfo
 

Additional Inherited Members

- Public Attributes inherited from krotos::KwidgetGUI
std::function< void(const String &)> onDelete
 
- Protected Member Functions inherited from krotos::KwidgetGUI
std::unique_ptr< SliderParameterAttachment > createParameterAttachment (const String &paramID, Slider &slider)
 
std::unique_ptr< ButtonParameterAttachment > createParameterAttachment (const String &paramID, Button &button)
 
std::unique_ptr< ComboBoxParameterAttachment > createParameterAttachment (const String &paramID, ComboBox &comboBox)
 
std::unique_ptr< ParameterAttachment > createParameterAttachment (const String &paramID, std::function< void(float)> callback)
 
std::unique_ptr< LabelCustomParameterAttachmentcreateCustomParameterAttachment (const String &paramID, Label &label)
 
template<typename AttachedComponentType >
void addAttachedComponent (AttachedComponentType &component, const String &paramID, bool isDraggable=true)
 
template<typename AttachedComponentType >
void addAttachedComponent (Component &parent, AttachedComponentType &component, const String &paramID, bool isDraggable=true)
 
void addParameterCallback (const String &paramID, std::function< void(float)> callback)
 
- Protected Attributes inherited from krotos::KwidgetGUI
bool m_ignorePadding {false}
 
Rectangle< int > m_currentBounds
 
TextButton m_selectButton
 
TextButton m_deleteButton
 
Colour m_borderColour {Colours::fuchsia}
 
TopBarComponent m_topBarComponent
 
RenderStyle m_renderStyle {RenderStyle::normal}
 

Member Typedef Documentation

◆ Parameters

Constructor & Destructor Documentation

◆ KwidgetGUI_ConvolutionReverb()

krotos::KwidgetGUI_ConvolutionReverb::KwidgetGUI_ConvolutionReverb ( Kwidget & owner)

Member Function Documentation

◆ addFoldersAsSubMenus()

void krotos::KwidgetGUI_ConvolutionReverb::addFoldersAsSubMenus ( PopupMenu * parentMenu,
const File & directory )
private

◆ extractFileName()

String krotos::KwidgetGUI_ConvolutionReverb::extractFileName ( const String & fullPath)
private

◆ getImpulseComboBox()

ComboBox & krotos::KwidgetGUI_ConvolutionReverb::getImpulseComboBox ( )
inline

◆ populateComboBox()

void krotos::KwidgetGUI_ConvolutionReverb::populateComboBox ( )
private

◆ populatePopupSubMenu()

void krotos::KwidgetGUI_ConvolutionReverb::populatePopupSubMenu ( PopupMenu & menu,
const File & directory )
private

◆ resized()

void krotos::KwidgetGUI_ConvolutionReverb::resized ( )
override

Member Data Documentation

◆ m_bypass

ToggleButton krotos::KwidgetGUI_ConvolutionReverb::m_bypass
private

◆ m_bypassAttachment

std::unique_ptr<ButtonParameterAttachment> krotos::KwidgetGUI_ConvolutionReverb::m_bypassAttachment
private

◆ m_impulseCombo

ComboBox krotos::KwidgetGUI_ConvolutionReverb::m_impulseCombo
private

◆ m_impulsePath

CustomParameter krotos::KwidgetGUI_ConvolutionReverb::m_impulsePath
private

◆ m_itemCnt

int krotos::KwidgetGUI_ConvolutionReverb::m_itemCnt = 1
private

◆ m_itemInfo

HashMap<int, String> krotos::KwidgetGUI_ConvolutionReverb::m_itemInfo
private

◆ m_mix

AttachedSlider krotos::KwidgetGUI_ConvolutionReverb::m_mix {Parameters::Mix}
private

◆ m_predelay

AttachedSlider krotos::KwidgetGUI_ConvolutionReverb::m_predelay {Parameters::Predelay}
private

◆ m_wetGain

AttachedSlider krotos::KwidgetGUI_ConvolutionReverb::m_wetGain {Parameters::WetGain}
private

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