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

A header with power button, name and mod destinations. More...

Inherits juce::Component.

Public Member Functions

 HeaderItem (juce::String name_, Parameter *enable, ModMatrix &mm, ModSrcId monoSrc={}, ModSrcId polySrc={})
 
 HeaderItem (juce::String name_, Parameter *enable=nullptr)
 
void setSelected (bool s)
 

Public Attributes

std::function< void()> onClick
 

Detailed Description

A header with power button, name and mod destinations.

Constructor & Destructor Documentation

◆ HeaderItem() [1/2]

HeaderItem::HeaderItem ( juce::String  name_,
Parameter enable,
ModMatrix mm,
ModSrcId  monoSrc = {},
ModSrcId  polySrc = {} 
)

◆ HeaderItem() [2/2]

HeaderItem::HeaderItem ( juce::String  name_,
Parameter enable = nullptr 
)

References addAndMakeVisible().

Member Function Documentation

◆ setSelected()

void HeaderItem::setSelected ( bool  s)

Member Data Documentation

◆ onClick

std::function<void()> HeaderItem::onClick

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