mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Cleaned up some comments and uses of setContentComponent().
This commit is contained in:
parent
e9950296d4
commit
bd19111417
12 changed files with 44 additions and 56 deletions
|
|
@ -43,7 +43,7 @@ PluginWindow::PluginWindow (Component* const uiComp,
|
|||
{
|
||||
setSize (400, 300);
|
||||
|
||||
setContentComponent (uiComp, true, true);
|
||||
setContentOwned (uiComp, true);
|
||||
|
||||
setTopLeftPosition (owner->properties.getWithDefault ("uiLastX", Random::getSystemRandom().nextInt (500)),
|
||||
owner->properties.getWithDefault ("uiLastY", Random::getSystemRandom().nextInt (500)));
|
||||
|
|
@ -104,7 +104,7 @@ PluginWindow* PluginWindow::getWindowFor (AudioProcessorGraph::Node* node,
|
|||
PluginWindow::~PluginWindow()
|
||||
{
|
||||
activePluginWindows.removeValue (this);
|
||||
setContentComponent (0);
|
||||
clearContentComponent();
|
||||
}
|
||||
|
||||
void PluginWindow::moved()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue