mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
31 lines
781 B
C++
31 lines
781 B
C++
/*
|
|
==============================================================================
|
|
|
|
This file was auto-generated!
|
|
|
|
It contains the basic outline for a simple desktop window.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
INCLUDES
|
|
|
|
|
|
//==============================================================================
|
|
WINDOWCLASS::WINDOWCLASS()
|
|
: DocumentWindow (JUCEApplication::getInstance()->getApplicationName(),
|
|
Colours::lightgrey,
|
|
DocumentWindow::allButtons)
|
|
{
|
|
centreWithSize (500, 400);
|
|
setVisible (true);
|
|
}
|
|
|
|
WINDOWCLASS::~WINDOWCLASS()
|
|
{
|
|
}
|
|
|
|
void WINDOWCLASS::closeButtonPressed()
|
|
{
|
|
JUCEApplication::getInstance()->systemRequestedQuit();
|
|
}
|