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:
parent
fb58d0c380
commit
dbe5768527
9 changed files with 404 additions and 489 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue