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.3KB

  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. ComboBox* testTypeComboBox;
  52. Label* testTypeLabel;
  53. Label* speedLabel;
  54. RenderingTestCanvas* testCanvas;
  55. Slider* opacitySlider;
  56. ToggleButton* highQualityToggle;
  57. ToggleButton* animateSizeToggle;
  58. ToggleButton* animateRotationToggle;
  59. ToggleButton* animatePositionToggle;
  60. ToggleButton* animateFillToggle;
  61. Label* opacityLabel;
  62. Slider* xSlider;
  63. Slider* ySlider;
  64. Slider* sizeSlider;
  65. Slider* angleSlider;
  66. Label* xSliderLabel;
  67. Label* ySliderLabel;
  68. Label* sizeSliderLabel;
  69. Label* angleSliderLabel;
  70. ToggleButton* clipToRectangleToggle;
  71. ToggleButton* clipToPathToggle;
  72. 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__