MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / ModulationMatrixHeader

Method ModulationMatrixHeader

Source/Panels/ControlPanel/ModulationMatrixPanel.cpp:17–39  ·  view source on GitHub ↗

============================================================================== ModulationMatrixHeader Implementation ==============================================================================

Source from the content-addressed store, hash-verified

15// ModulationMatrixHeader Implementation
16//==============================================================================
17ModulationMatrixHeader::ModulationMatrixHeader()
18{
19 // Initialize and add labels for the column titles.
20 addAndMakeVisible(sourceLabel);
21 sourceLabel.setText("Source", juce::dontSendNotification);
22 sourceLabel.setJustificationType(juce::Justification::centred);
23
24 addAndMakeVisible(amountLabel);
25 amountLabel.setText("Amount", juce::dontSendNotification);
26 amountLabel.setJustificationType(juce::Justification::centred);
27
28 addAndMakeVisible(polarityLabel);
29 polarityLabel.setText("Polarity", juce::dontSendNotification);
30 polarityLabel.setJustificationType(juce::Justification::centred);
31
32 addAndMakeVisible(bypassLabel);
33 bypassLabel.setText("Bypass", juce::dontSendNotification);
34 bypassLabel.setJustificationType(juce::Justification::centred);
35
36 addAndMakeVisible(destinationLabel);
37 destinationLabel.setText("Destination", juce::dontSendNotification);
38 destinationLabel.setJustificationType(juce::Justification::centred);
39}
40
41void ModulationMatrixHeader::resized()
42{

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected