mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
34 lines
833 B
C++
34 lines
833 B
C++
/*
|
|
==============================================================================
|
|
|
|
This file was auto-generated!
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#include "MainComponent.h"
|
|
|
|
|
|
//==============================================================================
|
|
MainContentComponent::MainContentComponent()
|
|
: lightGrid ("lightGrid") //initialise the ToggleLightGridComponent object
|
|
{
|
|
setSize (600, 600);
|
|
|
|
// add the light grid to out main component.
|
|
addAndMakeVisible (lightGrid);
|
|
}
|
|
|
|
MainContentComponent::~MainContentComponent()
|
|
{
|
|
}
|
|
|
|
void MainContentComponent::paint (Graphics& g)
|
|
{
|
|
}
|
|
|
|
void MainContentComponent::resized()
|
|
{
|
|
// set the size of the grid to fill the whole window.
|
|
lightGrid.setBounds (getLocalBounds());
|
|
}
|