To hopefully make things a bit easier for those trying to get a grasp on Juce and also to get myself acquainted with the API, I’m working on a bunch of small demo projects which I shall make available as soon as ready. Unfortunately, I’m still a newbie to both C++ and Juce, so these projects will likely be a bit noobish. But then, I’m making them available for free, so who can complain.
I haven’t worked out the details for a window with a menubar yet, but it shouldn’t be long before that’s ready. For now, here’s a small example project which is sort of a template project for use outside of Jucer.
The main.cpp file can be edited in Jucer and then the project can be compiled, the MainWindow portion already including everything necessary for the Jucer file to be included. Basically, main.cpp is the heart of the program. The project has been setup using Dev-C++, but can easily be moved into a better IDE.
The project is meant to be put in a folder within the Juce\Jucer folder. I have it setup under Juce\Jucer\Projects. Follow the link for the files.
Oh and Jules, the “Hello world” example project doesn’t have a window at all. That might perhaps be what grizzley was using as a starting point, as I once did. It’s a tough starting point file and so is the jucedemo, which is awesome, yet bulky for newbies.
Please feel free to do with this example project as you wish. There will be more to come soon.