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.

172 lines
5.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-11 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. #ifndef __JUCE_GRAPHICS_MODULE_JUCEHEADER__ // %%
  19. #define __JUCE_GRAPHICS_MODULE_JUCEHEADER__
  20. #include "../juce_core/juce_core.h"
  21. #include "../juce_events/juce_events.h"
  22. //=============================================================================
  23. /** Config: JUCE_USE_COREIMAGE_LOADER
  24. On OSX, enabling this flag means that the CoreImage codecs will be used to load
  25. PNG/JPEG/GIF files. It is enabled by default, but you may want to disable it if
  26. you'd rather use libpng, libjpeg, etc.
  27. */
  28. #ifndef JUCE_USE_COREIMAGE_LOADER
  29. #define JUCE_USE_COREIMAGE_LOADER 1
  30. #endif
  31. #ifndef JUCE_INCLUDE_PNGLIB_CODE
  32. #define JUCE_INCLUDE_PNGLIB_CODE 1
  33. #endif
  34. #ifndef JUCE_INCLUDE_JPEGLIB_CODE
  35. #define JUCE_INCLUDE_JPEGLIB_CODE 1
  36. #endif
  37. #ifndef USE_COREGRAPHICS_RENDERING
  38. #define USE_COREGRAPHICS_RENDERING 1
  39. #endif
  40. // This macro will let you replace all uses of the LowLevelGraphicsSoftwareRenderer with
  41. // a custom class if you want to. As well as setting this macro in your app settings header,
  42. // you'll also need to actually provide the class definition in that header too, so that it's
  43. // available for the internal library code.
  44. #ifndef JUCE_DEFAULT_SOFTWARE_RENDERER_CLASS
  45. #define JUCE_DEFAULT_SOFTWARE_RENDERER_CLASS LowLevelGraphicsSoftwareRenderer
  46. #endif
  47. //=============================================================================
  48. BEGIN_JUCE_NAMESPACE
  49. // START_AUTOINCLUDE colour, geometry, placement, contexts, images,
  50. // image_formats, fonts, effects
  51. #ifndef __JUCE_COLOUR_JUCEHEADER__
  52. #include "colour/juce_Colour.h"
  53. #endif
  54. #ifndef __JUCE_COLOURGRADIENT_JUCEHEADER__
  55. #include "colour/juce_ColourGradient.h"
  56. #endif
  57. #ifndef __JUCE_COLOURS_JUCEHEADER__
  58. #include "colour/juce_Colours.h"
  59. #endif
  60. #ifndef __JUCE_FILLTYPE_JUCEHEADER__
  61. #include "colour/juce_FillType.h"
  62. #endif
  63. #ifndef __JUCE_PIXELFORMATS_JUCEHEADER__
  64. #include "colour/juce_PixelFormats.h"
  65. #endif
  66. #ifndef __JUCE_AFFINETRANSFORM_JUCEHEADER__
  67. #include "geometry/juce_AffineTransform.h"
  68. #endif
  69. #ifndef __JUCE_BORDERSIZE_JUCEHEADER__
  70. #include "geometry/juce_BorderSize.h"
  71. #endif
  72. #ifndef __JUCE_EDGETABLE_JUCEHEADER__
  73. #include "geometry/juce_EdgeTable.h"
  74. #endif
  75. #ifndef __JUCE_LINE_JUCEHEADER__
  76. #include "geometry/juce_Line.h"
  77. #endif
  78. #ifndef __JUCE_PATH_JUCEHEADER__
  79. #include "geometry/juce_Path.h"
  80. #endif
  81. #ifndef __JUCE_PATHITERATOR_JUCEHEADER__
  82. #include "geometry/juce_PathIterator.h"
  83. #endif
  84. #ifndef __JUCE_PATHSTROKETYPE_JUCEHEADER__
  85. #include "geometry/juce_PathStrokeType.h"
  86. #endif
  87. #ifndef __JUCE_POINT_JUCEHEADER__
  88. #include "geometry/juce_Point.h"
  89. #endif
  90. #ifndef __JUCE_RECTANGLE_JUCEHEADER__
  91. #include "geometry/juce_Rectangle.h"
  92. #endif
  93. #ifndef __JUCE_RECTANGLELIST_JUCEHEADER__
  94. #include "geometry/juce_RectangleList.h"
  95. #endif
  96. #ifndef __JUCE_JUSTIFICATION_JUCEHEADER__
  97. #include "placement/juce_Justification.h"
  98. #endif
  99. #ifndef __JUCE_RECTANGLEPLACEMENT_JUCEHEADER__
  100. #include "placement/juce_RectanglePlacement.h"
  101. #endif
  102. #ifndef __JUCE_GRAPHICSCONTEXT_JUCEHEADER__
  103. #include "contexts/juce_GraphicsContext.h"
  104. #endif
  105. #ifndef __JUCE_LOWLEVELGRAPHICSCONTEXT_JUCEHEADER__
  106. #include "contexts/juce_LowLevelGraphicsContext.h"
  107. #endif
  108. #ifndef __JUCE_LOWLEVELGRAPHICSPOSTSCRIPTRENDERER_JUCEHEADER__
  109. #include "contexts/juce_LowLevelGraphicsPostScriptRenderer.h"
  110. #endif
  111. #ifndef __JUCE_LOWLEVELGRAPHICSSOFTWARERENDERER_JUCEHEADER__
  112. #include "contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
  113. #endif
  114. #ifndef __JUCE_IMAGE_JUCEHEADER__
  115. #include "images/juce_Image.h"
  116. #endif
  117. #ifndef __JUCE_IMAGECACHE_JUCEHEADER__
  118. #include "images/juce_ImageCache.h"
  119. #endif
  120. #ifndef __JUCE_IMAGECONVOLUTIONKERNEL_JUCEHEADER__
  121. #include "images/juce_ImageConvolutionKernel.h"
  122. #endif
  123. #ifndef __JUCE_IMAGEFILEFORMAT_JUCEHEADER__
  124. #include "images/juce_ImageFileFormat.h"
  125. #endif
  126. #ifndef __JUCE_CUSTOMTYPEFACE_JUCEHEADER__
  127. #include "fonts/juce_CustomTypeface.h"
  128. #endif
  129. #ifndef __JUCE_FONT_JUCEHEADER__
  130. #include "fonts/juce_Font.h"
  131. #endif
  132. #ifndef __JUCE_GLYPHARRANGEMENT_JUCEHEADER__
  133. #include "fonts/juce_GlyphArrangement.h"
  134. #endif
  135. #ifndef __JUCE_TEXTLAYOUT_JUCEHEADER__
  136. #include "fonts/juce_TextLayout.h"
  137. #endif
  138. #ifndef __JUCE_TYPEFACE_JUCEHEADER__
  139. #include "fonts/juce_Typeface.h"
  140. #endif
  141. #ifndef __JUCE_DROPSHADOWEFFECT_JUCEHEADER__
  142. #include "effects/juce_DropShadowEffect.h"
  143. #endif
  144. #ifndef __JUCE_GLOWEFFECT_JUCEHEADER__
  145. #include "effects/juce_GlowEffect.h"
  146. #endif
  147. #ifndef __JUCE_IMAGEEFFECTFILTER_JUCEHEADER__
  148. #include "effects/juce_ImageEffectFilter.h"
  149. #endif
  150. // END_AUTOINCLUDE
  151. END_JUCE_NAMESPACE
  152. #endif // __JUCE_GRAPHICS_JUCEHEADER__