============================================================================== ModulationMatrixHeader Implementation ==============================================================================
| 15 | // ModulationMatrixHeader Implementation |
| 16 | //============================================================================== |
| 17 | ModulationMatrixHeader::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 | |
| 41 | void ModulationMatrixHeader::resized() |
| 42 | { |