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.

35 lines
833B

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. ==============================================================================
  5. */
  6. #include "MainComponent.h"
  7. //==============================================================================
  8. MainContentComponent::MainContentComponent()
  9. : lightGrid ("lightGrid") //initialise the ToggleLightGridComponent object
  10. {
  11. setSize (600, 600);
  12. // add the light grid to out main component.
  13. addAndMakeVisible (lightGrid);
  14. }
  15. MainContentComponent::~MainContentComponent()
  16. {
  17. }
  18. void MainContentComponent::paint (Graphics& g)
  19. {
  20. }
  21. void MainContentComponent::resized()
  22. {
  23. // set the size of the grid to fill the whole window.
  24. lightGrid.setBounds (getLocalBounds());
  25. }