The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
4.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. #include <JuceHeader.h>
  19. #include "../../../Assets/DemoUtilities.h"
  20. #include "JUCEDemos.h"
  21. #include "../../../Assets/AudioLiveScrollingDisplay.h"
  22. //==============================================================================
  23. #include "../../../GUI/AnimationAppDemo.h"
  24. #include "../../../GUI/AnimationDemo.h"
  25. #include "../../../GUI/BouncingBallWavetableDemo.h"
  26. #if JUCE_USE_CAMERA && ! JUCE_LINUX
  27. #include "../../../GUI/CameraDemo.h"
  28. #endif
  29. #if ! JUCE_ANDROID
  30. #include "../../../GUI/CodeEditorDemo.h"
  31. #endif
  32. #include "../../../GUI/ComponentDemo.h"
  33. #include "../../../GUI/ComponentTransformsDemo.h"
  34. #include "../../../GUI/DialogsDemo.h"
  35. #include "../../../GUI/FlexBoxDemo.h"
  36. #include "../../../GUI/FontsDemo.h"
  37. #include "../../../GUI/GraphicsDemo.h"
  38. #include "../../../GUI/GridDemo.h"
  39. #include "../../../GUI/ImagesDemo.h"
  40. #include "../../../GUI/KeyMappingsDemo.h"
  41. #include "../../../GUI/LookAndFeelDemo.h"
  42. #include "../../../GUI/MDIDemo.h"
  43. #include "../../../GUI/MenusDemo.h"
  44. #include "../../../GUI/MultiTouchDemo.h"
  45. #if JUCE_OPENGL
  46. #include "../../../GUI/OpenGLAppDemo.h"
  47. #include "../../../GUI/OpenGLDemo.h"
  48. #include "../../../GUI/OpenGLDemo2D.h"
  49. #endif
  50. #include "../../../GUI/PropertiesDemo.h"
  51. #if ! JUCE_LINUX
  52. #include "../../../GUI/VideoDemo.h"
  53. #endif
  54. #include "../../../GUI/WebBrowserDemo.h"
  55. #include "../../../GUI/WidgetsDemo.h"
  56. #include "../../../GUI/WindowsDemo.h"
  57. void registerDemos_Two() noexcept
  58. {
  59. REGISTER_DEMO (AnimationAppDemo, GUI, false)
  60. REGISTER_DEMO (AnimationDemo, GUI, false)
  61. REGISTER_DEMO (BouncingBallWavetableDemo, GUI, false)
  62. #if JUCE_USE_CAMERA && ! JUCE_LINUX
  63. REGISTER_DEMO (CameraDemo, GUI, true)
  64. #endif
  65. #if ! JUCE_ANDROID
  66. REGISTER_DEMO (CodeEditorDemo, GUI, false)
  67. #endif
  68. REGISTER_DEMO (ComponentDemo, GUI, false)
  69. REGISTER_DEMO (ComponentTransformsDemo, GUI, false)
  70. REGISTER_DEMO (DialogsDemo, GUI, false)
  71. REGISTER_DEMO (FlexBoxDemo, GUI, false)
  72. REGISTER_DEMO (FontsDemo, GUI, false)
  73. REGISTER_DEMO (GraphicsDemo, GUI, false)
  74. REGISTER_DEMO (GridDemo, GUI, false)
  75. REGISTER_DEMO (ImagesDemo, GUI, false)
  76. REGISTER_DEMO (KeyMappingsDemo, GUI, false)
  77. REGISTER_DEMO (LookAndFeelDemo, GUI, false)
  78. REGISTER_DEMO (MDIDemo, GUI, false)
  79. REGISTER_DEMO (MenusDemo, GUI, false)
  80. REGISTER_DEMO (MultiTouchDemo, GUI, false)
  81. #if JUCE_OPENGL
  82. REGISTER_DEMO (OpenGLAppDemo, GUI, true)
  83. REGISTER_DEMO (OpenGLDemo2D, GUI, true)
  84. REGISTER_DEMO (OpenGLDemo, GUI, true)
  85. #endif
  86. REGISTER_DEMO (PropertiesDemo, GUI, false)
  87. #if ! JUCE_LINUX
  88. REGISTER_DEMO (VideoDemo, GUI, true)
  89. #endif
  90. REGISTER_DEMO (WebBrowserDemo, GUI, true)
  91. REGISTER_DEMO (WidgetsDemo, GUI, false)
  92. REGISTER_DEMO (WindowsDemo, GUI, false)
  93. }
  94. CodeEditorComponent::ColourScheme getDarkColourScheme()
  95. {
  96. return getDarkCodeEditorColourScheme();
  97. }
  98. CodeEditorComponent::ColourScheme getLightColourScheme()
  99. {
  100. return getLightCodeEditorColourScheme();
  101. }