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.

36 lines
905B

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. It contains the basic structure for a simple desktop window.
  5. ==============================================================================
  6. */
  7. INCLUDE_CORRESPONDING_HEADER
  8. //==============================================================================
  9. WINDOWCLASS::WINDOWCLASS()
  10. : DocumentWindow ("WINDOWCLASS",
  11. Colours::lightgrey,
  12. DocumentWindow::allButtons)
  13. {
  14. // At this point you should call setContentOwned() to give the window
  15. // a component containing the content you want to show..
  16. centreWithSize (500, 400);
  17. setVisible (true);
  18. }
  19. WINDOWCLASS::~WINDOWCLASS()
  20. {
  21. }
  22. void WINDOWCLASS::closeButtonPressed()
  23. {
  24. JUCEApplication::getInstance()->systemRequestedQuit();
  25. }