Update PluginEditor.cpp
This commit is contained in:
parent
5915e1aa29
commit
8b8f0fc1bd
1 changed files with 6 additions and 1 deletions
|
@ -230,7 +230,12 @@ void ObxdAudioProcessorEditor::placeLabel (int x, int y, String text)
|
||||||
|
|
||||||
ButtonList* ObxdAudioProcessorEditor::addList (int x, int y, int width, int height, ObxdAudioProcessor& filter, int parameter, String /*name*/, Image img)
|
ButtonList* ObxdAudioProcessorEditor::addList (int x, int y, int width, int height, ObxdAudioProcessor& filter, int parameter, String /*name*/, Image img)
|
||||||
{
|
{
|
||||||
|
#if JUCE_WINDOWS || JUCE_LINUX
|
||||||
|
ButtonList *bl = new ButtonList (img, height);
|
||||||
|
#else
|
||||||
ButtonList *bl = new ButtonList (img, height*2);
|
ButtonList *bl = new ButtonList (img, height*2);
|
||||||
|
#endif
|
||||||
|
|
||||||
buttonListAttachments.add (new ButtonList::ButtonListAttachment (filter.getPluginState(),
|
buttonListAttachments.add (new ButtonList::ButtonListAttachment (filter.getPluginState(),
|
||||||
filter.getEngineParameterId (parameter),
|
filter.getEngineParameterId (parameter),
|
||||||
*bl));
|
*bl));
|
||||||
|
|
Loading…
Reference in a new issue