1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00
JUCE/extras/JuceDemo/Source/demos/RenderingTestComponent.h

100 lines
3.3 KiB
C++

/*
==============================================================================
This is an automatically generated GUI class created by the Introjucer!
Be careful when adding custom code to these files, as only the code within
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
and re-saved.
Created with Introjucer version: 3.1.0
------------------------------------------------------------------------------
The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-13 by Raw Material Software Ltd.
==============================================================================
*/
#ifndef __JUCE_HEADER_ED3E5FD229F108DA__
#define __JUCE_HEADER_ED3E5FD229F108DA__
//[Headers] -- You can add your own extra header files here --
#include "../jucedemo_headers.h"
class RenderingTestCanvas;
//[/Headers]
//==============================================================================
/**
//[Comments]
An auto-generated component, created by the Jucer.
Describe your class and how it works here!
//[/Comments]
*/
class RenderingTestComponent : public Component,
public ComboBoxListener,
public SliderListener
{
public:
//==============================================================================
RenderingTestComponent ();
~RenderingTestComponent();
//==============================================================================
//[UserMethods] -- You can add your own custom methods in this section.
//[/UserMethods]
void paint (Graphics& g);
void resized();
void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
void sliderValueChanged (Slider* sliderThatWasMoved);
// Binary resources:
static const char* demoJpeg_jpg;
static const int demoJpeg_jpgSize;
static const char* demoPng_png;
static const int demoPng_pngSize;
private:
//[UserVariables] -- You can add your own custom variables in this section.
friend class RenderingTestCanvas;
//[/UserVariables]
//==============================================================================
ComboBox* testTypeComboBox;
Label* testTypeLabel;
Label* speedLabel;
RenderingTestCanvas* testCanvas;
Slider* opacitySlider;
ToggleButton* highQualityToggle;
ToggleButton* animateSizeToggle;
ToggleButton* animateRotationToggle;
ToggleButton* animatePositionToggle;
ToggleButton* animateFillToggle;
Label* opacityLabel;
Slider* xSlider;
Slider* ySlider;
Slider* sizeSlider;
Slider* angleSlider;
Label* xSliderLabel;
Label* ySliderLabel;
Label* sizeSliderLabel;
Label* angleSliderLabel;
ToggleButton* clipToRectangleToggle;
ToggleButton* clipToPathToggle;
ToggleButton* clipToImageToggle;
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (RenderingTestComponent)
};
//[EndFile] You can add extra defines here...
//[/EndFile]
#endif // __JUCE_HEADER_ED3E5FD229F108DA__