mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added preliminary support for FreeBSD
This commit is contained in:
parent
241bb8d430
commit
79fbde7099
79 changed files with 507 additions and 242 deletions
|
|
@ -59,7 +59,7 @@
|
|||
#include "../../../DSP/WaveShaperTanhDemo.h"
|
||||
|
||||
#include "../../../Utilities/Box2DDemo.h"
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
#include "../../../Utilities/ChildProcessDemo.h"
|
||||
#endif
|
||||
#include "../../../Utilities/CryptographyDemo.h"
|
||||
|
|
@ -104,7 +104,7 @@ void registerDemos_One() noexcept
|
|||
REGISTER_DEMO (WaveShaperTanhDemo, DSP, false)
|
||||
|
||||
REGISTER_DEMO (Box2DDemo, Utilities, false)
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
REGISTER_DEMO (ChildProcessDemo, Utilities, false)
|
||||
#endif
|
||||
REGISTER_DEMO (CryptographyDemo, Utilities, false)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
#include "../../../GUI/AnimationAppDemo.h"
|
||||
#include "../../../GUI/AnimationDemo.h"
|
||||
#include "../../../GUI/BouncingBallWavetableDemo.h"
|
||||
#if JUCE_USE_CAMERA && ! JUCE_LINUX
|
||||
#if JUCE_USE_CAMERA && ! (JUCE_LINUX || JUCE_BSD)
|
||||
#include "../../../GUI/CameraDemo.h"
|
||||
#endif
|
||||
#if ! JUCE_ANDROID
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
#include "../../../GUI/OpenGLDemo2D.h"
|
||||
#endif
|
||||
#include "../../../GUI/PropertiesDemo.h"
|
||||
#if ! JUCE_LINUX
|
||||
#if ! (JUCE_LINUX || JUCE_BSD)
|
||||
#include "../../../GUI/VideoDemo.h"
|
||||
#endif
|
||||
#include "../../../GUI/WebBrowserDemo.h"
|
||||
|
|
@ -70,7 +70,7 @@ void registerDemos_Two() noexcept
|
|||
REGISTER_DEMO (AnimationAppDemo, GUI, false)
|
||||
REGISTER_DEMO (AnimationDemo, GUI, false)
|
||||
REGISTER_DEMO (BouncingBallWavetableDemo, GUI, false)
|
||||
#if JUCE_USE_CAMERA && ! JUCE_LINUX
|
||||
#if JUCE_USE_CAMERA && ! (JUCE_LINUX || JUCE_BSD)
|
||||
REGISTER_DEMO (CameraDemo, GUI, true)
|
||||
#endif
|
||||
#if ! JUCE_ANDROID
|
||||
|
|
@ -95,7 +95,7 @@ void registerDemos_Two() noexcept
|
|||
REGISTER_DEMO (OpenGLDemo, GUI, true)
|
||||
#endif
|
||||
REGISTER_DEMO (PropertiesDemo, GUI, false)
|
||||
#if ! JUCE_LINUX
|
||||
#if ! (JUCE_LINUX || JUCE_BSD)
|
||||
REGISTER_DEMO (VideoDemo, GUI, true)
|
||||
#endif
|
||||
REGISTER_DEMO (WebBrowserDemo, GUI, true)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
#include "UI/MainComponent.h"
|
||||
|
||||
//==============================================================================
|
||||
#if JUCE_WINDOWS || JUCE_LINUX || JUCE_MAC
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
// Just add a simple icon to the Window system tray area or Mac menu bar..
|
||||
struct DemoTaskbarComponent : public SystemTrayIconComponent,
|
||||
private Timer
|
||||
|
|
@ -96,7 +96,7 @@ public:
|
|||
{
|
||||
registerAllDemos();
|
||||
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
// (This function call is for one of the demos, which involves launching a child process)
|
||||
if (invokeChildProcessDemo (commandLine))
|
||||
return;
|
||||
|
|
@ -144,7 +144,7 @@ private:
|
|||
setContentOwned (new MainComponent(), false);
|
||||
setVisible (true);
|
||||
|
||||
#if JUCE_WINDOWS || JUCE_LINUX || JUCE_MAC
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
taskbarIcon.reset (new DemoTaskbarComponent());
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue