Enabling the GUI Editor

I come from C# game development, not familiar with C++, not familiar with ProJucer. And I’m looking to create a DAW. I can’t imagine creating an UI to be more difficult than working with Vectors, pathfinding and state machines. (I could be wrong)

I’m looking at the start up project and it’s not obvious to me what’s going on, I’m able to change the font and font size of the “hello world” message as well as background color but I’d like to create a grid, import images, have things happen when buttons are clicked. With a GUI editor you could place an object and see how the code changes immediately. It would make it easier to understand what’s happening.

Under tools in the ProJucer I’ve enabled the GUI editor, but I don’t know how to start it or have it connect with the code in visual studio. I’ve looked at the help section of the website as well as searched this forum, no mention of the GUI editor anywhere. How do I enable the GUI editor, I’d much rather learn using it, than watch 6 hours of a guy assuming you know all the acronyms. :grinning:

The best thing in this case is chatgpt or similar, since in addition to providing you with the example code, you can ask or be more specific. I use it regularly with Juce and it performs quite well.

1 Like

AFAIK the GUI editor is deprecated (not very certain about it).
However, if you do want a GUI editor, you may look at the following repos:

Finally you may still have to write your own LookAndFeel :innocent:

1 Like

Thanks I’ll look at those, associating code with something visually happening is THE WAY to wrap your head around syntax you’re unfamiliar with. Not listening to a 6 hour word salad.

that’s because instead of learning from game dev workflows JUCE has decided to focus more on making audio dev similiar to web dev

1 Like

In my opinion, it’s hard to discern the inaccuracies in ChatGPT’s answers if you’re not familiar with the framework. While it is useful for JUCE applications, it doesn’t always provide the best practice examples for more nuanced questions. I’d be wary of using it with a stack I’m not familiar with, as it might lead me on a wild goose chase.

2 Likes

The GUI editor is deprecated so I would recommended avoiding it.

For examples see the tutorials and check out the examples directory in the top level of the repository. Most notably the DemoRunner has almost 30 different GUI demos.

Another useful resource if you’ve just got started with JUCE GUIs is this talk from the original author of JUCE. It’s almost 10 years old now so some things have changed but not too drastically I don’t think. It’s great for introducing some important topics and useful ways to work with the JUCE API. If you find there’s anything you don’t understand from it there’s an excellent community on this forum willing to help.

If you really want to build your UI visually then as mentioned above Plugin GUI magic may be worth checking out. I’ve not used it myself but I know others have had success and the creator @daniel is often found on the forums answering questions.

If you’re planning on building a DAW, for all the non-GUI stuff it’s worth checking out Tracktion Engine.

Hope that helps.

2 Likes