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

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. ==============================================================================
  5. */
  6. %%include_corresponding_header%%
  7. //==============================================================================
  8. %%content_component_class%%::%%content_component_class%%()
  9. {
  10. setSize (600, 400);
  11. }
  12. %%content_component_class%%::~%%content_component_class%%()
  13. {
  14. }
  15. //==============================================================================
  16. void %%content_component_class%%::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 %%content_component_class%%::resized()
  25. {
  26. // This is called when the %%content_component_class%% is resized.
  27. // If you add any child components, this is where you should
  28. // update their positions.
  29. }