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.

30 lines
1007B

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