2
0
Fork 0

Misc updates

Source can be compiled with JUCE 5.4.7
Removed gin module
Reverted bitmap scaling code
Fixed XML GUI compiler error
This commit is contained in:
George Reales 2020-05-22 13:34:09 +02:00
parent bf455d5ce6
commit c60da130bd
6 changed files with 4 additions and 22 deletions

View file

@ -8,8 +8,8 @@
pluginProducesMidiOut="0" pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0" pluginProducesMidiOut="0" pluginSilenceInIsSilenceOut="0" pluginEditorRequiresKeys="0"
pluginAUExportPrefix="" pluginRTASCategory="2048" aaxIdentifier="" pluginAUExportPrefix="" pluginRTASCategory="2048" aaxIdentifier=""
pluginAAXCategory="" jucerVersion="5.4.7" companyName="discoDSP" pluginAAXCategory="" jucerVersion="5.4.7" companyName="discoDSP"
companyWebsite="https://www.discodsp.com/" companyEmail="" pluginIsMidiEffectPlugin="0" companyWebsite="https://www.discodsp.com/" companyEmail="contactus@discodsp.com"
pluginCharacteristicsValue="pluginIsSynth,pluginWantsMidiIn" pluginIsMidiEffectPlugin="0" pluginCharacteristicsValue="pluginIsSynth,pluginWantsMidiIn"
pluginFormats="buildAU,buildStandalone,buildVST3" buildVST="0" pluginFormats="buildAU,buildStandalone,buildVST3" buildVST="0"
buildVST3="1" buildAU="1" buildAUv3="0" buildRTAS="0" buildAAX="0" buildVST3="1" buildAU="1" buildAUv3="0" buildRTAS="0" buildAAX="0"
buildStandalone="1" enableIAA="0"> buildStandalone="1" enableIAA="0">
@ -85,7 +85,6 @@
<MODULEPATH id="juce_audio_devices" path="Modules"/> <MODULEPATH id="juce_audio_devices" path="Modules"/>
<MODULEPATH id="juce_audio_basics" path="Modules"/> <MODULEPATH id="juce_audio_basics" path="Modules"/>
<MODULEPATH id="juce_audio_utils" path="Modules"/> <MODULEPATH id="juce_audio_utils" path="Modules"/>
<MODULEPATH id="gin" path="Modules"/>
</MODULEPATHS> </MODULEPATHS>
</XCODE_MAC> </XCODE_MAC>
<LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraLinkerFlags="-no-pie"> <LINUX_MAKE targetFolder="Builds/LinuxMakefile" extraLinkerFlags="-no-pie">
@ -109,7 +108,6 @@
<MODULEPATH id="juce_audio_formats" path="Modules"/> <MODULEPATH id="juce_audio_formats" path="Modules"/>
<MODULEPATH id="juce_audio_devices" path="Modules"/> <MODULEPATH id="juce_audio_devices" path="Modules"/>
<MODULEPATH id="juce_audio_basics" path="Modules"/> <MODULEPATH id="juce_audio_basics" path="Modules"/>
<MODULEPATH id="gin" path="Modules"/>
</MODULEPATHS> </MODULEPATHS>
</LINUX_MAKE> </LINUX_MAKE>
<VS2019 targetFolder="Builds/VisualStudio2019" smallIcon="nnY63W" bigIcon="nnY63W" <VS2019 targetFolder="Builds/VisualStudio2019" smallIcon="nnY63W" bigIcon="nnY63W"
@ -137,7 +135,6 @@
<MODULEPATH id="juce_audio_formats" path="Modules"/> <MODULEPATH id="juce_audio_formats" path="Modules"/>
<MODULEPATH id="juce_audio_devices" path="Modules"/> <MODULEPATH id="juce_audio_devices" path="Modules"/>
<MODULEPATH id="juce_audio_basics" path="Modules"/> <MODULEPATH id="juce_audio_basics" path="Modules"/>
<MODULEPATH id="gin" path="Modules"/>
</MODULEPATHS> </MODULEPATHS>
</VS2019> </VS2019>
<VS2017 targetFolder="Builds/VisualStudio2017" vstLegacyFolder="Modules/vstsdk2.4" <VS2017 targetFolder="Builds/VisualStudio2017" vstLegacyFolder="Modules/vstsdk2.4"
@ -163,12 +160,10 @@
<MODULEPATH id="juce_audio_formats" path="Modules"/> <MODULEPATH id="juce_audio_formats" path="Modules"/>
<MODULEPATH id="juce_audio_devices" path="Modules"/> <MODULEPATH id="juce_audio_devices" path="Modules"/>
<MODULEPATH id="juce_audio_basics" path="Modules"/> <MODULEPATH id="juce_audio_basics" path="Modules"/>
<MODULEPATH id="gin" path="Modules"/>
</MODULEPATHS> </MODULEPATHS>
</VS2017> </VS2017>
</EXPORTFORMATS> </EXPORTFORMATS>
<MODULES> <MODULES>
<MODULE id="gin" showAllCode="1" useLocalCopy="0" useGlobalPath="0"/>
<MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/> <MODULES id="juce_audio_basics" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULES id="juce_audio_devices" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/> <MODULES id="juce_audio_devices" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>
<MODULES id="juce_audio_formats" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/> <MODULES id="juce_audio_formats" showAllCode="1" useLocalCopy="0" useGlobalPath="1"/>

View file

@ -94,7 +94,6 @@ public:
void paintOverChildren (Graphics& g) override void paintOverChildren (Graphics& g) override
{ {
int ofs = getSelectedId() - 1; int ofs = getSelectedId() - 1;
g.setImageResamplingQuality(Graphics::ResamplingQuality::highResamplingQuality);
g.drawImage(kni, 0, 0, getWidth(), getHeight(), 0, h2 * ofs, w2, h2); g.drawImage(kni, 0, 0, getWidth(), getHeight(), 0, h2 * ofs, w2, h2);
} }

View file

@ -87,7 +87,6 @@ public:
void paint (Graphics& g) override void paint (Graphics& g) override
{ {
int ofs = (int) ((getValue() - getMinimum()) / (getMaximum() - getMinimum()) * (numFr - 1)); int ofs = (int) ((getValue() - getMinimum()) / (getMaximum() - getMinimum()) * (numFr - 1));
g.setImageResamplingQuality(Graphics::ResamplingQuality::highResamplingQuality);
g.drawImage (kni, 0, 0, getWidth(), getHeight(), 0, h2 * ofs, w2, h2); g.drawImage (kni, 0, 0, getWidth(), getHeight(), 0, h2 * ofs, w2, h2);
} }

View file

@ -99,7 +99,7 @@ public:
{ {
offset = 1; offset = 1;
} }
g.setImageResamplingQuality(Graphics::ResamplingQuality::highResamplingQuality);
g.drawImage(kni, 0, 0, getWidth(), getHeight(), 0, offset * h2, w2, h2); g.drawImage(kni, 0, 0, getWidth(), getHeight(), 0, offset * h2, w2, h2);
} }

View file

@ -46,7 +46,7 @@ void ObxdAudioProcessorEditor::loadSkin (ObxdAudioProcessor& ownerFilter)
} }
XmlDocument skin (coords); XmlDocument skin (coords);
XmlElement* doc = skin.getDocumentElement(); auto doc = skin.getDocumentElement();
if (doc) { if (doc) {
if (doc->getTagName() == "PROPERTIES"){ if (doc->getTagName() == "PROPERTIES"){
@ -468,13 +468,3 @@ void ObxdAudioProcessorEditor::paint(Graphics& g)
} }
} }
void ObxdAudioProcessorEditor::resized()
{
/* Not working
const Image image = gin::applyResize (ImageCache::getFromFile(mainFile), 0.5);
*/
}

View file

@ -36,7 +36,6 @@ public:
void mouseUp (const MouseEvent& e) override; void mouseUp (const MouseEvent& e) override;
void paint (Graphics& g) override; void paint (Graphics& g) override;
void resized() override;
//============================================================================== //==============================================================================
void changeListenerCallback (ChangeBroadcaster* source) override; void changeListenerCallback (ChangeBroadcaster* source) override;