|A base class for writing simple one-page graphical apps. More...|
|Receives events from an Apple IR remote control device (Only available in OSX!). More...|
|A speech-bubble component that displays a short message. More...|
|A component that lets the user choose a colour. More...|
|A component to allow editing of the keymaps stored by a KeyPressMappingSet object. More...|
|A component with a set of buttons at the top for changing between pages of preferences. More...|
|Singleton class responsible for push notifications functionality. More...|
|Register a listener (ideally on application startup) to receive information about notifications received and any callbacks to async functions called. More...|
|Android API level 26 or higher only: represents a channel group. More...|
|Android API level 26 or higher only: Represents notification channel through which notifications will be sent. More...|
|Describes a category of a notification. More...|
|Describes settings we want to use for current device. More...|
|Manages a set of files for use as a list of recently-opened documents. More...|
|A component for showing a splash screen while your app starts up. More...|
|This component sits in the taskbar tray as a small icon. More...|
|A component that displays an embedded web browser. More...|
|#define||JUCE_LIVE_CONSTANT(initialValue) (juce::LiveConstantEditor::getValue (__FILE__, __LINE__ - 1, initialValue))|
|This macro wraps a primitive constant value in some cunning boilerplate code that allows its value to be interactively tweaked in a popup window while your application is running. More...|
Macro Definition Documentation
|#define JUCE_LIVE_CONSTANT||(||initialValue||)||(juce::LiveConstantEditor::getValue (__FILE__, __LINE__ - 1, initialValue))|
This macro wraps a primitive constant value in some cunning boilerplate code that allows its value to be interactively tweaked in a popup window while your application is running.
In a release build, this macro disappears and is replaced by only the constant that it wraps, but if JUCE_ENABLE_LIVE_CONSTANT_EDITOR is enabled, it injects a class wrapper that automatically pops-up a window containing an editor that allows the value to be tweaked at run-time. The editor window will also force all visible components to be resized and repainted whenever a value is changed, so that if you use this to wrap a colour or layout parameter, you'll be able to immediately see the effects of changing it.
The editor will also load the original source-file that contains each JUCE_LIVE_CONSTANT macro, and will display a preview of the modified source code as you adjust the values.
Things to note:
- Only one of these per line! The FILE and LINE macros are used to identify the value, so things will get confused if you have more than one per line
- Obviously because it needs to load the source code based on the FILE macro, it'll only work if the source files are stored locally in the same location as they were when you compiled the program.
- It's only designed to cope with simple types: primitives, string literals, and the Colour class, so if you try using it for other classes or complex expressions, good luck!
- The editor window will get popped up whenever a new value is used for the first time. You can close the window, but there's no way to get it back without restarting the app!
e.g. in this example the colours, font size, and text used in the paint method can all be adjusted live:
Generated on Fri Jan 12 2018 09:51:15 for JUCE by 1.8.13