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.

38 lines
1.0KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. ==============================================================================
  5. */
  6. INCLUDE_CORRESPONDING_HEADER
  7. //==============================================================================
  8. CONTENTCOMPCLASS::CONTENTCOMPCLASS()
  9. {
  10. setSize (600, 400);
  11. }
  12. CONTENTCOMPCLASS::~CONTENTCOMPCLASS()
  13. {
  14. }
  15. void CONTENTCOMPCLASS::paint (Graphics& g)
  16. {
  17. // (Our component is opaque, so we must completely fill the background with a solid colour)
  18. g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId));
  19. g.setFont (Font (16.0f));
  20. g.setColour (Colours::white);
  21. g.drawText ("Hello World!", getLocalBounds(), Justification::centred, true);
  22. }
  23. void CONTENTCOMPCLASS::resized()
  24. {
  25. // This is called when the CONTENTCOMPCLASS is resized.
  26. // If you add any child components, this is where you should
  27. // update their positions.
  28. }