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

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