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.

32 lines
781B

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. It contains the basic outline for a simple desktop window.
  5. ==============================================================================
  6. */
  7. INCLUDES
  8. //==============================================================================
  9. WINDOWCLASS::WINDOWCLASS()
  10. : DocumentWindow (JUCEApplication::getInstance()->getApplicationName(),
  11. Colours::lightgrey,
  12. DocumentWindow::allButtons)
  13. {
  14. centreWithSize (500, 400);
  15. setVisible (true);
  16. }
  17. WINDOWCLASS::~WINDOWCLASS()
  18. {
  19. }
  20. void WINDOWCLASS::closeButtonPressed()
  21. {
  22. JUCEApplication::getInstance()->systemRequestedQuit();
  23. }