ConfigImage.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*\
  2. |*| Copyright 2015-2016 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 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 General Public License for more details.
  14. |*|
  15. |*| You should have received a copy of the GNU General Public License
  16. |*| along with AvCaster. If not, see <http://www.gnu.org/licenses/>.
  17. \*/
  18. #ifndef _CONFIG_IMAGE_H_
  19. #define _CONFIG_IMAGE_H_
  20. //[Headers] -- You can add your own extra header files here --
  21. #include "JuceHeader.h"
  22. class MainContent ;
  23. //[/Headers]
  24. //==============================================================================
  25. /**
  26. //[Comments]
  27. ConfigImage is the interstitial image configuration GUI for the AvCaster application.
  28. It has it controls for setting the per-preset interstitial image parameters.
  29. //[/Comments]
  30. */
  31. class ConfigImage : public Component
  32. {
  33. public:
  34. //==============================================================================
  35. ConfigImage ();
  36. ~ConfigImage();
  37. //==============================================================================
  38. //[UserMethods] -- You can add your own custom methods in this section.
  39. //[/UserMethods]
  40. void paint (Graphics& g);
  41. void resized();
  42. private:
  43. //[UserVariables] -- You can add your own custom variables in this section.
  44. friend class Config ;
  45. MainContent* mainContent ;
  46. //[/UserVariables]
  47. //==============================================================================
  48. ScopedPointer<Label> locationLabel;
  49. ScopedPointer<TextEditor> interstitialText;
  50. ScopedPointer<TextButton> browseButton;
  51. //==============================================================================
  52. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ConfigImage)
  53. };
  54. //[EndFile] You can add extra defines here...
  55. //[/EndFile]
  56. #endif // _CONFIG_IMAGE_H_