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.

69 lines
1.5KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. ==============================================================================
  5. */
  6. #ifndef MAINCOMPONENT_H_INCLUDED
  7. #define MAINCOMPONENT_H_INCLUDED
  8. INCLUDE_JUCE
  9. //==============================================================================
  10. /*
  11. This component lives inside our window, and this is where you should put all
  12. your controls and content.
  13. */
  14. class MainContentComponent : public AnimatedAppComponent
  15. {
  16. public:
  17. //==============================================================================
  18. MainContentComponent()
  19. {
  20. setSize (500, 400);
  21. setFramesPerSecond (60);
  22. }
  23. ~MainContentComponent()
  24. {
  25. }
  26. void update()
  27. {
  28. }
  29. void paint (Graphics& g)
  30. {
  31. // fill background
  32. g.fillAll (Colours::black);
  33. }
  34. void resized()
  35. {
  36. // This is called when the MainContentComponent is resized.
  37. // If you add any child components, this is where you should
  38. // update their positions.
  39. }
  40. private:
  41. //==============================================================================
  42. // private member variables
  43. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainContentComponent)
  44. };
  45. Component* createMainContentComponent() { return new MainContentComponent(); };
  46. #endif // MAINCOMPONENT_H_INCLUDED