(1)Added MonoComponent file (2)Size Adjustment

This commit is contained in:
Takeshi Yokemura
2021-05-17 07:11:32 +09:00
parent 2b0da1a0b4
commit c77f380fda
6 changed files with 202 additions and 17 deletions

View File

@ -163,8 +163,9 @@ void BasicParamsComponent::buttonClicked (juce::Button* buttonThatWasClicked)
if (buttonThatWasClicked == monoButton.get())
{
polyNumberInput.get()->setValue(1);
//[UserButtonCode_monoButton] -- add your button handler code here..
polyNumberInput.get()->setValue(1);
return;
//[/UserButtonCode_monoButton]
}
@ -196,8 +197,7 @@ void BasicParamsComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
BEGIN_JUCER_METADATA
<JUCER_COMPONENT documentType="Component" className="BasicParamsComponent" componentName=""
parentClasses="public Component, public ComboBox::Listener, public Button::Listener"
constructorParams="Magical8bitPlug2AudioProcessor&amp; p, Magical8bitPlug2AudioProcessorEditor&amp; e"
parentClasses="public Component, public ComboBox::Listener" constructorParams="Magical8bitPlug2AudioProcessor&amp; p, Magical8bitPlug2AudioProcessorEditor&amp; e"
variableInitialisers="processor(p),editor(e)" snapPixels="8"
snapActive="1" snapShown="1" overlayOpacity="0.330" fixedSize="1"
initialWidth="700" initialHeight="64">