Skip to content

Commit 415a81f

Browse files
committed
#30 Replace MIDI icons.
1 parent 1367c1a commit 415a81f

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

Resources/images/midi-hover.svg

Lines changed: 3 additions & 4 deletions
Loading

Resources/images/midi.svg

Lines changed: 3 additions & 4 deletions
Loading

Source/PluginEditor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ void AeolusAudioProcessorEditor::resized()
306306

307307
int x = _midiKeyboard.getRight() + (getWidth() - _midiKeyboard.getRight() - 140) / 2;
308308

309-
_midiControlChannelLabel.setBounds(x, _midiKeyboard.getY() + 5, 60, 20);
310-
_midiControlChannels.setBounds(_midiControlChannelLabel.getRight() + 5, _midiControlChannelLabel.getY(), 100, 20);
309+
_midiControlChannelLabel.setBounds(x, _midiKeyboard.getY() + 5, 60, 24);
310+
_midiControlChannels.setBounds(_midiControlChannelLabel.getRight() + 5, _midiControlChannelLabel.getY(), 100, 24);
311311

312-
_midiSwellChannelLabel.setBounds(x, _midiControlChannelLabel.getBottom() + 5, 60, 20);
313-
_midiSwellChannels.setBounds(_midiSwellChannelLabel.getRight() + 5, _midiSwellChannelLabel.getY(), 100, 20);
312+
_midiSwellChannelLabel.setBounds(x, _midiControlChannelLabel.getBottom() + 5, 60, 24);
313+
_midiSwellChannels.setBounds(_midiSwellChannelLabel.getRight() + 5, _midiSwellChannelLabel.getY(), 100, 24);
314314
}
315315

316316
void AeolusAudioProcessorEditor::timerCallback()

Source/ui/DivisionControlPanel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ void DivisionControlPanel::resized()
8080

8181
int offset = _gainSlider.getRight();
8282

83-
_midiChannels.setBounds(offset, 3 * margin, itemWidth, 20);
83+
_tremulantButton.setBounds(offset + margin, 3 * margin, bounds.getRight() - 3 * margin - offset, 35);
8484

85-
_tremulantButton.setBounds(offset + margin, 5*margin + 40, bounds.getRight() - 3 * margin - offset, 35);
85+
_midiChannels.setBounds(offset, bounds.getHeight() - 24 - 3 * margin, itemWidth, 24);
8686
}
8787

8888
void DivisionControlPanel::paint(juce::Graphics& g)

0 commit comments

Comments
 (0)