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.

106 lines
3.6KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated file created by the Jucer!
  4. Creation date: 1 May 2011 12:07:57pm
  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_ABDF1DF__
  15. #define __JUCER_HEADER_RENDERINGTESTCOMPONENT_RENDERINGTESTCOMPONENT_ABDF1DF__
  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. //==============================================================================
  48. juce_UseDebuggingNewOperator
  49. private:
  50. //[UserVariables] -- You can add your own custom variables in this section.
  51. friend class RenderingTestCanvas;
  52. //[/UserVariables]
  53. //==============================================================================
  54. ComboBox* testTypeComboBox;
  55. Label* testTypeLabel;
  56. Label* speedLabel;
  57. RenderingTestCanvas* testCanvas;
  58. Slider* opacitySlider;
  59. ToggleButton* highQualityToggle;
  60. ToggleButton* animateSizeToggle;
  61. ToggleButton* animateRotationToggle;
  62. ToggleButton* animatePositionToggle;
  63. ToggleButton* animateFillToggle;
  64. Label* opacityLabel;
  65. Slider* xSlider;
  66. Slider* ySlider;
  67. Slider* sizeSlider;
  68. Slider* angleSlider;
  69. Label* xSliderLabel;
  70. Label* ySliderLabel;
  71. Label* sizeSliderLabel;
  72. Label* angleSliderLabel;
  73. ToggleButton* clipToRectangleToggle;
  74. ToggleButton* clipToPathToggle;
  75. ToggleButton* clipToImageToggle;
  76. //==============================================================================
  77. // (prevent copy constructor and operator= being generated..)
  78. RenderingTestComponent (const RenderingTestComponent&);
  79. const RenderingTestComponent& operator= (const RenderingTestComponent&);
  80. };
  81. #endif // __JUCER_HEADER_RENDERINGTESTCOMPONENT_RENDERINGTESTCOMPONENT_ABDF1DF__