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.

70 lines
2.2KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Projucer!
  4. Be careful when adding custom code to these files, as only the code within
  5. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  6. and re-saved.
  7. Created with Projucer version: 4.2.1
  8. ------------------------------------------------------------------------------
  9. The Projucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright (c) 2015 - ROLI Ltd.
  11. ==============================================================================
  12. */
  13. #pragma once
  14. //[Headers] -- You can add your own extra header files here --
  15. #include "../JuceLibraryCode/JuceHeader.h"
  16. //[/Headers]
  17. //==============================================================================
  18. /**
  19. //[Comments]
  20. An auto-generated component, created by the Jucer.
  21. Describe your class and how it works here!
  22. //[/Comments]
  23. */
  24. class MainComponent : public Component,
  25. public ButtonListener
  26. {
  27. public:
  28. //==============================================================================
  29. MainComponent ();
  30. ~MainComponent();
  31. //==============================================================================
  32. //[UserMethods] -- You can add your own custom methods in this section.
  33. //[/UserMethods]
  34. void paint (Graphics& g) override;
  35. void resized() override;
  36. void buttonClicked (Button* buttonThatWasClicked) override;
  37. private:
  38. //[UserVariables] -- You can add your own custom variables in this section.
  39. //[/UserVariables]
  40. //==============================================================================
  41. ScopedPointer<Label> helloWorldLabel;
  42. ScopedPointer<TextButton> quitButton;
  43. Path internalPath1;
  44. //==============================================================================
  45. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainComponent)
  46. };
  47. //[EndFile] You can add extra defines here...
  48. //[/EndFile]