last minute color changes
This commit is contained in:
		@@ -115,7 +115,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
 | 
				
			|||||||
		m_render_button.onClick = [this]() { showRenderDialog(); };
 | 
							m_render_button.onClick = [this]() { showRenderDialog(); };
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // jlc
 | 
					
 | 
				
			||||||
    m_rewind_button = std::make_unique<DrawableButton>("rewind", DrawableButton::ButtonStyle::ImageFitted);
 | 
					    m_rewind_button = std::make_unique<DrawableButton>("rewind", DrawableButton::ButtonStyle::ImageFitted);
 | 
				
			||||||
    std::unique_ptr<Drawable> rewimg(Drawable::createFromImageData(BinaryData::skipback_icon_svg, BinaryData::skipback_icon_svgSize));
 | 
					    std::unique_ptr<Drawable> rewimg(Drawable::createFromImageData(BinaryData::skipback_icon_svg, BinaryData::skipback_icon_svgSize));
 | 
				
			||||||
    m_rewind_button->setImages(rewimg.get());
 | 
					    m_rewind_button->setImages(rewimg.get());
 | 
				
			||||||
@@ -264,7 +264,6 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
 | 
				
			|||||||
    m_stretchgroup->EnabledChangedCallback = [this]() {
 | 
					    m_stretchgroup->EnabledChangedCallback = [this]() {
 | 
				
			||||||
        toggleBool(processor.getBoolParameter(cpi_bypass_stretch));
 | 
					        toggleBool(processor.getBoolParameter(cpi_bypass_stretch));
 | 
				
			||||||
        m_stretchgroup->setToggleEnabled( ! *processor.getBoolParameter(cpi_bypass_stretch));
 | 
					        m_stretchgroup->setToggleEnabled( ! *processor.getBoolParameter(cpi_bypass_stretch));
 | 
				
			||||||
        // jlc
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    addAndMakeVisible(m_stretchgroup.get());
 | 
					    addAndMakeVisible(m_stretchgroup.get());
 | 
				
			||||||
@@ -463,13 +462,40 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
 | 
				
			|||||||
	};
 | 
						};
 | 
				
			||||||
	m_wave_container->addAndMakeVisible(&m_wavecomponent);
 | 
						m_wave_container->addAndMakeVisible(&m_wavecomponent);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    auto tabbgcol = Colour(0xff555555);
 | 
					    auto tabbgcol = Colour(0xff444444);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	m_wavefilter_tab.addTab("Waveform", tabbgcol, m_wave_container, true);
 | 
						m_wavefilter_tab.addTab("Waveform", tabbgcol, m_wave_container, true);
 | 
				
			||||||
	m_wavefilter_tab.addTab("Ratio mixer", tabbgcol, &m_ratiomixeditor, false);
 | 
						m_wavefilter_tab.addTab("Ratio mixer", tabbgcol, &m_ratiomixeditor, false);
 | 
				
			||||||
	m_wavefilter_tab.addTab("Free filter", tabbgcol, &m_free_filter_component, false);
 | 
						m_wavefilter_tab.addTab("Free filter", tabbgcol, &m_free_filter_component, false);
 | 
				
			||||||
	//m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
 | 
						//m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
 | 
					    // TODO
 | 
				
			||||||
 | 
					    auto * ratiotoggle = new DrawableButton("rt", DrawableButton::ImageFitted);
 | 
				
			||||||
 | 
					    std::unique_ptr<Drawable> powerimg(Drawable::createFromImageData(BinaryData::power_svg, BinaryData::power_svgSize));
 | 
				
			||||||
 | 
					    std::unique_ptr<Drawable> powerselimg(Drawable::createFromImageData(BinaryData::power_sel_svg, BinaryData::power_sel_svgSize));
 | 
				
			||||||
 | 
					    ratiotoggle->setImages(powerimg.get(), nullptr, nullptr, nullptr, powerselimg.get());
 | 
				
			||||||
 | 
					    ratiotoggle->setClickingTogglesState(true);
 | 
				
			||||||
 | 
					    ratiotoggle->setColour(DrawableButton::backgroundColourId, Colours::transparentBlack);
 | 
				
			||||||
 | 
					    ratiotoggle->setColour(DrawableButton::backgroundOnColourId, Colours::transparentBlack);
 | 
				
			||||||
 | 
					    ratiotoggle->onClick = [this]() {
 | 
				
			||||||
 | 
					        setSpectrumProcGroupEnabled(RatiosGroup, !isSpectrumProcGroupEnabled(RatiosGroup));
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    auto * fftoggle = new DrawableButton("rt", DrawableButton::ImageFitted);
 | 
				
			||||||
 | 
					    fftoggle->setImages(powerimg.get(), nullptr, nullptr, nullptr, powerselimg.get());
 | 
				
			||||||
 | 
					    fftoggle->setClickingTogglesState(true);
 | 
				
			||||||
 | 
					    fftoggle->setColour(DrawableButton::backgroundColourId, Colours::transparentBlack);
 | 
				
			||||||
 | 
					    fftoggle->setColour(DrawableButton::backgroundOnColourId, Colours::transparentBlack);
 | 
				
			||||||
 | 
					    fftoggle->onClick = [this]() {
 | 
				
			||||||
 | 
					        setSpectrumProcGroupEnabled(FreeFilterGroup, !isSpectrumProcGroupEnabled(FreeFilterGroup));
 | 
				
			||||||
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    m_wavefilter_tab.getTabbedButtonBar().getTabButton(1)->setExtraComponent(ratiotoggle, TabBarButton::ExtraComponentPlacement::beforeText);
 | 
				
			||||||
 | 
					    m_wavefilter_tab.getTabbedButtonBar().getTabButton(2)->setExtraComponent(fftoggle, TabBarButton::ExtraComponentPlacement::beforeText);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	addAndMakeVisible(&m_wavefilter_tab);
 | 
						addAndMakeVisible(&m_wavefilter_tab);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    auto defbounds = processor.getLastPluginBounds();
 | 
					    auto defbounds = processor.getLastPluginBounds();
 | 
				
			||||||
@@ -636,7 +662,7 @@ void PaulstretchpluginAudioProcessorEditor::updateAllSliders()
 | 
				
			|||||||
void PaulstretchpluginAudioProcessorEditor::paint (Graphics& g)
 | 
					void PaulstretchpluginAudioProcessorEditor::paint (Graphics& g)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    // g.fillAll(Colour(0xff404040));
 | 
					    // g.fillAll(Colour(0xff404040));
 | 
				
			||||||
    g.fillAll(Colour(0xff303030));
 | 
					    g.fillAll(Colour(0xff101010));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void PaulstretchpluginAudioProcessorEditor::resized()
 | 
					void PaulstretchpluginAudioProcessorEditor::resized()
 | 
				
			||||||
@@ -2543,7 +2569,7 @@ void FreeFilterComponent::resized()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
void FreeFilterComponent::paint(Graphics & g)
 | 
					void FreeFilterComponent::paint(Graphics & g)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	g.setColour(Colour(0xff222222));
 | 
					    g.setColour(Colour(0xff222222));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	g.fillRect(0, 0, getWidth(), getHeight());
 | 
						g.fillRect(0, 0, getWidth(), getHeight());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -88,7 +88,7 @@
 | 
				
			|||||||
  </MAINGROUP>
 | 
					  </MAINGROUP>
 | 
				
			||||||
  <EXPORTFORMATS>
 | 
					  <EXPORTFORMATS>
 | 
				
			||||||
    <XCODE_IPHONE targetFolder="Builds/iOS" iosDevelopmentTeamID="XCS435894D" microphonePermissionNeeded="1"
 | 
					    <XCODE_IPHONE targetFolder="Builds/iOS" iosDevelopmentTeamID="XCS435894D" microphonePermissionNeeded="1"
 | 
				
			||||||
                  iosBackgroundAudio="1" buildNumber="104" iosScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
 | 
					                  iosBackgroundAudio="1" buildNumber="105" iosScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
 | 
				
			||||||
                  iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
 | 
					                  iPadScreenOrientation="UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight,UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown"
 | 
				
			||||||
                  UIStatusBarHidden="0" UIRequiresFullScreen="0" customPList="<plist version="1.0">
<dict>


<key>ITSAppUsesNonExemptEncryption</key>
	<false/>

<key>UIStatusBarHidden</key>
	<false/>
	<key>UIStatusBarStyle</key>
	<string>UIStatusBarStyleLightContent</string>

<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>


<key>NSLocalNetworkUsageDescription</key>
	<string>DrumJamPad uses networking to communicate with other local services</string>

<key>CFBundleDocumentTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeIconFiles</key>
			<array/>
			<key>CFBundleTypeName</key>
			<string>Audio File</string>
			<key>CFBundleTypeRole</key>
			<string>Viewer</string>
			<key>LSHandlerRank</key>
			<string>Owner</string>
			<key>LSItemContentTypes</key>
			<array>
				<string>com.microsoft.waveform-audio</string>
				<string>public.aiff-audio</string>
				<string>com.apple.coreaudio-format</string>
				<string>public.mpeg-4-audio</string>
				<string>public.mp3</string>
			</array>
		</dict>
		</array>

</dict>
</plist>"
 | 
					                  UIStatusBarHidden="0" UIRequiresFullScreen="0" customPList="<plist version="1.0">
<dict>


<key>ITSAppUsesNonExemptEncryption</key>
	<false/>

<key>UIStatusBarHidden</key>
	<false/>
	<key>UIStatusBarStyle</key>
	<string>UIStatusBarStyleLightContent</string>

<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>


<key>NSLocalNetworkUsageDescription</key>
	<string>DrumJamPad uses networking to communicate with other local services</string>

<key>CFBundleDocumentTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeIconFiles</key>
			<array/>
			<key>CFBundleTypeName</key>
			<string>Audio File</string>
			<key>CFBundleTypeRole</key>
			<string>Viewer</string>
			<key>LSHandlerRank</key>
			<string>Owner</string>
			<key>LSItemContentTypes</key>
			<array>
				<string>com.microsoft.waveform-audio</string>
				<string>public.aiff-audio</string>
				<string>com.apple.coreaudio-format</string>
				<string>public.mpeg-4-audio</string>
				<string>public.mp3</string>
			</array>
		</dict>
		</array>

</dict>
</plist>"
 | 
				
			||||||
                  UIFileSharingEnabled="1" UISupportsDocumentBrowser="1" extraDefs="PS_USE_VDSP_FFT=1"
 | 
					                  UIFileSharingEnabled="1" UISupportsDocumentBrowser="1" extraDefs="PS_USE_VDSP_FFT=1"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user