2 ==============================================================================
4 This is an automatically generated file created by the Jucer!
6 Creation date: 1 May 2011 1:54:18pm
8 Be careful when adding custom code to these files, as only the code within
9 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
14 ------------------------------------------------------------------------------
16 The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
17 Copyright 2004-6 by Raw Material Software ltd.
19 ==============================================================================
22 //[Headers] You can add your own extra header files here...
25 #include "AudioDemoSetupPage.h"
28 //[MiscUserDefs] You can add your own user definitions and misc code here...
31 //==============================================================================
32 AudioDemoSetupPage::AudioDemoSetupPage (AudioDeviceManager
& deviceManager_
)
33 : deviceManager (deviceManager_
),
36 addAndMakeVisible (deviceSelector
= new AudioDeviceSelectorComponent (deviceManager
, 0, 2, 0, 2, true, true, true, false));
45 //[Constructor] You can add your own custom stuff here..
49 AudioDemoSetupPage::~AudioDemoSetupPage()
51 //[Destructor_pre]. You can add your own custom destruction code here..
54 deleteAndZero (deviceSelector
);
57 //[Destructor]. You can add your own custom destruction code here..
61 //==============================================================================
62 void AudioDemoSetupPage::paint (Graphics
& g
)
64 //[UserPrePaint] Add your own custom painting code here..
67 g
.fillAll (Colours::lightgrey
);
69 //[UserPaint] Add your own custom painting code here..
73 void AudioDemoSetupPage::resized()
75 deviceSelector
->setBounds (8, 8, getWidth() - 16, getHeight() - 16);
76 //[UserResized] Add your own custom resize handling here..
82 //[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
86 //==============================================================================
88 /* -- Jucer information section --
90 This is where the Jucer puts all of its metadata, so don't change anything in here!
94 <JUCER_COMPONENT documentType="Component" className="AudioDemoSetupPage" componentName=""
95 parentClasses="public Component" constructorParams="AudioDeviceManager& deviceManager_"
96 variableInitialisers="deviceManager (deviceManager_)" snapPixels="8"
97 snapActive="1" snapShown="1" overlayOpacity="0.330000013" fixedSize="0"
98 initialWidth="600" initialHeight="400">
99 <BACKGROUND backgroundColour="ffd3d3d3"/>
100 <GENERICCOMPONENT name="" id="a04c56de9f3fc537" memberName="deviceSelector" virtualName=""
101 explicitFocusOrder="0" pos="8 8 16M 16M" class="AudioDeviceSelectorComponent"
102 params="deviceManager, 0, 2, 0, 2, true, true, true, false"/>