/*
  ==============================================================================

  This is an automatically generated file created by the Jucer!

  Creation date:  1 Dec 2009 9:04:27 pm

  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.

  Jucer version: 1.12

  ------------------------------------------------------------------------------

  The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
  Copyright 2004-6 by Raw Material Software ltd.

  ==============================================================================
*/

#ifndef __JUCER_HEADER_RENDERINGTESTCOMPONENT_RENDERINGTESTCOMPONENT_79B4A77C__
#define __JUCER_HEADER_RENDERINGTESTCOMPONENT_RENDERINGTESTCOMPONENT_79B4A77C__

//[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;

    //==============================================================================
    juce_UseDebuggingNewOperator

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;

    //==============================================================================
    // (prevent copy constructor and operator= being generated..)
    RenderingTestComponent (const RenderingTestComponent&);
    const RenderingTestComponent& operator= (const RenderingTestComponent&);
};


#endif   // __JUCER_HEADER_RENDERINGTESTCOMPONENT_RENDERINGTESTCOMPONENT_79B4A77C__
