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