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.1KB

  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. //==============================================================================
  16. void CONTENTCOMPCLASS::paint (Graphics& g)
  17. {
  18. // (Our component is opaque, so we must completely fill the background with a solid colour)
  19. g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId));
  20. g.setFont (Font (16.0f));
  21. g.setColour (Colours::white);
  22. g.drawText ("Hello World!", getLocalBounds(), Justification::centred, true);
  23. }
  24. void CONTENTCOMPCLASS::resized()
  25. {
  26. // This is called when the CONTENTCOMPCLASS is resized.
  27. // If you add any child components, this is where you should
  28. // update their positions.
  29. }