1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Added a new example project: ComponentTutorialExample, which includes a PDF tutorial describing the basics of what a Component is.

This commit is contained in:
jules 2015-02-23 10:25:59 +00:00
parent 74f8c9b9ef
commit 946e4dc50d
27 changed files with 9146 additions and 0 deletions

View file

@ -0,0 +1,41 @@
/*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#ifndef MAINCOMPONENT_H_INCLUDED
#define MAINCOMPONENT_H_INCLUDED
#include "../JuceLibraryCode/JuceHeader.h"
// include our component classes
#include "ToggleLightGridComponent.h"
//==============================================================================
/*
This component lives inside our window, and this is where you should put all
your controls and content.
*/
class MainContentComponent : public Component
{
public:
//==============================================================================
MainContentComponent();
~MainContentComponent();
void paint (Graphics&) override;
void resized() override;
private:
//==============================================================================
ToggleLightGridComponent lightGrid;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainContentComponent)
};
#endif // MAINCOMPONENT_H_INCLUDED