The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.6KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Introjucer!
  4. Be careful when adding custom code to these files, as only the code within
  5. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  6. and re-saved.
  7. Created with Introjucer version: 3.1.0
  8. ------------------------------------------------------------------------------
  9. The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright 2004-13 by Raw Material Software Ltd.
  11. ==============================================================================
  12. */
  13. #ifndef __JUCE_HEADER_ED3E5FD229F108DA__
  14. #define __JUCE_HEADER_ED3E5FD229F108DA__
  15. //[Headers] -- You can add your own extra header files here --
  16. #include "../jucedemo_headers.h"
  17. class RenderingTestCanvas;
  18. //[/Headers]
  19. //==============================================================================
  20. /**
  21. //[Comments]
  22. An auto-generated component, created by the Jucer.
  23. Describe your class and how it works here!
  24. //[/Comments]
  25. */
  26. class RenderingTestComponent : public Component,
  27. public ComboBoxListener,
  28. public SliderListener
  29. {
  30. public:
  31. //==============================================================================
  32. RenderingTestComponent ();
  33. ~RenderingTestComponent();
  34. //==============================================================================
  35. //[UserMethods] -- You can add your own custom methods in this section.
  36. //[/UserMethods]
  37. void paint (Graphics& g);
  38. void resized();
  39. void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
  40. void sliderValueChanged (Slider* sliderThatWasMoved);
  41. // Binary resources:
  42. static const char* demoJpeg_jpg;
  43. static const int demoJpeg_jpgSize;
  44. static const char* demoPng_png;
  45. static const int demoPng_pngSize;
  46. private:
  47. //[UserVariables] -- You can add your own custom variables in this section.
  48. friend class RenderingTestCanvas;
  49. //[/UserVariables]
  50. //==============================================================================
  51. ScopedPointer<ComboBox> testTypeComboBox;
  52. ScopedPointer<Label> testTypeLabel;
  53. ScopedPointer<Label> speedLabel;
  54. ScopedPointer<RenderingTestCanvas> testCanvas;
  55. ScopedPointer<Slider> opacitySlider;
  56. ScopedPointer<ToggleButton> highQualityToggle;
  57. ScopedPointer<ToggleButton> animateSizeToggle;
  58. ScopedPointer<ToggleButton> animateRotationToggle;
  59. ScopedPointer<ToggleButton> animatePositionToggle;
  60. ScopedPointer<ToggleButton> animateFillToggle;
  61. ScopedPointer<Label> opacityLabel;
  62. ScopedPointer<Slider> xSlider;
  63. ScopedPointer<Slider> ySlider;
  64. ScopedPointer<Slider> sizeSlider;
  65. ScopedPointer<Slider> angleSlider;
  66. ScopedPointer<Label> xSliderLabel;
  67. ScopedPointer<Label> ySliderLabel;
  68. ScopedPointer<Label> sizeSliderLabel;
  69. ScopedPointer<Label> angleSliderLabel;
  70. ScopedPointer<ToggleButton> clipToRectangleToggle;
  71. ScopedPointer<ToggleButton> clipToPathToggle;
  72. ScopedPointer<ToggleButton> clipToImageToggle;
  73. //==============================================================================
  74. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (RenderingTestComponent)
  75. };
  76. //[EndFile] You can add extra defines here...
  77. //[/EndFile]
  78. #endif // __JUCE_HEADER_ED3E5FD229F108DA__