1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00

Added device detection for DirectSound. New method addToDesktop() for ResizableWindow.

This commit is contained in:
Julian Storer 2011-06-24 11:43:38 +01:00
parent fb58d0c380
commit dbe5768527
9 changed files with 404 additions and 489 deletions

View file

@ -90,7 +90,7 @@ void ResizableWindow::initialise (const bool shouldAddToDesktop)
lastNonFullScreenPos.setBounds (50, 50, 256, 256);
if (shouldAddToDesktop)
Component::addToDesktop (ResizableWindow::getDesktopWindowStyleFlags());
addToDesktop();
}
int ResizableWindow::getDesktopWindowStyleFlags() const
@ -103,6 +103,11 @@ int ResizableWindow::getDesktopWindowStyleFlags() const
return styleFlags;
}
void ResizableWindow::addToDesktop()
{
Component::addToDesktop (ResizableWindow::getDesktopWindowStyleFlags());
}
//==============================================================================
void ResizableWindow::clearContentComponent()
{