123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- /*\
- |*| Copyright 2015-2016 bill-auger <https://github.com/bill-auger/av-caster/issues>
- |*|
- |*| This file is part of the AvCaster program.
- |*|
- |*| AvCaster is free software: you can redistribute it and/or modify
- |*| it under the terms of the GNU General Public License version 3
- |*| as published by the Free Software Foundation.
- |*|
- |*| AvCaster is distributed in the hope that it will be useful,
- |*| but WITHOUT ANY WARRANTY; without even the implied warranty of
- |*| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- |*| GNU General Public License for more details.
- |*|
- |*| You should have received a copy of the GNU General Public License
- |*| along with AvCaster. If not, see <http://www.gnu.org/licenses/>.
- \*/
- #ifndef _PREVIEW_H_
- #define _PREVIEW_H_
- //[Headers] -- You can add your own extra header files here --
- #include "JuceHeader.h"
- //[/Headers]
- //==============================================================================
- /**
- //[Comments]
- Preview is the live preview GUI for the AvCaster application.
- It is essentially a dummy widget for the media to be drawn within.
- //[/Comments]
- */
- class Preview : public Component
- {
- public:
- //==============================================================================
- Preview ();
- ~Preview();
- //==============================================================================
- //[UserMethods] -- You can add your own custom methods in this section.
- //[/UserMethods]
- void paint (Graphics& g) override;
- void resized() override;
- private:
- //[UserVariables] -- You can add your own custom variables in this section.
- //[/UserVariables]
- //==============================================================================
- ScopedPointer<GroupComponent> previewGroup;
- ScopedPointer<Drawable> drawable1;
- //==============================================================================
- JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Preview)
- };
- //[EndFile] You can add extra defines here...
- //[/EndFile]
- #endif // _PREVIEW_H_
|