supposed to make life easy
Foleys GUI Magic is supposed to simplify UI design, but the setup proces is frustrating—especially when the documentation don't match
Sorry you are having issues. Can you let me know how I could be of any assistance?
Hello Daniel Thank you for reaching out! We’re integrating Foleys GUI Magic into a JUCE-based plugin but have run into some issues.Key Issues: 1. Accessing magicState in PluginEditor • magicState is correctly initialized in PluginProcessor, but calling getMagicState() in PluginEditor results in a “No member named ‘getMagicState’” error. • What’s the correct way to expose magicState to the editor? 2. getGuiComponent() Not Found in MagicGUIBuilder • Trying to retrieve and attach the GUI component with magicBuilder.getGuiComponent() throws a compiler error. • Has this method been deprecated, or is there a different approach? 3. showOverlayDialog() Argument Issue • Calling magicBuilder.showOverlayDialog(); results in an error requiring a missing argument (dialog). • What argument should be passed here?We’ve gone through the documentation and example projects but are still a bit stuck. If you have a step-by-step, idiot-proof guide (think “Foleys GUI Magic for Dummies”), that would be hugely appreciated!Specifically, if you could outline the default JUCE file setup (PluginProcessor.cpp/.h, PluginEditor.cpp/.h) with the correct way to implement Foleys GUI Magic, that would help a lot.I’m still learning my way through this, so any guidance you can offer would be incredibly helpfulBest wishesSandeepThis e-mail and the attachments are confidential. It is intended for the recipient only. If you are not the intended recipient, any use, disclosure, distribution, printing or copying of this e-mail is unauthorised. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and delete the e-mail from your computer. The contents of any attachments to this e-mail may contain software viruses, which could damage your own computer system. While our firm has taken every reasonable precautions to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachments.On Feb 25, 2025, at 9:47 AM, Daniel Walz @.> wrote: Sorry you are having issues. Can you let me know how I could be of any assistance?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>
ffAudio left a comment (ffAudio/foleys_gui_magic#111) Sorry you are having issues. Can you let me know how I could be of any assistance?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hi Sandeep,
First of all, are you using the foleys::MagicEditor at all? That should be the default and will already happen if you inherit from foleys::MagicProcessor instead of juce::AudioProcessor. No worries, you can simply replace the base class, you will not lose any functionality, because foleys::MagicProcessor inherits directly from juce::AudioProcessor.
Then you need to remove the override functions, that juce added to the boiler plate, like described in the Readme of this repository.
https://github.com/ffAudio/foleys_gui_magic?tab=readme-ov-file#setup
Hope that helps
Thank you Daniel I will try that. Best wishesSandeepThis e-mail and the attachments are confidential. It is intended for the recipient only. If you are not the intended recipient, any use, disclosure, distribution, printing or copying of this e-mail is unauthorised. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and delete the e-mail from your computer. The contents of any attachments to this e-mail may contain software viruses, which could damage your own computer system. While our firm has taken every reasonable precautions to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachments.On Feb 28, 2025, at 9:42 AM, Daniel Walz @.> wrote: Hi Sandeep, First of all, are you using the foleys::MagicEditor at all? That should be the default and will already happen if you inherit from foleys::MagicProcessor instead of juce::AudioProcessor. No worries, you can simply replace the base class, you will not lose any functionality, because foleys::MagicProcessor inherits directly from juce::AudioProcessor. Then you need to remove the override functions, that juce added to the boiler plate, like described in the Readme of this repository. https://github.com/ffAudio/foleys_gui_magic?tab=readme-ov-file#setup Hope that helps—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.>
ffAudio left a comment (ffAudio/foleys_gui_magic#111) Hi Sandeep, First of all, are you using the foleys::MagicEditor at all? That should be the default and will already happen if you inherit from foleys::MagicProcessor instead of juce::AudioProcessor. No worries, you can simply replace the base class, you will not lose any functionality, because foleys::MagicProcessor inherits directly from juce::AudioProcessor. Then you need to remove the override functions, that juce added to the boiler plate, like described in the Readme of this repository. https://github.com/ffAudio/foleys_gui_magic?tab=readme-ov-file#setup Hope that helps
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>