The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.6KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Introjucer!
  4. Be careful when adding custom code to these files, as only the code within
  5. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  6. and re-saved.
  7. Created with Introjucer version: 3.1.0
  8. ------------------------------------------------------------------------------
  9. The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright 2004-13 by Raw Material Software Ltd.
  11. ==============================================================================
  12. */
  13. #ifndef __JUCE_HEADER_F15E29646987960A__
  14. #define __JUCE_HEADER_F15E29646987960A__
  15. //[Headers] -- You can add your own extra header files here --
  16. #include "../jucedemo_headers.h"
  17. #include "AudioDemoTabComponent.h"
  18. class AudioRecorder;
  19. //[/Headers]
  20. //==============================================================================
  21. /**
  22. //[Comments]
  23. An auto-generated component, created by the Jucer.
  24. Describe your class and how it works here!
  25. //[/Comments]
  26. */
  27. class AudioDemoRecordPage : public Component,
  28. public ButtonListener
  29. {
  30. public:
  31. //==============================================================================
  32. AudioDemoRecordPage (AudioDeviceManager& deviceManager_);
  33. ~AudioDemoRecordPage();
  34. //==============================================================================
  35. //[UserMethods] -- You can add your own custom methods in this section.
  36. //[/UserMethods]
  37. void paint (Graphics& g);
  38. void resized();
  39. void buttonClicked (Button* buttonThatWasClicked);
  40. void visibilityChanged();
  41. private:
  42. //[UserVariables] -- You can add your own custom variables in this section.
  43. AudioDeviceManager& deviceManager;
  44. ScopedPointer<AudioRecorder> recorder;
  45. //[/UserVariables]
  46. //==============================================================================
  47. ScopedPointer<LiveAudioInputDisplayComp> liveAudioDisplayComp;
  48. ScopedPointer<Label> explanationLabel;
  49. ScopedPointer<TextButton> recordButton;
  50. //==============================================================================
  51. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioDemoRecordPage)
  52. };
  53. //[EndFile] You can add extra defines here...
  54. //[/EndFile]
  55. #endif // __JUCE_HEADER_F15E29646987960A__