1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00

Added versions of Component::addAndMakeVisible and addChildComponent which take a reference instead of a pointer.

This commit is contained in:
jules 2013-12-23 15:16:38 +00:00
parent 9aeefa5ebe
commit 4d79bed3d1
82 changed files with 305 additions and 272 deletions

View file

@ -37,9 +37,9 @@ public:
{
setOpaque (true);
addAndMakeVisible (&versionLabel);
addAndMakeVisible (&linkButton);
addAndMakeVisible (&logo);
addAndMakeVisible (versionLabel);
addAndMakeVisible (linkButton);
addAndMakeVisible (logo);
versionLabel.setColour (Label::textColourId, Colours::white);
versionLabel.setText (String ("{version} built on {date}")