Preview.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*\
  2. |*| Copyright 2015 bill-auger <https://github.com/bill-auger/av-caster/issues>
  3. |*|
  4. |*| This file is part of the AvCaster program.
  5. |*|
  6. |*| AvCaster is free software: you can redistribute it and/or modify
  7. |*| it under the terms of the GNU Lesser General Public License version 3
  8. |*| as published by the Free Software Foundation.
  9. |*|
  10. |*| AvCaster is distributed in the hope that it will be useful,
  11. |*| but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. |*| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. |*| GNU Lesser General Public License for more details.
  14. |*|
  15. |*| You should have received a copy of the GNU Lesser General Public License
  16. |*| along with AvCaster. If not, see <http://www.gnu.org/licenses/>.
  17. \*/
  18. #ifndef _PREVIEW_H_
  19. #define _PREVIEW_H_
  20. //[Headers] -- You can add your own extra header files here --
  21. #include "JuceHeader.h"
  22. //[/Headers]
  23. //==============================================================================
  24. /**
  25. //[Comments]
  26. An auto-generated component, created by the Introjucer.
  27. Describe your class and how it works here!
  28. //[/Comments]
  29. */
  30. class Preview : public Component
  31. {
  32. public:
  33. //==============================================================================
  34. Preview ();
  35. ~Preview();
  36. //==============================================================================
  37. //[UserMethods] -- You can add your own custom methods in this section.
  38. //[/UserMethods]
  39. void paint (Graphics& g);
  40. void resized();
  41. private:
  42. //[UserVariables] -- You can add your own custom variables in this section.
  43. //[/UserVariables]
  44. //==============================================================================
  45. ScopedPointer<GroupComponent> previewGroup;
  46. //==============================================================================
  47. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Preview)
  48. };
  49. //[EndFile] You can add extra defines here...
  50. //[/EndFile]
  51. #endif // _PREVIEW_H_