added output recording feature. moved settings to a separate popup panel instead of a menu
This commit is contained in:
@ -12,6 +12,8 @@
|
||||
#include "envelope_component.h"
|
||||
#include "CustomLookAndFeel.h"
|
||||
|
||||
class OptionsView;
|
||||
|
||||
class zoom_scrollbar : public Component
|
||||
{
|
||||
public:
|
||||
@ -510,7 +512,8 @@ private:
|
||||
};
|
||||
|
||||
class PaulstretchpluginAudioProcessorEditor : public AudioProcessorEditor,
|
||||
public MultiTimer, public FileDragAndDropTarget, public DragAndDropContainer
|
||||
public MultiTimer, public FileDragAndDropTarget, public DragAndDropContainer, public ComponentListener
|
||||
|
||||
{
|
||||
public:
|
||||
PaulstretchpluginAudioProcessorEditor (PaulstretchpluginAudioProcessor&);
|
||||
@ -538,10 +541,12 @@ public:
|
||||
|
||||
bool keyPressed(const KeyPress& press) override;
|
||||
|
||||
void componentParentHierarchyChanged (Component& component) override;
|
||||
|
||||
|
||||
WaveformComponent m_wavecomponent;
|
||||
|
||||
void showRenderDialog();
|
||||
void executeModalMenuAction(int menuid, int actionid);
|
||||
//SimpleFFTComponent m_sonogram;
|
||||
String m_last_err;
|
||||
|
||||
@ -557,6 +562,8 @@ private:
|
||||
|
||||
void updateAllSliders();
|
||||
|
||||
void toggleOutputRecording();
|
||||
|
||||
CustomLookAndFeel m_lookandfeel;
|
||||
|
||||
PaulstretchpluginAudioProcessor& processor;
|
||||
@ -581,8 +588,15 @@ private:
|
||||
double m_lastspec_select_time = 0.0;
|
||||
int m_lastspec_select_group = -1;
|
||||
bool m_shortMode = false;
|
||||
File m_lastRecordedFile;
|
||||
std::unique_ptr<Label> m_fileRecordingLabel;
|
||||
std::unique_ptr<DrawableButton> m_recordingButton;
|
||||
|
||||
bool settingsWasShownOnDown = false;
|
||||
uint32 settingsClosedTimestamp = 0;
|
||||
WeakReference<Component> settingsCalloutBox;
|
||||
std::unique_ptr<OptionsView> m_optionsView;
|
||||
|
||||
void showSettingsMenu();
|
||||
|
||||
zoom_scrollbar m_zs;
|
||||
RatioMixerEditor m_ratiomixeditor{ 8 };
|
||||
@ -591,7 +605,7 @@ private:
|
||||
MyTabComponent m_wavefilter_tab;
|
||||
Component* m_wave_container=nullptr;
|
||||
void showAudioSetup();
|
||||
void showAbout();
|
||||
void showSettings(bool flag);
|
||||
void toggleFileBrowser();
|
||||
std::vector<int> m_capturelens{ 2,5,10,30,60,120 };
|
||||
|
||||
|
Reference in New Issue
Block a user