JUCE
|
Classes | |
class | ScopedJuceInitialiser_GUI |
A utility object that helps you initialise and shutdown Juce correctly using an RAII pattern. More... | |
Macros | |
#define | START_JUCE_APPLICATION(AppClass) |
To start a JUCE app, use this macro: START_JUCE_APPLICATION (AppSubClass) where AppSubClass is the name of a class derived from JUCEApplication or JUCEApplicationBase. More... | |
Functions | |
JUCE_API void JUCE_CALLTYPE | initialiseJuce_GUI () |
Initialises Juce's GUI classes. More... | |
JUCE_API void JUCE_CALLTYPE | shutdownJuce_GUI () |
Clears up any static data being used by Juce's GUI classes. More... | |
#define START_JUCE_APPLICATION | ( | AppClass | ) |
To start a JUCE app, use this macro: START_JUCE_APPLICATION (AppSubClass) where AppSubClass is the name of a class derived from JUCEApplication or JUCEApplicationBase.
See the JUCEApplication and JUCEApplicationBase class documentation for more details.
JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI | ( | ) |
Initialises Juce's GUI classes.
If you're embedding Juce into an application that uses its own event-loop rather than using the START_JUCE_APPLICATION macro, call this function before making any Juce calls, to make sure things are initialised correctly.
Note that if you're creating a Juce DLL for Windows, you may also need to call the Process::setCurrentModuleInstanceHandle() method.
JUCE_API void JUCE_CALLTYPE shutdownJuce_GUI | ( | ) |
Clears up any static data being used by Juce's GUI classes.
If you're embedding Juce into an application that uses its own event-loop rather than using the START_JUCE_APPLICATION macro, call this function in your shutdown code to clean up any juce objects that might be lying around.