diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index ce6995f..6091bfd 100755 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -155,7 +155,7 @@ void ObxdAudioProcessorEditor::loadSkin (ObxdAudioProcessor& ownerFilter) if (name == "voiceSwitch"){ //if (voiceSwitch) voiceSwitch->setVisible(false); -#if JUCE_WIN || JUCE_LINUX +#if JUCE_WINDOWS || JUCE_LINUX voiceSwitch = addList (x, y, w, h, ownerFilter, VOICE_COUNT, "VoiceCount", ImageCache::getFromFile(skinFolder.getChildFile("voices.png"))); } #else voiceSwitch = addList (x, y, w, h, ownerFilter, VOICE_COUNT, "VoiceCount", ImageCache::getFromFile(skinFolder.getChildFile("voices@2x.png"))); } @@ -163,7 +163,7 @@ void ObxdAudioProcessorEditor::loadSkin (ObxdAudioProcessor& ownerFilter) if (name == "legatoSwitch"){ //if (legatoSwitch) legatoSwitch->setVisible(false); -#if JUCE_WIN || JUCE_LINUX +#if JUCE_WINDOWS || JUCE_LINUX legatoSwitch = addList (x, y, w, h, ownerFilter, LEGATOMODE, "Legato", ImageCache::getFromFile(skinFolder.getChildFile("legato.png"))); } #else legatoSwitch = addList (x, y, w, h, ownerFilter, LEGATOMODE, "Legato", ImageCache::getFromFile(skinFolder.getChildFile("legato@2x.png"))); } @@ -173,7 +173,11 @@ void ObxdAudioProcessorEditor::loadSkin (ObxdAudioProcessor& ownerFilter) if (name == "menu") { addMenuButton (x, y, d, +#if JUCE_WINDOWS || JUCE_LINUX ImageCache::getFromFile (skinFolder.getChildFile ("menu.png"))); +#else + ImageCache::getFromFile (skinFolder.getChildFile ("menu@2x.png"))); +#endif } //DBG(" Name: " << name << " X: " <