Audio plugin host https://kx.studio/carla
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.

68 lines
2.0KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE 6 technical preview.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. You may use this code under the terms of the GPL v3
  6. (see www.gnu.org/licenses).
  7. For this technical preview, this file is not subject to commercial licensing.
  8. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  9. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  10. DISCLAIMED.
  11. ==============================================================================
  12. */
  13. /*
  14. ==============================================================================
  15. In accordance with the terms of the JUCE 5 End-Use License Agreement, the
  16. JUCE Code in SECTION A cannot be removed, changed or otherwise rendered
  17. ineffective unless you have a JUCE Indie or Pro license, or are using JUCE
  18. under the GPL v3 license.
  19. End User License Agreement: www.juce.com/juce-5-licence
  20. ==============================================================================
  21. */
  22. // BEGIN SECTION A
  23. namespace juce
  24. {
  25. /**
  26. The standard JUCE splash screen component.
  27. @tags{GUI}
  28. */
  29. class JUCE_API JUCESplashScreen : public Component,
  30. private Timer,
  31. private DeletedAtShutdown
  32. {
  33. public:
  34. JUCESplashScreen (Component& parentToAddTo);
  35. static std::unique_ptr<Drawable> getSplashScreenLogo();
  36. private:
  37. void paint (Graphics&) override;
  38. void timerCallback() override;
  39. void parentSizeChanged() override;
  40. void parentHierarchyChanged() override;
  41. bool hitTest (int, int) override;
  42. void mouseUp (const MouseEvent&) override;
  43. std::unique_ptr<Drawable> content;
  44. ComponentAnimator fader;
  45. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JUCESplashScreen)
  46. };
  47. // END SECTION A
  48. } // namespace juce