expo-juce 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1611) hide show
  1. package/README.md +34 -0
  2. package/build/index.d.ts +21 -24
  3. package/build/index.d.ts.map +1 -1
  4. package/build/index.js +44 -48
  5. package/build/index.js.map +1 -1
  6. package/ios/BeeperAudioEngine.h +45 -0
  7. package/ios/BeeperAudioEngine.mm +352 -0
  8. package/ios/ExpoJuce.podspec +31 -8
  9. package/ios/ExpoJuceBridge.h +12 -12
  10. package/ios/ExpoJuceBridge.m +35 -100
  11. package/ios/ExpoJuceModule.swift +63 -85
  12. package/ios/JuceConfig.h +49 -14
  13. package/ios/JuceModule_audio_basics.mm +2 -0
  14. package/ios/JuceModule_audio_devices.mm +2 -0
  15. package/ios/JuceModule_audio_formats.mm +2 -0
  16. package/ios/JuceModule_audio_processors.mm +2 -0
  17. package/ios/JuceModule_core.mm +5 -0
  18. package/ios/JuceModule_data_structures.mm +2 -0
  19. package/ios/JuceModule_dsp.mm +2 -0
  20. package/ios/JuceModule_events.mm +2 -0
  21. package/ios/JuceModule_graphics.mm +2 -0
  22. package/ios/JuceModule_gui_basics.mm +2 -0
  23. package/ios/JuceModule_gui_extra.mm +2 -0
  24. package/ios/JuceModule_harfbuzz.mm +4 -0
  25. package/ios/PolySynthProcessor.h +83 -0
  26. package/ios/PolySynthProcessor.mm +164 -0
  27. package/ios/TransportEngine.h +35 -0
  28. package/ios/TransportEngine.mm +50 -0
  29. package/ios/Voice.h +59 -0
  30. package/ios/Voice.mm +157 -0
  31. package/ios/VoiceAllocator.h +22 -0
  32. package/ios/VoiceAllocator.mm +88 -0
  33. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.cpp +1957 -0
  34. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h +586 -0
  35. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioIODevice.cpp +65 -0
  36. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioIODevice.h +368 -0
  37. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.cpp +152 -0
  38. package/ios/juce_modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h +200 -0
  39. package/ios/juce_modules/juce_audio_devices/audio_io/juce_SampleRateHelpers.cpp +57 -0
  40. package/ios/juce_modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h +71 -0
  41. package/ios/juce_modules/juce_audio_devices/juce_audio_devices.cpp +277 -0
  42. package/ios/juce_modules/juce_audio_devices/juce_audio_devices.h +201 -0
  43. package/ios/juce_modules/juce_audio_devices/juce_audio_devices.mm +35 -0
  44. package/ios/juce_modules/juce_audio_devices/midi_io/juce_MidiDevices.cpp +246 -0
  45. package/ios/juce_modules/juce_audio_devices/midi_io/juce_MidiDevices.h +482 -0
  46. package/ios/juce_modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.cpp +170 -0
  47. package/ios/juce_modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h +125 -0
  48. package/ios/juce_modules/juce_audio_devices/midi_io/ump/juce_UMPBytestreamInputHandler.h +153 -0
  49. package/ios/juce_modules/juce_audio_devices/midi_io/ump/juce_UMPU32InputHandler.h +165 -0
  50. package/ios/juce_modules/juce_audio_devices/native/java/app/com/rmsl/juce/JuceMidiSupport.java +1121 -0
  51. package/ios/juce_modules/juce_audio_devices/native/juce_ALSA_linux.cpp +1313 -0
  52. package/ios/juce_modules/juce_audio_devices/native/juce_ASIO_windows.cpp +1654 -0
  53. package/ios/juce_modules/juce_audio_devices/native/juce_Audio_android.cpp +482 -0
  54. package/ios/juce_modules/juce_audio_devices/native/juce_Audio_ios.cpp +1508 -0
  55. package/ios/juce_modules/juce_audio_devices/native/juce_Audio_ios.h +106 -0
  56. package/ios/juce_modules/juce_audio_devices/native/juce_Bela_linux.cpp +612 -0
  57. package/ios/juce_modules/juce_audio_devices/native/juce_CoreAudio_mac.cpp +2315 -0
  58. package/ios/juce_modules/juce_audio_devices/native/juce_CoreMidi_mac.mm +1280 -0
  59. package/ios/juce_modules/juce_audio_devices/native/juce_DirectSound_windows.cpp +1304 -0
  60. package/ios/juce_modules/juce_audio_devices/native/juce_HighPerformanceAudioHelpers_android.h +137 -0
  61. package/ios/juce_modules/juce_audio_devices/native/juce_JackAudio_linux.cpp +681 -0
  62. package/ios/juce_modules/juce_audio_devices/native/juce_Midi_android.cpp +1183 -0
  63. package/ios/juce_modules/juce_audio_devices/native/juce_Midi_linux.cpp +788 -0
  64. package/ios/juce_modules/juce_audio_devices/native/juce_Midi_windows.cpp +2038 -0
  65. package/ios/juce_modules/juce_audio_devices/native/juce_Oboe_android.cpp +1440 -0
  66. package/ios/juce_modules/juce_audio_devices/native/juce_OpenSL_android.cpp +1306 -0
  67. package/ios/juce_modules/juce_audio_devices/native/juce_WASAPI_windows.cpp +2032 -0
  68. package/ios/juce_modules/juce_audio_devices/native/oboe/.clang-tidy +3 -0
  69. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/AudioStream.h +706 -0
  70. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/AudioStreamBase.h +343 -0
  71. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/AudioStreamBuilder.h +670 -0
  72. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/AudioStreamCallback.h +193 -0
  73. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/Definitions.h +897 -0
  74. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/FifoBuffer.h +164 -0
  75. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/FifoControllerBase.h +112 -0
  76. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/FullDuplexStream.h +324 -0
  77. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/LatencyTuner.h +150 -0
  78. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/Oboe.h +40 -0
  79. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/OboeExtensions.h +64 -0
  80. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/ResultWithValue.h +155 -0
  81. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/StabilizedCallback.h +75 -0
  82. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/Utilities.h +99 -0
  83. package/ios/juce_modules/juce_audio_devices/native/oboe/include/oboe/Version.h +92 -0
  84. package/ios/juce_modules/juce_audio_devices/native/oboe/src/aaudio/AAudioExtensions.h +180 -0
  85. package/ios/juce_modules/juce_audio_devices/native/oboe/src/aaudio/AAudioLoader.cpp +506 -0
  86. package/ios/juce_modules/juce_audio_devices/native/oboe/src/aaudio/AAudioLoader.h +299 -0
  87. package/ios/juce_modules/juce_audio_devices/native/oboe/src/aaudio/AudioStreamAAudio.cpp +868 -0
  88. package/ios/juce_modules/juce_audio_devices/native/oboe/src/aaudio/AudioStreamAAudio.h +152 -0
  89. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AdpfWrapper.cpp +124 -0
  90. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AdpfWrapper.h +85 -0
  91. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AudioClock.h +75 -0
  92. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AudioSourceCaller.cpp +38 -0
  93. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AudioSourceCaller.h +83 -0
  94. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AudioStream.cpp +222 -0
  95. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/AudioStreamBuilder.cpp +224 -0
  96. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/DataConversionFlowGraph.cpp +266 -0
  97. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/DataConversionFlowGraph.h +86 -0
  98. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FilterAudioStream.cpp +106 -0
  99. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FilterAudioStream.h +227 -0
  100. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockAdapter.cpp +38 -0
  101. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockAdapter.h +67 -0
  102. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockReader.cpp +73 -0
  103. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockReader.h +60 -0
  104. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockWriter.cpp +73 -0
  105. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/FixedBlockWriter.h +54 -0
  106. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/LatencyTuner.cpp +108 -0
  107. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/MonotonicCounter.h +112 -0
  108. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/OboeDebug.h +41 -0
  109. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/OboeExtensions.cpp +36 -0
  110. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/QuirksManager.cpp +311 -0
  111. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/QuirksManager.h +134 -0
  112. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceFloatCaller.cpp +30 -0
  113. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceFloatCaller.h +44 -0
  114. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI16Caller.cpp +47 -0
  115. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI16Caller.h +49 -0
  116. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI24Caller.cpp +56 -0
  117. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI24Caller.h +53 -0
  118. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI32Caller.cpp +47 -0
  119. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/SourceI32Caller.h +53 -0
  120. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/StabilizedCallback.cpp +112 -0
  121. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/Trace.cpp +75 -0
  122. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/Trace.h +31 -0
  123. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/Utilities.cpp +333 -0
  124. package/ios/juce_modules/juce_audio_devices/native/oboe/src/common/Version.cpp +28 -0
  125. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoBuffer.cpp +178 -0
  126. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoController.cpp +30 -0
  127. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoController.h +62 -0
  128. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoControllerBase.cpp +68 -0
  129. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoControllerIndirect.cpp +32 -0
  130. package/ios/juce_modules/juce_audio_devices/native/oboe/src/fifo/FifoControllerIndirect.h +66 -0
  131. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ChannelCountConverter.cpp +52 -0
  132. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ChannelCountConverter.h +52 -0
  133. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ClipToRange.cpp +38 -0
  134. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ClipToRange.h +68 -0
  135. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/FlowGraphNode.cpp +114 -0
  136. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/FlowGraphNode.h +450 -0
  137. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/FlowgraphUtilities.h +55 -0
  138. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/Limiter.cpp +67 -0
  139. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/Limiter.h +64 -0
  140. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ManyToMultiConverter.cpp +47 -0
  141. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/ManyToMultiConverter.h +53 -0
  142. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MonoBlend.cpp +46 -0
  143. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MonoBlend.h +48 -0
  144. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MonoToMultiConverter.cpp +41 -0
  145. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MonoToMultiConverter.h +49 -0
  146. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MultiToManyConverter.cpp +47 -0
  147. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MultiToManyConverter.h +49 -0
  148. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MultiToMonoConverter.cpp +41 -0
  149. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/MultiToMonoConverter.h +49 -0
  150. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/RampLinear.cpp +81 -0
  151. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/RampLinear.h +96 -0
  152. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SampleRateConverter.cpp +71 -0
  153. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SampleRateConverter.h +63 -0
  154. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkFloat.cpp +46 -0
  155. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkFloat.h +45 -0
  156. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI16.cpp +57 -0
  157. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI16.h +43 -0
  158. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI24.cpp +66 -0
  159. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI24.h +44 -0
  160. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI32.cpp +55 -0
  161. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SinkI32.h +40 -0
  162. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceFloat.cpp +42 -0
  163. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceFloat.h +44 -0
  164. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI16.cpp +54 -0
  165. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI16.h +42 -0
  166. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI24.cpp +65 -0
  167. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI24.h +43 -0
  168. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI32.cpp +54 -0
  169. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/SourceI32.h +42 -0
  170. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/HyperbolicCosineWindow.h +71 -0
  171. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/IntegerRatio.cpp +50 -0
  172. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/IntegerRatio.h +54 -0
  173. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/KaiserWindow.h +90 -0
  174. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/LinearResampler.cpp +42 -0
  175. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/LinearResampler.h +47 -0
  176. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/MultiChannelResampler.cpp +171 -0
  177. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/MultiChannelResampler.h +281 -0
  178. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResampler.cpp +61 -0
  179. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResampler.h +53 -0
  180. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResamplerMono.cpp +63 -0
  181. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResamplerMono.h +41 -0
  182. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResamplerStereo.cpp +79 -0
  183. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/PolyphaseResamplerStereo.h +41 -0
  184. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/ResamplerDefinitions.h +27 -0
  185. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/SincResampler.cpp +72 -0
  186. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/SincResampler.h +50 -0
  187. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/SincResamplerStereo.cpp +81 -0
  188. package/ios/juce_modules/juce_audio_devices/native/oboe/src/flowgraph/resampler/SincResamplerStereo.h +42 -0
  189. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioInputStreamOpenSLES.cpp +360 -0
  190. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioInputStreamOpenSLES.h +66 -0
  191. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioOutputStreamOpenSLES.cpp +462 -0
  192. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioOutputStreamOpenSLES.h +80 -0
  193. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioStreamBuffered.cpp +285 -0
  194. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioStreamBuffered.h +96 -0
  195. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioStreamOpenSLES.cpp +499 -0
  196. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/AudioStreamOpenSLES.h +148 -0
  197. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/EngineOpenSLES.cpp +141 -0
  198. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/EngineOpenSLES.h +65 -0
  199. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/OpenSLESUtilities.cpp +96 -0
  200. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/OpenSLESUtilities.h +44 -0
  201. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/OutputMixerOpenSLES.cpp +74 -0
  202. package/ios/juce_modules/juce_audio_devices/native/oboe/src/opensles/OutputMixerOpenSLES.h +58 -0
  203. package/ios/juce_modules/juce_audio_devices/sources/juce_AudioSourcePlayer.cpp +193 -0
  204. package/ios/juce_modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h +127 -0
  205. package/ios/juce_modules/juce_audio_devices/sources/juce_AudioTransportSource.cpp +295 -0
  206. package/ios/juce_modules/juce_audio_devices/sources/juce_AudioTransportSource.h +192 -0
  207. package/ios/juce_modules/juce_audio_processors/format/juce_AudioPluginFormat.cpp +107 -0
  208. package/ios/juce_modules/juce_audio_processors/format/juce_AudioPluginFormat.h +183 -0
  209. package/ios/juce_modules/juce_audio_processors/format/juce_AudioPluginFormatManager.cpp +212 -0
  210. package/ios/juce_modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h +151 -0
  211. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/generate_lv2_bundle_sources.py +175 -0
  212. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/juce_lv2_config.h +87 -0
  213. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/COPYING +13 -0
  214. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/lilv/lilv.h +2117 -0
  215. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/lilv/lilvmm.hpp +440 -0
  216. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/collections.c +240 -0
  217. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/filesystem.c +564 -0
  218. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/filesystem.h +182 -0
  219. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/instance.c +115 -0
  220. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/lib.c +127 -0
  221. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/lilv_internal.h +477 -0
  222. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/node.c +413 -0
  223. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/plugin.c +1140 -0
  224. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/pluginclass.c +91 -0
  225. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/port.c +272 -0
  226. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/query.c +144 -0
  227. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/scalepoint.c +53 -0
  228. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/state.c +1541 -0
  229. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/ui.c +115 -0
  230. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/util.c +291 -0
  231. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/world.c +1249 -0
  232. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/zix/common.h +138 -0
  233. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/zix/tree.c +727 -0
  234. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv/src/zix/tree.h +164 -0
  235. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lilv_config.h +42 -0
  236. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/COPYING +16 -0
  237. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/atom-test-utils.c +73 -0
  238. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/atom-test.c +367 -0
  239. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/atom.h +260 -0
  240. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/atom.meta.ttl +542 -0
  241. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/atom.ttl +247 -0
  242. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/forge-overflow-test.c +235 -0
  243. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/forge.h +683 -0
  244. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/manifest.ttl +9 -0
  245. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/atom/util.h +523 -0
  246. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/buf-size/buf-size.h +51 -0
  247. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/buf-size/buf-size.meta.ttl +157 -0
  248. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/buf-size/buf-size.ttl +67 -0
  249. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/buf-size/manifest.ttl +9 -0
  250. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/attributes.h +59 -0
  251. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/lv2.h +484 -0
  252. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/lv2_util.h +103 -0
  253. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/lv2core.meta.ttl +905 -0
  254. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/lv2core.ttl +674 -0
  255. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/manifest.ttl +15 -0
  256. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/meta.ttl +199 -0
  257. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/core/people.ttl +51 -0
  258. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/data-access/data-access.h +73 -0
  259. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/data-access/data-access.meta.ttl +77 -0
  260. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/data-access/data-access.ttl +11 -0
  261. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/data-access/manifest.ttl +9 -0
  262. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/dynmanifest/dynmanifest.h +160 -0
  263. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/dynmanifest/dynmanifest.meta.ttl +131 -0
  264. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/dynmanifest/dynmanifest.ttl +25 -0
  265. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/dynmanifest/manifest.ttl +9 -0
  266. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/event/event-helpers.h +255 -0
  267. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/event/event.h +306 -0
  268. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/event/event.meta.ttl +246 -0
  269. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/event/event.ttl +86 -0
  270. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/event/manifest.ttl +9 -0
  271. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/instance-access/instance-access.h +41 -0
  272. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/instance-access/instance-access.meta.ttl +75 -0
  273. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/instance-access/instance-access.ttl +11 -0
  274. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/instance-access/manifest.ttl +9 -0
  275. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/log/log.h +113 -0
  276. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/log/log.meta.ttl +126 -0
  277. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/log/log.ttl +48 -0
  278. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/log/logger.h +157 -0
  279. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/log/manifest.ttl +9 -0
  280. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/midi/manifest.ttl +9 -0
  281. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/midi/midi.h +248 -0
  282. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/midi/midi.meta.ttl +153 -0
  283. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/midi/midi.ttl +366 -0
  284. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/morph/manifest.ttl +9 -0
  285. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/morph/morph.h +48 -0
  286. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/morph/morph.meta.ttl +90 -0
  287. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/morph/morph.ttl +46 -0
  288. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/options/manifest.ttl +9 -0
  289. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/options/options.h +149 -0
  290. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/options/options.meta.ttl +129 -0
  291. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/options/options.ttl +44 -0
  292. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/parameters/manifest.ttl +9 -0
  293. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/parameters/parameters.h +68 -0
  294. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/parameters/parameters.meta.ttl +75 -0
  295. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/parameters/parameters.ttl +202 -0
  296. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/patch/manifest.ttl +9 -0
  297. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/patch/patch.h +73 -0
  298. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/patch/patch.meta.ttl +374 -0
  299. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/patch/patch.ttl +251 -0
  300. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-groups/manifest.ttl +9 -0
  301. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-groups/port-groups.h +77 -0
  302. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-groups/port-groups.meta.ttl +144 -0
  303. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-groups/port-groups.ttl +807 -0
  304. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-props/manifest.ttl +9 -0
  305. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-props/port-props.h +53 -0
  306. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-props/port-props.meta.ttl +202 -0
  307. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/port-props/port-props.ttl +79 -0
  308. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/presets/manifest.ttl +9 -0
  309. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/presets/presets.h +48 -0
  310. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/presets/presets.meta.ttl +132 -0
  311. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/presets/presets.ttl +60 -0
  312. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/resize-port/manifest.ttl +9 -0
  313. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/resize-port/resize-port.h +89 -0
  314. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/resize-port/resize-port.meta.ttl +74 -0
  315. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/resize-port/resize-port.ttl +36 -0
  316. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/state/manifest.ttl +9 -0
  317. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/state/state.h +392 -0
  318. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/state/state.meta.ttl +467 -0
  319. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/state/state.ttl +60 -0
  320. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/time/manifest.ttl +9 -0
  321. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/time/time.h +59 -0
  322. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/time/time.meta.ttl +112 -0
  323. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/time/time.ttl +122 -0
  324. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/ui/manifest.ttl +9 -0
  325. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/ui/ui.h +543 -0
  326. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/ui/ui.meta.ttl +627 -0
  327. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/ui/ui.ttl +248 -0
  328. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/units/manifest.ttl +9 -0
  329. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/units/units.h +75 -0
  330. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/units/units.meta.ttl +154 -0
  331. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/units/units.ttl +379 -0
  332. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/uri-map/manifest.ttl +9 -0
  333. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/uri-map/uri-map.h +121 -0
  334. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/uri-map/uri-map.meta.ttl +72 -0
  335. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/uri-map/uri-map.ttl +14 -0
  336. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/urid/manifest.ttl +9 -0
  337. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/urid/urid.h +140 -0
  338. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/urid/urid.meta.ttl +84 -0
  339. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/urid/urid.ttl +22 -0
  340. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/worker/manifest.ttl +9 -0
  341. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/worker/worker.h +183 -0
  342. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/worker/worker.meta.ttl +82 -0
  343. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/lv2/lv2/worker/worker.ttl +25 -0
  344. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/COPYING +13 -0
  345. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/serd/serd.h +1059 -0
  346. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/.clang-tidy +18 -0
  347. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/attributes.h +26 -0
  348. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/base64.c +132 -0
  349. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/base64.h +48 -0
  350. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/byte_sink.h +98 -0
  351. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/byte_source.c +112 -0
  352. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/byte_source.h +120 -0
  353. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/env.c +256 -0
  354. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/n3.c +1720 -0
  355. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/node.c +393 -0
  356. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/node.h +48 -0
  357. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/reader.c +425 -0
  358. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/reader.h +196 -0
  359. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/serd_config.h +98 -0
  360. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/serd_internal.h +46 -0
  361. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/serdi.c +377 -0
  362. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/stack.h +119 -0
  363. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/string.c +179 -0
  364. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/string_utils.h +173 -0
  365. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/system.c +82 -0
  366. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/system.h +40 -0
  367. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/uri.c +506 -0
  368. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/uri_utils.h +110 -0
  369. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd/src/writer.c +1114 -0
  370. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/serd_config.h +42 -0
  371. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/COPYING +13 -0
  372. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/sord/sord.h +642 -0
  373. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/sord/sordmm.hpp +720 -0
  374. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sord.c +1368 -0
  375. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sord_config.h +61 -0
  376. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sord_internal.h +53 -0
  377. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sord_test.c +767 -0
  378. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sord_validate.c +804 -0
  379. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sordi.c +216 -0
  380. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/sordmm_test.cpp +25 -0
  381. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/syntax.c +203 -0
  382. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/btree.c +936 -0
  383. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/btree.h +187 -0
  384. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/common.h +138 -0
  385. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/digest.c +141 -0
  386. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/digest.h +67 -0
  387. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/hash.c +230 -0
  388. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord/src/zix/hash.h +138 -0
  389. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sord_config.h +42 -0
  390. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sratom/COPYING +13 -0
  391. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sratom/sratom/sratom.h +220 -0
  392. package/ios/juce_modules/juce_audio_processors/format_types/LV2_SDK/sratom/src/sratom.c +919 -0
  393. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/VST3_License_Agreement.pdf +0 -0
  394. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/VST3_Usage_Guidelines.pdf +0 -0
  395. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/baseiids.cpp +52 -0
  396. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/classfactoryhelpers.h +87 -0
  397. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fbuffer.cpp +641 -0
  398. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fbuffer.h +306 -0
  399. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fcommandline.h +392 -0
  400. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fdebug.cpp +340 -0
  401. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fdebug.h +246 -0
  402. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fobject.cpp +271 -0
  403. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fobject.h +577 -0
  404. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstreamer.cpp +756 -0
  405. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstreamer.h +242 -0
  406. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.cpp +3962 -0
  407. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.h +767 -0
  408. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/updatehandler.cpp +737 -0
  409. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/source/updatehandler.h +150 -0
  410. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/thread/include/flock.h +184 -0
  411. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/base/thread/source/flock.cpp +146 -0
  412. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/helper.manifest +10 -0
  413. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/conststringtable.cpp +106 -0
  414. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/conststringtable.h +44 -0
  415. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/coreiids.cpp +40 -0
  416. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpop.h +25 -0
  417. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/falignpush.h +40 -0
  418. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fplatform.h +333 -0
  419. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fstrdefs.h +291 -0
  420. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ftypes.h +176 -0
  421. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.cpp +502 -0
  422. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/funknown.h +564 -0
  423. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/futils.h +107 -0
  424. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/fvariant.h +297 -0
  425. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ibstream.h +87 -0
  426. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/icloneable.h +41 -0
  427. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ipersistent.h +160 -0
  428. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ipluginbase.h +520 -0
  429. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/iplugincompatibility.h +122 -0
  430. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/istringresult.h +80 -0
  431. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/iupdatehandler.h +98 -0
  432. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/smartpointer.h +386 -0
  433. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/typesizecheck.h +55 -0
  434. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ustring.cpp +275 -0
  435. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/base/ustring.h +116 -0
  436. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/gui/iplugview.h +287 -0
  437. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/gui/iplugviewcontentscalesupport.h +75 -0
  438. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstattributes.h +150 -0
  439. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstaudioprocessor.h +434 -0
  440. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstautomationstate.h +67 -0
  441. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstchannelcontextinfo.h +238 -0
  442. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstcomponent.h +205 -0
  443. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstcontextmenu.h +219 -0
  444. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstdataexchange.h +221 -0
  445. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivsteditcontroller.h +657 -0
  446. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstevents.h +221 -0
  447. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivsthostapplication.h +163 -0
  448. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstinterappaudio.h +142 -0
  449. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstmessage.h +97 -0
  450. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstmidicontrollers.h +118 -0
  451. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstmidilearn.h +106 -0
  452. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstnoteexpression.h +255 -0
  453. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstparameterchanges.h +145 -0
  454. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstparameterfunctionname.h +151 -0
  455. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstphysicalui.h +169 -0
  456. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstpluginterfacesupport.h +67 -0
  457. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstplugview.h +62 -0
  458. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstprefetchablesupport.h +99 -0
  459. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstprocesscontext.h +153 -0
  460. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstremapparamid.h +75 -0
  461. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstrepresentation.h +364 -0
  462. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivsttestplugprovider.h +109 -0
  463. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/ivstunits.h +271 -0
  464. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/vstpshpack4.h +30 -0
  465. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/vstspeaker.h +1318 -0
  466. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/pluginterfaces/vst/vsttypes.h +157 -0
  467. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/samples/vst-utilities/moduleinfotool/source/main.cpp +441 -0
  468. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/memorystream.cpp +319 -0
  469. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/memorystream.h +79 -0
  470. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/pluginview.cpp +100 -0
  471. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/pluginview.h +116 -0
  472. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/readfile.cpp +81 -0
  473. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/common/readfile.h +54 -0
  474. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/hostclasses.cpp +342 -0
  475. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/hostclasses.h +120 -0
  476. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module.cpp +340 -0
  477. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module.h +214 -0
  478. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module_linux.cpp +369 -0
  479. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module_mac.mm +395 -0
  480. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/module_win32.cpp +647 -0
  481. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/pluginterfacesupport.cpp +134 -0
  482. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/hosting/pluginterfacesupport.h +70 -0
  483. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/json.h +3403 -0
  484. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/jsoncxx.h +427 -0
  485. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfo.h +100 -0
  486. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfocreator.cpp +309 -0
  487. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfocreator.h +67 -0
  488. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfoparser.cpp +537 -0
  489. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/moduleinfo/moduleinfoparser.h +68 -0
  490. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/utility/optional.h +135 -0
  491. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/utility/stringconvert.cpp +148 -0
  492. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/utility/stringconvert.h +147 -0
  493. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/utility/uid.h +286 -0
  494. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstbus.cpp +99 -0
  495. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstbus.h +172 -0
  496. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstcomponent.cpp +216 -0
  497. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstcomponent.h +118 -0
  498. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstcomponentbase.cpp +180 -0
  499. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstcomponentbase.h +110 -0
  500. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vsteditcontroller.cpp +701 -0
  501. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vsteditcontroller.h +374 -0
  502. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstinitiids.cpp +154 -0
  503. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstparameters.cpp +454 -0
  504. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstparameters.h +240 -0
  505. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstpresetfile.cpp +927 -0
  506. package/ios/juce_modules/juce_audio_processors/format_types/VST3_SDK/public.sdk/source/vst/vstpresetfile.h +306 -0
  507. package/ios/juce_modules/juce_audio_processors/format_types/juce_ARACommon.cpp +99 -0
  508. package/ios/juce_modules/juce_audio_processors/format_types/juce_ARACommon.h +98 -0
  509. package/ios/juce_modules/juce_audio_processors/format_types/juce_ARAHosting.cpp +490 -0
  510. package/ios/juce_modules/juce_audio_processors/format_types/juce_ARAHosting.h +786 -0
  511. package/ios/juce_modules/juce_audio_processors/format_types/juce_AU_Shared.h +588 -0
  512. package/ios/juce_modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.h +79 -0
  513. package/ios/juce_modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm +2947 -0
  514. package/ios/juce_modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.cpp +728 -0
  515. package/ios/juce_modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.h +79 -0
  516. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2Common.h +676 -0
  517. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2PluginFormat.cpp +5654 -0
  518. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2PluginFormat.h +87 -0
  519. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2PluginFormat_test.cpp +281 -0
  520. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2Resources.h +10241 -0
  521. package/ios/juce_modules/juce_audio_processors/format_types/juce_LV2SupportLibs.cpp +117 -0
  522. package/ios/juce_modules/juce_audio_processors/format_types/juce_LegacyAudioParameter.cpp +225 -0
  523. package/ios/juce_modules/juce_audio_processors/format_types/juce_VST3Common.h +1851 -0
  524. package/ios/juce_modules/juce_audio_processors/format_types/juce_VST3Headers.h +280 -0
  525. package/ios/juce_modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +4086 -0
  526. package/ios/juce_modules/juce_audio_processors/format_types/juce_VST3PluginFormat.h +95 -0
  527. package/ios/juce_modules/juce_audio_processors/format_types/juce_VST3PluginFormat_test.cpp +740 -0
  528. package/ios/juce_modules/juce_audio_processors/format_types/juce_VSTCommon.h +315 -0
  529. package/ios/juce_modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h +229 -0
  530. package/ios/juce_modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +3764 -0
  531. package/ios/juce_modules/juce_audio_processors/format_types/juce_VSTPluginFormat.h +141 -0
  532. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipslcontextinfo.h +190 -0
  533. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipsleditcontroller.h +108 -0
  534. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipslgainreduction.h +53 -0
  535. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipslhostcommands.h +121 -0
  536. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipslviewembedding.h +53 -0
  537. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/ipslviewscaling.h +67 -0
  538. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/pslauextensions.h +57 -0
  539. package/ios/juce_modules/juce_audio_processors/format_types/pslextensions/pslvst2extensions.h +111 -0
  540. package/ios/juce_modules/juce_audio_processors/juce_audio_processors.cpp +246 -0
  541. package/ios/juce_modules/juce_audio_processors/juce_audio_processors.h +195 -0
  542. package/ios/juce_modules/juce_audio_processors/juce_audio_processors.mm +35 -0
  543. package/ios/juce_modules/juce_audio_processors/juce_audio_processors_ara.cpp +51 -0
  544. package/ios/juce_modules/juce_audio_processors/juce_audio_processors_lv2_libs.cpp +44 -0
  545. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioPluginInstance.cpp +294 -0
  546. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioPluginInstance.h +191 -0
  547. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessor.cpp +1655 -0
  548. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessor.h +1587 -0
  549. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorEditor.cpp +230 -0
  550. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h +272 -0
  551. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorEditorHostContext.h +98 -0
  552. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp +2375 -0
  553. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h +453 -0
  554. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorListener.h +198 -0
  555. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorParameter.h +370 -0
  556. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorParameterGroup.cpp +330 -0
  557. package/ios/juce_modules/juce_audio_processors/processors/juce_AudioProcessorParameterGroup.h +263 -0
  558. package/ios/juce_modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.cpp +633 -0
  559. package/ios/juce_modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.h +74 -0
  560. package/ios/juce_modules/juce_audio_processors/processors/juce_HostedAudioProcessorParameter.h +61 -0
  561. package/ios/juce_modules/juce_audio_processors/processors/juce_PluginDescription.cpp +126 -0
  562. package/ios/juce_modules/juce_audio_processors/processors/juce_PluginDescription.h +189 -0
  563. package/ios/juce_modules/juce_audio_processors/scanning/juce_KnownPluginList.cpp +651 -0
  564. package/ios/juce_modules/juce_audio_processors/scanning/juce_KnownPluginList.h +249 -0
  565. package/ios/juce_modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.cpp +148 -0
  566. package/ios/juce_modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.h +147 -0
  567. package/ios/juce_modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp +690 -0
  568. package/ios/juce_modules/juce_audio_processors/scanning/juce_PluginListComponent.h +156 -0
  569. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARADebug.h +76 -0
  570. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARADocumentController.cpp +985 -0
  571. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARADocumentController.h +538 -0
  572. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARADocumentControllerCommon.cpp +80 -0
  573. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARAModelObjects.cpp +302 -0
  574. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARAModelObjects.h +983 -0
  575. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARAPlugInInstanceRoles.cpp +123 -0
  576. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARAPlugInInstanceRoles.h +263 -0
  577. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARA_utils.cpp +65 -0
  578. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_ARA_utils.h +95 -0
  579. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_AudioProcessor_ARAExtensions.cpp +163 -0
  580. package/ios/juce_modules/juce_audio_processors/utilities/ARA/juce_AudioProcessor_ARAExtensions.h +213 -0
  581. package/ios/juce_modules/juce_audio_processors/utilities/juce_AAXClientExtensions.cpp +308 -0
  582. package/ios/juce_modules/juce_audio_processors/utilities/juce_AAXClientExtensions.h +92 -0
  583. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterBool.cpp +104 -0
  584. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterBool.h +149 -0
  585. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterChoice.cpp +145 -0
  586. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterChoice.h +162 -0
  587. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterFloat.cpp +113 -0
  588. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterFloat.h +169 -0
  589. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterInt.cpp +146 -0
  590. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioParameterInt.h +163 -0
  591. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioProcessorParameterWithID.cpp +56 -0
  592. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioProcessorParameterWithID.h +200 -0
  593. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp +997 -0
  594. package/ios/juce_modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h +669 -0
  595. package/ios/juce_modules/juce_audio_processors/utilities/juce_ExtensionsVisitor.h +155 -0
  596. package/ios/juce_modules/juce_audio_processors/utilities/juce_FlagCache.h +191 -0
  597. package/ios/juce_modules/juce_audio_processors/utilities/juce_ParameterAttachments.cpp +442 -0
  598. package/ios/juce_modules/juce_audio_processors/utilities/juce_ParameterAttachments.h +400 -0
  599. package/ios/juce_modules/juce_audio_processors/utilities/juce_PluginHostType.cpp +328 -0
  600. package/ios/juce_modules/juce_audio_processors/utilities/juce_PluginHostType.h +265 -0
  601. package/ios/juce_modules/juce_audio_processors/utilities/juce_RangedAudioParameter.cpp +60 -0
  602. package/ios/juce_modules/juce_audio_processors/utilities/juce_RangedAudioParameter.h +129 -0
  603. package/ios/juce_modules/juce_audio_processors/utilities/juce_VST2ClientExtensions.cpp +48 -0
  604. package/ios/juce_modules/juce_audio_processors/utilities/juce_VST2ClientExtensions.h +83 -0
  605. package/ios/juce_modules/juce_audio_processors/utilities/juce_VST3ClientExtensions.h +119 -0
  606. package/ios/juce_modules/juce_core/native/juce_BasicNativeHeaders.h +6 -1
  607. package/ios/juce_modules/juce_graphics/colour/juce_Colour.cpp +726 -0
  608. package/ios/juce_modules/juce_graphics/colour/juce_Colour.h +429 -0
  609. package/ios/juce_modules/juce_graphics/colour/juce_ColourGradient.cpp +294 -0
  610. package/ios/juce_modules/juce_graphics/colour/juce_ColourGradient.h +255 -0
  611. package/ios/juce_modules/juce_graphics/colour/juce_Colours.cpp +205 -0
  612. package/ios/juce_modules/juce_graphics/colour/juce_Colours.h +200 -0
  613. package/ios/juce_modules/juce_graphics/colour/juce_FillType.cpp +166 -0
  614. package/ios/juce_modules/juce_graphics/colour/juce_FillType.h +165 -0
  615. package/ios/juce_modules/juce_graphics/colour/juce_PixelFormats.h +749 -0
  616. package/ios/juce_modules/juce_graphics/contexts/juce_GraphicsContext.cpp +857 -0
  617. package/ios/juce_modules/juce_graphics/contexts/juce_GraphicsContext.h +758 -0
  618. package/ios/juce_modules/juce_graphics/contexts/juce_LowLevelGraphicsContext.h +186 -0
  619. package/ios/juce_modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.cpp +59 -0
  620. package/ios/juce_modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h +66 -0
  621. package/ios/juce_modules/juce_graphics/detail/juce_Ranges.cpp +793 -0
  622. package/ios/juce_modules/juce_graphics/detail/juce_Ranges.h +1014 -0
  623. package/ios/juce_modules/juce_graphics/effects/juce_DropShadowEffect.cpp +152 -0
  624. package/ios/juce_modules/juce_graphics/effects/juce_DropShadowEffect.h +122 -0
  625. package/ios/juce_modules/juce_graphics/effects/juce_GlowEffect.cpp +59 -0
  626. package/ios/juce_modules/juce_graphics/effects/juce_GlowEffect.h +86 -0
  627. package/ios/juce_modules/juce_graphics/effects/juce_ImageEffectFilter.h +80 -0
  628. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/CBDT/CBDT.hh +1031 -0
  629. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/COLR/COLR.hh +2745 -0
  630. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/COLR/colrv1-closure.hh +137 -0
  631. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/CPAL/CPAL.hh +358 -0
  632. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/sbix/sbix.hh +448 -0
  633. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Color/svg/svg.hh +152 -0
  634. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/Common/Coverage.hh +352 -0
  635. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/Common/CoverageFormat1.hh +133 -0
  636. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/Common/CoverageFormat2.hh +239 -0
  637. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/Common/RangeRecord.hh +97 -0
  638. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GDEF/GDEF.hh +1044 -0
  639. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/Anchor.hh +84 -0
  640. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/AnchorFormat1.hh +46 -0
  641. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/AnchorFormat2.hh +58 -0
  642. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/AnchorFormat3.hh +120 -0
  643. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/AnchorMatrix.hh +87 -0
  644. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/ChainContextPos.hh +14 -0
  645. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/Common.hh +33 -0
  646. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/ContextPos.hh +14 -0
  647. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/CursivePos.hh +35 -0
  648. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/CursivePosFormat1.hh +311 -0
  649. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/ExtensionPos.hh +17 -0
  650. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/GPOS.hh +171 -0
  651. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/LigatureArray.hh +57 -0
  652. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkArray.hh +128 -0
  653. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkBasePos.hh +41 -0
  654. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkBasePosFormat1.hh +243 -0
  655. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkLigPos.hh +41 -0
  656. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkLigPosFormat1.hh +224 -0
  657. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkMarkPos.hh +42 -0
  658. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkMarkPosFormat1.hh +231 -0
  659. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/MarkRecord.hh +51 -0
  660. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PairPos.hh +46 -0
  661. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PairPosFormat1.hh +233 -0
  662. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PairPosFormat2.hh +365 -0
  663. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PairSet.hh +210 -0
  664. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PairValueRecord.hh +99 -0
  665. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PosLookup.hh +79 -0
  666. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/PosLookupSubTable.hh +79 -0
  667. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/SinglePos.hh +98 -0
  668. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/SinglePosFormat1.hh +190 -0
  669. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/SinglePosFormat2.hh +213 -0
  670. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GPOS/ValueFormat.hh +441 -0
  671. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/AlternateSet.hh +126 -0
  672. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/AlternateSubst.hh +62 -0
  673. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/AlternateSubstFormat1.hh +128 -0
  674. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/ChainContextSubst.hh +18 -0
  675. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/Common.hh +19 -0
  676. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/ContextSubst.hh +18 -0
  677. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/ExtensionSubst.hh +22 -0
  678. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/GSUB.hh +61 -0
  679. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/Ligature.hh +203 -0
  680. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/LigatureSet.hh +188 -0
  681. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/LigatureSubst.hh +71 -0
  682. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/LigatureSubstFormat1.hh +166 -0
  683. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/MultipleSubst.hh +62 -0
  684. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/MultipleSubstFormat1.hh +130 -0
  685. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/ReverseChainSingleSubst.hh +36 -0
  686. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/ReverseChainSingleSubstFormat1.hh +245 -0
  687. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/Sequence.hh +165 -0
  688. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/SingleSubst.hh +103 -0
  689. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/SingleSubstFormat1.hh +204 -0
  690. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/SingleSubstFormat2.hh +176 -0
  691. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/SubstLookup.hh +220 -0
  692. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/GSUB/SubstLookupSubTable.hh +77 -0
  693. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Layout/types.hh +66 -0
  694. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Var/VARC/VARC.cc +346 -0
  695. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Var/VARC/VARC.hh +193 -0
  696. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/Var/VARC/coord-setter.hh +37 -0
  697. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/CompositeGlyph.hh +435 -0
  698. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/Glyph.hh +556 -0
  699. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/GlyphHeader.hh +52 -0
  700. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/SimpleGlyph.hh +348 -0
  701. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/SubsetGlyph.hh +141 -0
  702. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/composite-iter.hh +68 -0
  703. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/glyf-helpers.hh +127 -0
  704. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/glyf.hh +513 -0
  705. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/loca.hh +43 -0
  706. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/glyf/path-builder.hh +190 -0
  707. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/OT/name/name.hh +589 -0
  708. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/failing-alloc.c +65 -0
  709. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/harfbuzz-subset.cc +64 -0
  710. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/harfbuzz.cc +63 -0
  711. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-ankr-table.hh +99 -0
  712. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-bsln-table.hh +159 -0
  713. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-common.hh +1076 -0
  714. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-feat-table.hh +224 -0
  715. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-just-table.hh +420 -0
  716. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-kerx-table.hh +1191 -0
  717. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-morx-table.hh +1443 -0
  718. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-opbd-table.hh +174 -0
  719. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout-trak-table.hh +232 -0
  720. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout.cc +449 -0
  721. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout.h +795 -0
  722. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-layout.hh +77 -0
  723. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-ltag-table.hh +95 -0
  724. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-map.cc +172 -0
  725. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat-map.hh +123 -0
  726. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-aat.h +38 -0
  727. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-algs.hh +1558 -0
  728. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-array.hh +504 -0
  729. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-atomic.hh +228 -0
  730. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-bimap.hh +205 -0
  731. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-bit-page.hh +352 -0
  732. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-bit-set-invertible.hh +379 -0
  733. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-bit-set.hh +982 -0
  734. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-blob.cc +794 -0
  735. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-blob.h +160 -0
  736. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-blob.hh +98 -0
  737. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer-deserialize-json.hh +795 -0
  738. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer-deserialize-text-glyphs.hh +692 -0
  739. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer-deserialize-text-unicode.hh +332 -0
  740. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer-serialize.cc +872 -0
  741. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer-verify.cc +423 -0
  742. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer.cc +2266 -0
  743. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer.h +805 -0
  744. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-buffer.hh +682 -0
  745. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cache.hh +99 -0
  746. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cff-interp-common.hh +642 -0
  747. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cff-interp-cs-common.hh +905 -0
  748. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cff-interp-dict-common.hh +201 -0
  749. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cff1-interp-cs.hh +160 -0
  750. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cff2-interp-cs.hh +278 -0
  751. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-common.cc +1220 -0
  752. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-common.h +935 -0
  753. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-config.hh +212 -0
  754. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-coretext.cc +1197 -0
  755. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-coretext.h +96 -0
  756. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-cplusplus.hh +220 -0
  757. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-debug.hh +491 -0
  758. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-deprecated.h +318 -0
  759. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-directwrite.cc +884 -0
  760. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-directwrite.h +40 -0
  761. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-dispatch.hh +60 -0
  762. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-draw.cc +458 -0
  763. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-draw.h +340 -0
  764. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-draw.hh +243 -0
  765. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-face-builder.cc +246 -0
  766. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-face.cc +664 -0
  767. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-face.h +187 -0
  768. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-face.hh +111 -0
  769. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-fallback-shape.cc +115 -0
  770. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-font.cc +3069 -0
  771. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-font.h +1153 -0
  772. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-font.hh +720 -0
  773. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ft-colr.hh +601 -0
  774. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ft.cc +1500 -0
  775. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ft.h +145 -0
  776. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-gdi.cc +85 -0
  777. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-gdi.h +39 -0
  778. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-geometry.hh +284 -0
  779. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-glib.cc +232 -0
  780. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-glib.h +56 -0
  781. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-gobject-structs.cc +116 -0
  782. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-gobject-structs.h +136 -0
  783. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-gobject.h +40 -0
  784. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-graphite2.cc +455 -0
  785. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-graphite2.h +61 -0
  786. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-icu.cc +291 -0
  787. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-icu.h +52 -0
  788. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-iter.hh +1037 -0
  789. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-kern.hh +145 -0
  790. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-limits.hh +112 -0
  791. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-machinery.hh +332 -0
  792. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-map.cc +419 -0
  793. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-map.h +143 -0
  794. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-map.hh +568 -0
  795. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-meta.hh +238 -0
  796. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ms-feature-ranges.hh +232 -0
  797. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-multimap.hh +96 -0
  798. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-mutex.hh +122 -0
  799. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-null.hh +226 -0
  800. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-number-parser.hh +237 -0
  801. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-number.cc +79 -0
  802. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-number.hh +41 -0
  803. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-object.hh +357 -0
  804. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-open-file.hh +543 -0
  805. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-open-type.hh +1886 -0
  806. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff-common.hh +374 -0
  807. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff1-std-str.hh +425 -0
  808. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff1-table.cc +620 -0
  809. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff1-table.hh +1539 -0
  810. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff2-table.cc +227 -0
  811. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cff2-table.hh +564 -0
  812. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-cmap-table.hh +2154 -0
  813. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-color.cc +363 -0
  814. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-color.h +155 -0
  815. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-deprecated.h +147 -0
  816. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-face-table-list.hh +155 -0
  817. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-face.cc +60 -0
  818. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-face.hh +77 -0
  819. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-font.cc +662 -0
  820. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-font.h +45 -0
  821. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-gasp-table.hh +84 -0
  822. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-glyf-table.hh +35 -0
  823. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-hdmx-table.hh +177 -0
  824. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-head-table.hh +204 -0
  825. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-hhea-table.hh +106 -0
  826. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-hmtx-table.hh +502 -0
  827. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-kern-table.hh +425 -0
  828. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-base-table.hh +849 -0
  829. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-common.hh +4953 -0
  830. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-gdef-table.hh +34 -0
  831. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-gpos-table.hh +81 -0
  832. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-gsub-table.hh +94 -0
  833. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-gsubgpos.hh +4887 -0
  834. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout-jstf-table.hh +236 -0
  835. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout.cc +2705 -0
  836. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout.h +549 -0
  837. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-layout.hh +611 -0
  838. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-map.cc +394 -0
  839. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-map.hh +298 -0
  840. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-math-table.hh +1132 -0
  841. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-math.cc +338 -0
  842. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-math.h +333 -0
  843. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-maxp-table.hh +156 -0
  844. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-meta-table.hh +131 -0
  845. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-meta.cc +79 -0
  846. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-meta.h +72 -0
  847. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-metrics.cc +436 -0
  848. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-metrics.h +129 -0
  849. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-metrics.hh +35 -0
  850. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-name-language-static.hh +456 -0
  851. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-name-language.hh +40 -0
  852. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-name-table.hh +32 -0
  853. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-name.cc +184 -0
  854. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-name.h +164 -0
  855. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-os2-table.hh +405 -0
  856. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-os2-unicode-ranges.hh +231 -0
  857. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-post-macroman.hh +294 -0
  858. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-post-table-v2subset.hh +142 -0
  859. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-post-table.hh +352 -0
  860. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape-fallback.cc +615 -0
  861. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape-fallback.hh +54 -0
  862. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape-normalize.cc +470 -0
  863. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape-normalize.hh +104 -0
  864. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape.cc +1319 -0
  865. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape.h +53 -0
  866. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shape.hh +171 -0
  867. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic-fallback.hh +383 -0
  868. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic-joining-list.hh +47 -0
  869. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic-pua.hh +118 -0
  870. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic-table.hh +556 -0
  871. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic-win1256.hh +349 -0
  872. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic.cc +774 -0
  873. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-arabic.hh +50 -0
  874. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-default.cc +75 -0
  875. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-hangul.cc +436 -0
  876. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-hebrew.cc +211 -0
  877. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-indic-machine.hh +627 -0
  878. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-indic-table.cc +561 -0
  879. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-indic.cc +1578 -0
  880. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-indic.hh +66 -0
  881. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-khmer-machine.hh +428 -0
  882. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-khmer.cc +387 -0
  883. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-myanmar-machine.hh +553 -0
  884. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-myanmar.cc +390 -0
  885. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-syllabic.cc +112 -0
  886. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-syllabic.hh +47 -0
  887. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-thai.cc +393 -0
  888. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-use-machine.hh +1079 -0
  889. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-use-table.hh +690 -0
  890. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-use.cc +514 -0
  891. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-vowel-constraints.cc +477 -0
  892. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper-vowel-constraints.hh +39 -0
  893. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-shaper.hh +404 -0
  894. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-stat-table.hh +619 -0
  895. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-tag-table.hh +3009 -0
  896. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-tag.cc +658 -0
  897. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-avar-table.hh +411 -0
  898. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-common.hh +1985 -0
  899. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-cvar-table.hh +220 -0
  900. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-fvar-table.hh +505 -0
  901. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-gvar-table.hh +890 -0
  902. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-hvar-table.hh +478 -0
  903. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-mvar-table.hh +184 -0
  904. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var-varc-table.hh +32 -0
  905. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var.cc +328 -0
  906. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-var.h +191 -0
  907. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot-vorg-table.hh +137 -0
  908. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ot.h +49 -0
  909. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-outline.cc +321 -0
  910. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-outline.hh +83 -0
  911. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-paint-extents.cc +330 -0
  912. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-paint-extents.hh +132 -0
  913. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-paint.cc +728 -0
  914. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-paint.h +1029 -0
  915. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-paint.hh +236 -0
  916. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-pool.hh +107 -0
  917. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-priority-queue.hh +174 -0
  918. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-repacker.hh +476 -0
  919. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-sanitize.hh +530 -0
  920. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-serialize.hh +832 -0
  921. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-set-digest.hh +227 -0
  922. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-set.cc +673 -0
  923. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-set.h +203 -0
  924. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-set.hh +186 -0
  925. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shape-plan.cc +581 -0
  926. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shape-plan.h +122 -0
  927. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shape-plan.hh +77 -0
  928. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shape.cc +445 -0
  929. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shape.h +74 -0
  930. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shaper-impl.hh +38 -0
  931. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shaper-list.hh +65 -0
  932. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shaper.cc +102 -0
  933. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-shaper.hh +134 -0
  934. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-static.cc +138 -0
  935. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-string-array.hh +85 -0
  936. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-style.cc +134 -0
  937. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-style.h +81 -0
  938. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-accelerator.hh +141 -0
  939. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-cff-common.cc +231 -0
  940. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-cff-common.hh +1228 -0
  941. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-cff1.cc +1001 -0
  942. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-cff2.cc +679 -0
  943. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-input.cc +748 -0
  944. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-input.hh +155 -0
  945. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-instancer-iup.cc +532 -0
  946. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-instancer-iup.hh +37 -0
  947. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-instancer-solver.cc +434 -0
  948. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-instancer-solver.hh +114 -0
  949. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-plan-member-list.hh +164 -0
  950. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-plan.cc +1570 -0
  951. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-plan.hh +302 -0
  952. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-repacker.cc +58 -0
  953. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset-repacker.h +81 -0
  954. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset.cc +704 -0
  955. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset.h +260 -0
  956. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-subset.hh +74 -0
  957. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ucd-table.hh +5637 -0
  958. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-ucd.cc +258 -0
  959. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-unicode-emoji-table.hh +79 -0
  960. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-unicode.cc +625 -0
  961. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-unicode.h +643 -0
  962. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-unicode.hh +403 -0
  963. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-uniscribe.cc +889 -0
  964. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-uniscribe.h +46 -0
  965. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-utf.hh +481 -0
  966. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-vector.hh +539 -0
  967. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-version.h +95 -0
  968. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-blob.hh +50 -0
  969. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-buffer.hh +217 -0
  970. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-common.hh +44 -0
  971. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-face.hh +109 -0
  972. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-font.hh +263 -0
  973. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-list.hh +109 -0
  974. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api-shape.hh +70 -0
  975. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api.cc +46 -0
  976. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api.h +322 -0
  977. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-api.hh +117 -0
  978. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb-wasm-shape.cc +470 -0
  979. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb.h +51 -0
  980. package/ios/juce_modules/juce_graphics/fonts/harfbuzz/hb.hh +555 -0
  981. package/ios/juce_modules/juce_graphics/fonts/juce_AttributedString.cpp +288 -0
  982. package/ios/juce_modules/juce_graphics/fonts/juce_AttributedString.h +219 -0
  983. package/ios/juce_modules/juce_graphics/fonts/juce_Font.cpp +1036 -0
  984. package/ios/juce_modules/juce_graphics/fonts/juce_Font.h +571 -0
  985. package/ios/juce_modules/juce_graphics/fonts/juce_FontOptions.cpp +111 -0
  986. package/ios/juce_modules/juce_graphics/fonts/juce_FontOptions.h +218 -0
  987. package/ios/juce_modules/juce_graphics/fonts/juce_FunctionPointerDestructor.h +53 -0
  988. package/ios/juce_modules/juce_graphics/fonts/juce_GlyphArrangement.cpp +657 -0
  989. package/ios/juce_modules/juce_graphics/fonts/juce_GlyphArrangement.h +324 -0
  990. package/ios/juce_modules/juce_graphics/fonts/juce_JustifiedText.cpp +580 -0
  991. package/ios/juce_modules/juce_graphics/fonts/juce_LruCache.h +88 -0
  992. package/ios/juce_modules/juce_graphics/fonts/juce_ShapedText.cpp +210 -0
  993. package/ios/juce_modules/juce_graphics/fonts/juce_SimpleShapedText.cpp +1279 -0
  994. package/ios/juce_modules/juce_graphics/fonts/juce_TextLayout.cpp +512 -0
  995. package/ios/juce_modules/juce_graphics/fonts/juce_TextLayout.h +278 -0
  996. package/ios/juce_modules/juce_graphics/fonts/juce_Typeface.cpp +983 -0
  997. package/ios/juce_modules/juce_graphics/fonts/juce_Typeface.h +396 -0
  998. package/ios/juce_modules/juce_graphics/fonts/juce_TypefaceFileCache.h +74 -0
  999. package/ios/juce_modules/juce_graphics/fonts/juce_TypefaceTestData.cpp +6051 -0
  1000. package/ios/juce_modules/juce_graphics/geometry/juce_AffineTransform.cpp +307 -0
  1001. package/ios/juce_modules/juce_graphics/geometry/juce_AffineTransform.h +314 -0
  1002. package/ios/juce_modules/juce_graphics/geometry/juce_BorderSize.h +176 -0
  1003. package/ios/juce_modules/juce_graphics/geometry/juce_EdgeTable.cpp +848 -0
  1004. package/ios/juce_modules/juce_graphics/geometry/juce_EdgeTable.h +225 -0
  1005. package/ios/juce_modules/juce_graphics/geometry/juce_Line.h +454 -0
  1006. package/ios/juce_modules/juce_graphics/geometry/juce_Parallelogram.h +194 -0
  1007. package/ios/juce_modules/juce_graphics/geometry/juce_Parallelogram_test.cpp +75 -0
  1008. package/ios/juce_modules/juce_graphics/geometry/juce_Path.cpp +1531 -0
  1009. package/ios/juce_modules/juce_graphics/geometry/juce_Path.h +846 -0
  1010. package/ios/juce_modules/juce_graphics/geometry/juce_PathIterator.cpp +304 -0
  1011. package/ios/juce_modules/juce_graphics/geometry/juce_PathIterator.h +120 -0
  1012. package/ios/juce_modules/juce_graphics/geometry/juce_PathStrokeType.cpp +756 -0
  1013. package/ios/juce_modules/juce_graphics/geometry/juce_PathStrokeType.h +215 -0
  1014. package/ios/juce_modules/juce_graphics/geometry/juce_Point.h +269 -0
  1015. package/ios/juce_modules/juce_graphics/geometry/juce_Rectangle.h +1032 -0
  1016. package/ios/juce_modules/juce_graphics/geometry/juce_RectangleList.h +694 -0
  1017. package/ios/juce_modules/juce_graphics/geometry/juce_Rectangle_test.cpp +60 -0
  1018. package/ios/juce_modules/juce_graphics/image_formats/jpglib/README +385 -0
  1019. package/ios/juce_modules/juce_graphics/image_formats/jpglib/cderror.h +132 -0
  1020. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcapimin.c +280 -0
  1021. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcapistd.c +161 -0
  1022. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jccoefct.c +449 -0
  1023. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jccolor.c +459 -0
  1024. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcdctmgr.c +387 -0
  1025. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jchuff.c +909 -0
  1026. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jchuff.h +52 -0
  1027. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcinit.c +72 -0
  1028. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcmainct.c +293 -0
  1029. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcmarker.c +597 -0
  1030. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcmaster.c +590 -0
  1031. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcomapi.c +106 -0
  1032. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jconfig.h +59 -0
  1033. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcparam.c +610 -0
  1034. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcphuff.c +833 -0
  1035. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcprepct.c +354 -0
  1036. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jcsample.c +519 -0
  1037. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jctrans.c +388 -0
  1038. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdapimin.c +395 -0
  1039. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdapistd.c +275 -0
  1040. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdatasrc.c +212 -0
  1041. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdcoefct.c +736 -0
  1042. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdcolor.c +396 -0
  1043. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdct.h +182 -0
  1044. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jddctmgr.c +269 -0
  1045. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdhuff.c +625 -0
  1046. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdhuff.h +206 -0
  1047. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdinput.c +381 -0
  1048. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdmainct.c +512 -0
  1049. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdmarker.c +1292 -0
  1050. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdmaster.c +557 -0
  1051. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdmerge.c +400 -0
  1052. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdphuff.c +642 -0
  1053. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdpostct.c +290 -0
  1054. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdsample.c +478 -0
  1055. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jdtrans.c +143 -0
  1056. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jerror.c +252 -0
  1057. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jerror.h +291 -0
  1058. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jfdctflt.c +168 -0
  1059. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jfdctfst.c +224 -0
  1060. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jfdctint.c +283 -0
  1061. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jidctflt.c +242 -0
  1062. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jidctfst.c +368 -0
  1063. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jidctint.c +389 -0
  1064. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jidctred.c +398 -0
  1065. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jinclude.h +197 -0
  1066. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jmemmgr.c +1118 -0
  1067. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jmemnobs.c +109 -0
  1068. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jmemsys.h +203 -0
  1069. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jmorecfg.h +363 -0
  1070. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jpegint.h +392 -0
  1071. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jpeglib.h +1096 -0
  1072. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jquant1.c +856 -0
  1073. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jquant2.c +1310 -0
  1074. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jutils.c +179 -0
  1075. package/ios/juce_modules/juce_graphics/image_formats/jpglib/jversion.h +14 -0
  1076. package/ios/juce_modules/juce_graphics/image_formats/jpglib/transupp.c +928 -0
  1077. package/ios/juce_modules/juce_graphics/image_formats/jpglib/transupp.h +135 -0
  1078. package/ios/juce_modules/juce_graphics/image_formats/juce_GIFLoader.cpp +464 -0
  1079. package/ios/juce_modules/juce_graphics/image_formats/juce_JPEGLoader.cpp +456 -0
  1080. package/ios/juce_modules/juce_graphics/image_formats/juce_PNGLoader.cpp +635 -0
  1081. package/ios/juce_modules/juce_graphics/image_formats/pnglib/png.c +4607 -0
  1082. package/ios/juce_modules/juce_graphics/image_formats/pnglib/png.h +3251 -0
  1083. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngconf.h +623 -0
  1084. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngdebug.h +153 -0
  1085. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngerror.c +963 -0
  1086. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngget.c +1249 -0
  1087. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pnginfo.h +267 -0
  1088. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngmem.c +284 -0
  1089. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngpread.c +1096 -0
  1090. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngpriv.h +2156 -0
  1091. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngread.c +4225 -0
  1092. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngrio.c +120 -0
  1093. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngrtran.c +5102 -0
  1094. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngrutil.c +4681 -0
  1095. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngset.c +1802 -0
  1096. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngstruct.h +491 -0
  1097. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngtrans.c +864 -0
  1098. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngwio.c +168 -0
  1099. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngwrite.c +2395 -0
  1100. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngwtran.c +587 -0
  1101. package/ios/juce_modules/juce_graphics/image_formats/pnglib/pngwutil.c +2781 -0
  1102. package/ios/juce_modules/juce_graphics/images/juce_Image.cpp +851 -0
  1103. package/ios/juce_modules/juce_graphics/images/juce_Image.h +630 -0
  1104. package/ios/juce_modules/juce_graphics/images/juce_ImageCache.cpp +183 -0
  1105. package/ios/juce_modules/juce_graphics/images/juce_ImageCache.h +136 -0
  1106. package/ios/juce_modules/juce_graphics/images/juce_ImageConvolutionKernel.cpp +209 -0
  1107. package/ios/juce_modules/juce_graphics/images/juce_ImageConvolutionKernel.h +121 -0
  1108. package/ios/juce_modules/juce_graphics/images/juce_ImageFileFormat.cpp +120 -0
  1109. package/ios/juce_modules/juce_graphics/images/juce_ImageFileFormat.h +232 -0
  1110. package/ios/juce_modules/juce_graphics/images/juce_ScaledImage.h +93 -0
  1111. package/ios/juce_modules/juce_graphics/juce_graphics.cpp +230 -0
  1112. package/ios/juce_modules/juce_graphics/juce_graphics.h +162 -0
  1113. package/ios/juce_modules/juce_graphics/juce_graphics.mm +35 -0
  1114. package/ios/juce_modules/juce_graphics/juce_graphics_Harfbuzz.cpp +100 -0
  1115. package/ios/juce_modules/juce_graphics/native/juce_CoreGraphicsContext_mac.h +153 -0
  1116. package/ios/juce_modules/juce_graphics/native/juce_CoreGraphicsContext_mac.mm +969 -0
  1117. package/ios/juce_modules/juce_graphics/native/juce_CoreGraphicsHelpers_mac.h +117 -0
  1118. package/ios/juce_modules/juce_graphics/native/juce_Direct2DGraphicsContext_windows.cpp +1807 -0
  1119. package/ios/juce_modules/juce_graphics/native/juce_Direct2DGraphicsContext_windows.h +174 -0
  1120. package/ios/juce_modules/juce_graphics/native/juce_Direct2DHelpers_windows.cpp +456 -0
  1121. package/ios/juce_modules/juce_graphics/native/juce_Direct2DHwndContext_windows.cpp +784 -0
  1122. package/ios/juce_modules/juce_graphics/native/juce_Direct2DHwndContext_windows.h +73 -0
  1123. package/ios/juce_modules/juce_graphics/native/juce_Direct2DImageContext_windows.cpp +124 -0
  1124. package/ios/juce_modules/juce_graphics/native/juce_Direct2DImageContext_windows.h +55 -0
  1125. package/ios/juce_modules/juce_graphics/native/juce_Direct2DImage_windows.cpp +732 -0
  1126. package/ios/juce_modules/juce_graphics/native/juce_Direct2DImage_windows.h +94 -0
  1127. package/ios/juce_modules/juce_graphics/native/juce_Direct2DMetrics_windows.cpp +132 -0
  1128. package/ios/juce_modules/juce_graphics/native/juce_Direct2DMetrics_windows.h +320 -0
  1129. package/ios/juce_modules/juce_graphics/native/juce_Direct2DResources_windows.cpp +661 -0
  1130. package/ios/juce_modules/juce_graphics/native/juce_DirectWriteTypeface_windows.cpp +920 -0
  1131. package/ios/juce_modules/juce_graphics/native/juce_DirectX_windows.h +330 -0
  1132. package/ios/juce_modules/juce_graphics/native/juce_EventTracing.h +310 -0
  1133. package/ios/juce_modules/juce_graphics/native/juce_Fonts_android.cpp +636 -0
  1134. package/ios/juce_modules/juce_graphics/native/juce_Fonts_freetype.cpp +589 -0
  1135. package/ios/juce_modules/juce_graphics/native/juce_Fonts_linux.cpp +208 -0
  1136. package/ios/juce_modules/juce_graphics/native/juce_Fonts_mac.mm +416 -0
  1137. package/ios/juce_modules/juce_graphics/native/juce_GraphicsContext_android.cpp +43 -0
  1138. package/ios/juce_modules/juce_graphics/native/juce_IconHelpers_android.cpp +39 -0
  1139. package/ios/juce_modules/juce_graphics/native/juce_IconHelpers_linux.cpp +39 -0
  1140. package/ios/juce_modules/juce_graphics/native/juce_IconHelpers_mac.cpp +150 -0
  1141. package/ios/juce_modules/juce_graphics/native/juce_IconHelpers_windows.cpp +39 -0
  1142. package/ios/juce_modules/juce_graphics/native/juce_RenderingHelpers.h +2696 -0
  1143. package/ios/juce_modules/juce_graphics/placement/juce_Justification.h +196 -0
  1144. package/ios/juce_modules/juce_graphics/placement/juce_RectanglePlacement.cpp +131 -0
  1145. package/ios/juce_modules/juce_graphics/placement/juce_RectanglePlacement.h +183 -0
  1146. package/ios/juce_modules/juce_graphics/unicode/juce_Unicode.cpp +331 -0
  1147. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeBidi.cpp +1139 -0
  1148. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeBrackets.cpp +142 -0
  1149. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeGenerated.cpp +1380 -0
  1150. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeLine.cpp +273 -0
  1151. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeScript.cpp +235 -0
  1152. package/ios/juce_modules/juce_graphics/unicode/juce_UnicodeUtils.cpp +104 -0
  1153. package/ios/juce_modules/juce_gui_basics/accessibility/enums/juce_AccessibilityActions.h +128 -0
  1154. package/ios/juce_modules/juce_gui_basics/accessibility/enums/juce_AccessibilityEvent.h +90 -0
  1155. package/ios/juce_modules/juce_gui_basics/accessibility/enums/juce_AccessibilityRole.h +80 -0
  1156. package/ios/juce_modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityCellInterface.h +61 -0
  1157. package/ios/juce_modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityTableInterface.h +106 -0
  1158. package/ios/juce_modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityTextInterface.h +93 -0
  1159. package/ios/juce_modules/juce_gui_basics/accessibility/interfaces/juce_AccessibilityValueInterface.h +231 -0
  1160. package/ios/juce_modules/juce_gui_basics/accessibility/juce_AccessibilityHandler.cpp +412 -0
  1161. package/ios/juce_modules/juce_gui_basics/accessibility/juce_AccessibilityHandler.h +354 -0
  1162. package/ios/juce_modules/juce_gui_basics/accessibility/juce_AccessibilityState.h +236 -0
  1163. package/ios/juce_modules/juce_gui_basics/application/juce_Application.cpp +109 -0
  1164. package/ios/juce_modules/juce_gui_basics/application/juce_Application.h +202 -0
  1165. package/ios/juce_modules/juce_gui_basics/buttons/juce_ArrowButton.cpp +60 -0
  1166. package/ios/juce_modules/juce_gui_basics/buttons/juce_ArrowButton.h +74 -0
  1167. package/ios/juce_modules/juce_gui_basics/buttons/juce_Button.cpp +730 -0
  1168. package/ios/juce_modules/juce_gui_basics/buttons/juce_Button.h +559 -0
  1169. package/ios/juce_modules/juce_gui_basics/buttons/juce_DrawableButton.cpp +250 -0
  1170. package/ios/juce_modules/juce_gui_basics/buttons/juce_DrawableButton.h +206 -0
  1171. package/ios/juce_modules/juce_gui_basics/buttons/juce_HyperlinkButton.cpp +138 -0
  1172. package/ios/juce_modules/juce_gui_basics/buttons/juce_HyperlinkButton.h +139 -0
  1173. package/ios/juce_modules/juce_gui_basics/buttons/juce_ImageButton.cpp +207 -0
  1174. package/ios/juce_modules/juce_gui_basics/buttons/juce_ImageButton.h +170 -0
  1175. package/ios/juce_modules/juce_gui_basics/buttons/juce_ShapeButton.cpp +146 -0
  1176. package/ios/juce_modules/juce_gui_basics/buttons/juce_ShapeButton.h +135 -0
  1177. package/ios/juce_modules/juce_gui_basics/buttons/juce_TextButton.cpp +86 -0
  1178. package/ios/juce_modules/juce_gui_basics/buttons/juce_TextButton.h +118 -0
  1179. package/ios/juce_modules/juce_gui_basics/buttons/juce_ToggleButton.cpp +74 -0
  1180. package/ios/juce_modules/juce_gui_basics/buttons/juce_ToggleButton.h +102 -0
  1181. package/ios/juce_modules/juce_gui_basics/buttons/juce_ToolbarButton.cpp +122 -0
  1182. package/ios/juce_modules/juce_gui_basics/buttons/juce_ToolbarButton.h +107 -0
  1183. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandID.h +99 -0
  1184. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.cpp +75 -0
  1185. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h +199 -0
  1186. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandManager.cpp +331 -0
  1187. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h +358 -0
  1188. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.cpp +195 -0
  1189. package/ios/juce_modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h +253 -0
  1190. package/ios/juce_modules/juce_gui_basics/commands/juce_KeyPressMappingSet.cpp +427 -0
  1191. package/ios/juce_modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h +253 -0
  1192. package/ios/juce_modules/juce_gui_basics/components/juce_CachedComponentImage.h +81 -0
  1193. package/ios/juce_modules/juce_gui_basics/components/juce_Component.cpp +3013 -0
  1194. package/ios/juce_modules/juce_gui_basics/components/juce_Component.h +2716 -0
  1195. package/ios/juce_modules/juce_gui_basics/components/juce_ComponentListener.cpp +47 -0
  1196. package/ios/juce_modules/juce_gui_basics/components/juce_ComponentListener.h +131 -0
  1197. package/ios/juce_modules/juce_gui_basics/components/juce_ComponentTraverser.h +81 -0
  1198. package/ios/juce_modules/juce_gui_basics/components/juce_FocusTraverser.cpp +283 -0
  1199. package/ios/juce_modules/juce_gui_basics/components/juce_FocusTraverser.h +102 -0
  1200. package/ios/juce_modules/juce_gui_basics/components/juce_ModalComponentManager.cpp +295 -0
  1201. package/ios/juce_modules/juce_gui_basics/components/juce_ModalComponentManager.h +340 -0
  1202. package/ios/juce_modules/juce_gui_basics/desktop/juce_Desktop.cpp +386 -0
  1203. package/ios/juce_modules/juce_gui_basics/desktop/juce_Desktop.h +502 -0
  1204. package/ios/juce_modules/juce_gui_basics/desktop/juce_Displays.cpp +447 -0
  1205. package/ios/juce_modules/juce_gui_basics/desktop/juce_Displays.h +218 -0
  1206. package/ios/juce_modules/juce_gui_basics/detail/juce_AccessibilityHelpers.cpp +42 -0
  1207. package/ios/juce_modules/juce_gui_basics/detail/juce_AccessibilityHelpers.h +79 -0
  1208. package/ios/juce_modules/juce_gui_basics/detail/juce_AlertWindowHelpers.h +124 -0
  1209. package/ios/juce_modules/juce_gui_basics/detail/juce_ButtonAccessibilityHandler.h +134 -0
  1210. package/ios/juce_modules/juce_gui_basics/detail/juce_ComponentHelpers.h +291 -0
  1211. package/ios/juce_modules/juce_gui_basics/detail/juce_CustomMouseCursorInfo.h +44 -0
  1212. package/ios/juce_modules/juce_gui_basics/detail/juce_FocusHelpers.h +126 -0
  1213. package/ios/juce_modules/juce_gui_basics/detail/juce_FocusRestorer.h +55 -0
  1214. package/ios/juce_modules/juce_gui_basics/detail/juce_LookAndFeelHelpers.h +71 -0
  1215. package/ios/juce_modules/juce_gui_basics/detail/juce_MouseInputSourceImpl.h +597 -0
  1216. package/ios/juce_modules/juce_gui_basics/detail/juce_MouseInputSourceList.h +163 -0
  1217. package/ios/juce_modules/juce_gui_basics/detail/juce_PointerState.h +113 -0
  1218. package/ios/juce_modules/juce_gui_basics/detail/juce_ScalingHelpers.h +132 -0
  1219. package/ios/juce_modules/juce_gui_basics/detail/juce_ScopedContentSharerImpl.h +107 -0
  1220. package/ios/juce_modules/juce_gui_basics/detail/juce_ScopedContentSharerInterface.h +224 -0
  1221. package/ios/juce_modules/juce_gui_basics/detail/juce_ScopedMessageBoxImpl.h +141 -0
  1222. package/ios/juce_modules/juce_gui_basics/detail/juce_ScopedMessageBoxInterface.h +69 -0
  1223. package/ios/juce_modules/juce_gui_basics/detail/juce_StandardCachedComponentImage.h +102 -0
  1224. package/ios/juce_modules/juce_gui_basics/detail/juce_ToolbarItemDragAndDropOverlayComponent.h +127 -0
  1225. package/ios/juce_modules/juce_gui_basics/detail/juce_TopLevelWindowManager.h +145 -0
  1226. package/ios/juce_modules/juce_gui_basics/detail/juce_ViewportHelpers.h +58 -0
  1227. package/ios/juce_modules/juce_gui_basics/detail/juce_WindowingHelpers.h +70 -0
  1228. package/ios/juce_modules/juce_gui_basics/drawables/juce_Drawable.cpp +228 -0
  1229. package/ios/juce_modules/juce_gui_basics/drawables/juce_Drawable.h +271 -0
  1230. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableComposite.cpp +173 -0
  1231. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableComposite.h +126 -0
  1232. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableImage.cpp +165 -0
  1233. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableImage.h +126 -0
  1234. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawablePath.cpp +66 -0
  1235. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawablePath.h +86 -0
  1236. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableRectangle.cpp +96 -0
  1237. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableRectangle.h +85 -0
  1238. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableShape.cpp +190 -0
  1239. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableShape.h +135 -0
  1240. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableText.cpp +241 -0
  1241. package/ios/juce_modules/juce_gui_basics/drawables/juce_DrawableText.h +130 -0
  1242. package/ios/juce_modules/juce_gui_basics/drawables/juce_SVGParser.cpp +1903 -0
  1243. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_ContentSharer.cpp +83 -0
  1244. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_ContentSharer.h +154 -0
  1245. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.cpp +79 -0
  1246. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h +125 -0
  1247. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.cpp +279 -0
  1248. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h +235 -0
  1249. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.cpp +633 -0
  1250. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h +306 -0
  1251. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h +67 -0
  1252. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileChooser.cpp +292 -0
  1253. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileChooser.h +358 -0
  1254. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.cpp +272 -0
  1255. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h +177 -0
  1256. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileListComponent.cpp +295 -0
  1257. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileListComponent.h +104 -0
  1258. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h +75 -0
  1259. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.cpp +280 -0
  1260. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h +126 -0
  1261. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.cpp +690 -0
  1262. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h +117 -0
  1263. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FilenameComponent.cpp +277 -0
  1264. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h +245 -0
  1265. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.cpp +135 -0
  1266. package/ios/juce_modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h +77 -0
  1267. package/ios/juce_modules/juce_gui_basics/juce_gui_basics.cpp +370 -0
  1268. package/ios/juce_modules/juce_gui_basics/juce_gui_basics.h +403 -0
  1269. package/ios/juce_modules/juce_gui_basics/juce_gui_basics.mm +35 -0
  1270. package/ios/juce_modules/juce_gui_basics/keyboard/juce_CaretComponent.cpp +73 -0
  1271. package/ios/juce_modules/juce_gui_basics/keyboard/juce_CaretComponent.h +90 -0
  1272. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyListener.cpp +43 -0
  1273. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyListener.h +86 -0
  1274. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyPress.cpp +298 -0
  1275. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyPress.h +286 -0
  1276. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.cpp +283 -0
  1277. package/ios/juce_modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h +96 -0
  1278. package/ios/juce_modules/juce_gui_basics/keyboard/juce_ModifierKeys.cpp +58 -0
  1279. package/ios/juce_modules/juce_gui_basics/keyboard/juce_ModifierKeys.h +220 -0
  1280. package/ios/juce_modules/juce_gui_basics/keyboard/juce_SystemClipboard.h +58 -0
  1281. package/ios/juce_modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h +132 -0
  1282. package/ios/juce_modules/juce_gui_basics/keyboard/juce_TextInputTarget.h +129 -0
  1283. package/ios/juce_modules/juce_gui_basics/layout/juce_AnimatedPosition.h +216 -0
  1284. package/ios/juce_modules/juce_gui_basics/layout/juce_AnimatedPositionBehaviours.h +162 -0
  1285. package/ios/juce_modules/juce_gui_basics/layout/juce_BorderedComponentBoundsConstrainer.cpp +86 -0
  1286. package/ios/juce_modules/juce_gui_basics/layout/juce_BorderedComponentBoundsConstrainer.h +78 -0
  1287. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp +363 -0
  1288. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentAnimator.h +174 -0
  1289. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.cpp +314 -0
  1290. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h +206 -0
  1291. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentBuilder.cpp +295 -0
  1292. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentBuilder.h +256 -0
  1293. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.cpp +151 -0
  1294. package/ios/juce_modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h +105 -0
  1295. package/ios/juce_modules/juce_gui_basics/layout/juce_ConcertinaPanel.cpp +512 -0
  1296. package/ios/juce_modules/juce_gui_basics/layout/juce_ConcertinaPanel.h +153 -0
  1297. package/ios/juce_modules/juce_gui_basics/layout/juce_FlexBox.cpp +1158 -0
  1298. package/ios/juce_modules/juce_gui_basics/layout/juce_FlexBox.h +152 -0
  1299. package/ios/juce_modules/juce_gui_basics/layout/juce_FlexItem.h +186 -0
  1300. package/ios/juce_modules/juce_gui_basics/layout/juce_Grid.cpp +1651 -0
  1301. package/ios/juce_modules/juce_gui_basics/layout/juce_Grid.h +232 -0
  1302. package/ios/juce_modules/juce_gui_basics/layout/juce_GridItem.cpp +188 -0
  1303. package/ios/juce_modules/juce_gui_basics/layout/juce_GridItem.h +249 -0
  1304. package/ios/juce_modules/juce_gui_basics/layout/juce_GroupComponent.cpp +87 -0
  1305. package/ios/juce_modules/juce_gui_basics/layout/juce_GroupComponent.h +120 -0
  1306. package/ios/juce_modules/juce_gui_basics/layout/juce_MultiDocumentPanel.cpp +641 -0
  1307. package/ios/juce_modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h +390 -0
  1308. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableBorderComponent.cpp +208 -0
  1309. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h +205 -0
  1310. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableCornerComponent.cpp +112 -0
  1311. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h +101 -0
  1312. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.cpp +139 -0
  1313. package/ios/juce_modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h +109 -0
  1314. package/ios/juce_modules/juce_gui_basics/layout/juce_ScrollBar.cpp +486 -0
  1315. package/ios/juce_modules/juce_gui_basics/layout/juce_ScrollBar.h +450 -0
  1316. package/ios/juce_modules/juce_gui_basics/layout/juce_SidePanel.cpp +309 -0
  1317. package/ios/juce_modules/juce_gui_basics/layout/juce_SidePanel.h +248 -0
  1318. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableLayoutManager.cpp +351 -0
  1319. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h +270 -0
  1320. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.cpp +88 -0
  1321. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h +114 -0
  1322. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableObjectResizer.cpp +131 -0
  1323. package/ios/juce_modules/juce_gui_basics/layout/juce_StretchableObjectResizer.h +111 -0
  1324. package/ios/juce_modules/juce_gui_basics/layout/juce_TabbedButtonBar.cpp +592 -0
  1325. package/ios/juce_modules/juce_gui_basics/layout/juce_TabbedButtonBar.h +382 -0
  1326. package/ios/juce_modules/juce_gui_basics/layout/juce_TabbedComponent.cpp +328 -0
  1327. package/ios/juce_modules/juce_gui_basics/layout/juce_TabbedComponent.h +236 -0
  1328. package/ios/juce_modules/juce_gui_basics/layout/juce_Viewport.cpp +649 -0
  1329. package/ios/juce_modules/juce_gui_basics/layout/juce_Viewport.h +383 -0
  1330. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.cpp +201 -0
  1331. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h +301 -0
  1332. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.cpp +599 -0
  1333. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.h +114 -0
  1334. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.cpp +3200 -0
  1335. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.h +443 -0
  1336. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.cpp +655 -0
  1337. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.h +107 -0
  1338. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.cpp +1516 -0
  1339. package/ios/juce_modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V4.h +269 -0
  1340. package/ios/juce_modules/juce_gui_basics/menus/juce_BurgerMenuComponent.cpp +311 -0
  1341. package/ios/juce_modules/juce_gui_basics/menus/juce_BurgerMenuComponent.h +120 -0
  1342. package/ios/juce_modules/juce_gui_basics/menus/juce_MenuBarComponent.cpp +472 -0
  1343. package/ios/juce_modules/juce_gui_basics/menus/juce_MenuBarComponent.h +138 -0
  1344. package/ios/juce_modules/juce_gui_basics/menus/juce_MenuBarModel.cpp +108 -0
  1345. package/ios/juce_modules/juce_gui_basics/menus/juce_MenuBarModel.h +201 -0
  1346. package/ios/juce_modules/juce_gui_basics/menus/juce_PopupMenu.cpp +2401 -0
  1347. package/ios/juce_modules/juce_gui_basics/menus/juce_PopupMenu.h +1070 -0
  1348. package/ios/juce_modules/juce_gui_basics/misc/juce_BubbleComponent.cpp +162 -0
  1349. package/ios/juce_modules/juce_gui_basics/misc/juce_BubbleComponent.h +213 -0
  1350. package/ios/juce_modules/juce_gui_basics/misc/juce_DropShadower.cpp +408 -0
  1351. package/ios/juce_modules/juce_gui_basics/misc/juce_DropShadower.h +96 -0
  1352. package/ios/juce_modules/juce_gui_basics/misc/juce_FocusOutline.cpp +194 -0
  1353. package/ios/juce_modules/juce_gui_basics/misc/juce_FocusOutline.h +109 -0
  1354. package/ios/juce_modules/juce_gui_basics/mouse/juce_ComponentDragger.cpp +76 -0
  1355. package/ios/juce_modules/juce_gui_basics/mouse/juce_ComponentDragger.h +110 -0
  1356. package/ios/juce_modules/juce_gui_basics/mouse/juce_DragAndDropContainer.cpp +646 -0
  1357. package/ios/juce_modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h +275 -0
  1358. package/ios/juce_modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h +149 -0
  1359. package/ios/juce_modules/juce_gui_basics/mouse/juce_FileDragAndDropTarget.h +115 -0
  1360. package/ios/juce_modules/juce_gui_basics/mouse/juce_LassoComponent.h +233 -0
  1361. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseCursor.cpp +162 -0
  1362. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseCursor.h +199 -0
  1363. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseEvent.cpp +147 -0
  1364. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseEvent.h +463 -0
  1365. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.cpp +86 -0
  1366. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h +121 -0
  1367. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseInputSource.cpp +114 -0
  1368. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseInputSource.h +315 -0
  1369. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseListener.cpp +48 -0
  1370. package/ios/juce_modules/juce_gui_basics/mouse/juce_MouseListener.h +180 -0
  1371. package/ios/juce_modules/juce_gui_basics/mouse/juce_SelectedItemSet.h +336 -0
  1372. package/ios/juce_modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h +115 -0
  1373. package/ios/juce_modules/juce_gui_basics/mouse/juce_TooltipClient.h +98 -0
  1374. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_Accessibility.cpp +46 -0
  1375. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.cpp +660 -0
  1376. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_AccessibilityElement_windows.h +89 -0
  1377. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_AccessibilitySharedCode_mac.mm +283 -0
  1378. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers.h +311 -0
  1379. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_AccessibilityTextHelpers_test.cpp +164 -0
  1380. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_Accessibility_android.cpp +1058 -0
  1381. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_Accessibility_ios.mm +669 -0
  1382. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_Accessibility_mac.mm +942 -0
  1383. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_Accessibility_windows.cpp +336 -0
  1384. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAExpandCollapseProvider_windows.h +92 -0
  1385. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAGridItemProvider_windows.h +162 -0
  1386. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAGridProvider_windows.h +160 -0
  1387. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAHelpers_windows.h +128 -0
  1388. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAInvokeProvider_windows.h +68 -0
  1389. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAProviderBase_windows.h +67 -0
  1390. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAProviders_windows.h +52 -0
  1391. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIARangeValueProvider_windows.h +146 -0
  1392. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIASelectionProvider_windows.h +254 -0
  1393. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIATextProvider_windows.h +626 -0
  1394. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAToggleProvider_windows.h +87 -0
  1395. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIATransformProvider_windows.h +131 -0
  1396. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAValueProvider_windows.h +92 -0
  1397. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_UIAWindowProvider_windows.h +203 -0
  1398. package/ios/juce_modules/juce_gui_basics/native/accessibility/juce_WindowsUIAWrapper_windows.h +169 -0
  1399. package/ios/juce_modules/juce_gui_basics/native/java/app/com/rmsl/juce/ComponentPeerView.java +987 -0
  1400. package/ios/juce_modules/juce_gui_basics/native/java/app/com/rmsl/juce/JuceContentProviderCursor.java +62 -0
  1401. package/ios/juce_modules/juce_gui_basics/native/java/app/com/rmsl/juce/JuceContentProviderFileObserver.java +57 -0
  1402. package/ios/juce_modules/juce_gui_basics/native/javaopt/app/com/rmsl/juce/JuceActivity.java +63 -0
  1403. package/ios/juce_modules/juce_gui_basics/native/javaopt/app/com/rmsl/juce/JuceSharingContentProvider.java +128 -0
  1404. package/ios/juce_modules/juce_gui_basics/native/javaopt/app/com/rmsl/juce/Receiver.java +51 -0
  1405. package/ios/juce_modules/juce_gui_basics/native/juce_CGMetalLayerRenderer_mac.h +384 -0
  1406. package/ios/juce_modules/juce_gui_basics/native/juce_ContentSharer_android.cpp +963 -0
  1407. package/ios/juce_modules/juce_gui_basics/native/juce_ContentSharer_ios.cpp +134 -0
  1408. package/ios/juce_modules/juce_gui_basics/native/juce_DragAndDrop_linux.cpp +618 -0
  1409. package/ios/juce_modules/juce_gui_basics/native/juce_DragAndDrop_windows.cpp +377 -0
  1410. package/ios/juce_modules/juce_gui_basics/native/juce_FileChooser_android.cpp +276 -0
  1411. package/ios/juce_modules/juce_gui_basics/native/juce_FileChooser_ios.mm +379 -0
  1412. package/ios/juce_modules/juce_gui_basics/native/juce_FileChooser_linux.cpp +296 -0
  1413. package/ios/juce_modules/juce_gui_basics/native/juce_FileChooser_mac.mm +414 -0
  1414. package/ios/juce_modules/juce_gui_basics/native/juce_FileChooser_windows.cpp +908 -0
  1415. package/ios/juce_modules/juce_gui_basics/native/juce_MainMenu_mac.mm +848 -0
  1416. package/ios/juce_modules/juce_gui_basics/native/juce_MouseCursor_mac.mm +205 -0
  1417. package/ios/juce_modules/juce_gui_basics/native/juce_MultiTouchMapper.h +116 -0
  1418. package/ios/juce_modules/juce_gui_basics/native/juce_NSViewComponentPeer_mac.mm +3053 -0
  1419. package/ios/juce_modules/juce_gui_basics/native/juce_NativeMessageBox_android.cpp +124 -0
  1420. package/ios/juce_modules/juce_gui_basics/native/juce_NativeMessageBox_ios.mm +119 -0
  1421. package/ios/juce_modules/juce_gui_basics/native/juce_NativeMessageBox_linux.cpp +78 -0
  1422. package/ios/juce_modules/juce_gui_basics/native/juce_NativeMessageBox_mac.mm +140 -0
  1423. package/ios/juce_modules/juce_gui_basics/native/juce_NativeMessageBox_windows.cpp +354 -0
  1424. package/ios/juce_modules/juce_gui_basics/native/juce_NativeModalWrapperComponent_ios.h +141 -0
  1425. package/ios/juce_modules/juce_gui_basics/native/juce_PerScreenDisplayLinks_mac.h +313 -0
  1426. package/ios/juce_modules/juce_gui_basics/native/juce_ScopedDPIAwarenessDisabler.cpp +43 -0
  1427. package/ios/juce_modules/juce_gui_basics/native/juce_ScopedDPIAwarenessDisabler.h +63 -0
  1428. package/ios/juce_modules/juce_gui_basics/native/juce_ScopedThreadDPIAwarenessSetter_windows.h +52 -0
  1429. package/ios/juce_modules/juce_gui_basics/native/juce_ScopedWindowAssociation_linux.h +127 -0
  1430. package/ios/juce_modules/juce_gui_basics/native/juce_UIViewComponentPeer_ios.mm +2376 -0
  1431. package/ios/juce_modules/juce_gui_basics/native/juce_VBlank_windows.cpp +302 -0
  1432. package/ios/juce_modules/juce_gui_basics/native/juce_WindowUtils_android.cpp +43 -0
  1433. package/ios/juce_modules/juce_gui_basics/native/juce_WindowUtils_ios.mm +43 -0
  1434. package/ios/juce_modules/juce_gui_basics/native/juce_WindowUtils_linux.cpp +48 -0
  1435. package/ios/juce_modules/juce_gui_basics/native/juce_WindowUtils_mac.mm +47 -0
  1436. package/ios/juce_modules/juce_gui_basics/native/juce_WindowUtils_windows.cpp +68 -0
  1437. package/ios/juce_modules/juce_gui_basics/native/juce_Windowing_android.cpp +2903 -0
  1438. package/ios/juce_modules/juce_gui_basics/native/juce_Windowing_ios.mm +629 -0
  1439. package/ios/juce_modules/juce_gui_basics/native/juce_Windowing_linux.cpp +863 -0
  1440. package/ios/juce_modules/juce_gui_basics/native/juce_Windowing_mac.mm +588 -0
  1441. package/ios/juce_modules/juce_gui_basics/native/juce_Windowing_windows.cpp +5549 -0
  1442. package/ios/juce_modules/juce_gui_basics/native/juce_WindowsHooks_windows.cpp +118 -0
  1443. package/ios/juce_modules/juce_gui_basics/native/juce_WindowsHooks_windows.h +55 -0
  1444. package/ios/juce_modules/juce_gui_basics/native/juce_XSymbols_linux.cpp +249 -0
  1445. package/ios/juce_modules/juce_gui_basics/native/juce_XSymbols_linux.h +629 -0
  1446. package/ios/juce_modules/juce_gui_basics/native/juce_XWindowSystem_linux.cpp +4036 -0
  1447. package/ios/juce_modules/juce_gui_basics/native/juce_XWindowSystem_linux.h +364 -0
  1448. package/ios/juce_modules/juce_gui_basics/positioning/juce_MarkerList.cpp +293 -0
  1449. package/ios/juce_modules/juce_gui_basics/positioning/juce_MarkerList.h +204 -0
  1450. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeCoordinate.cpp +162 -0
  1451. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeCoordinate.h +190 -0
  1452. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.cpp +344 -0
  1453. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h +99 -0
  1454. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeParallelogram.cpp +149 -0
  1455. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h +75 -0
  1456. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativePoint.cpp +110 -0
  1457. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativePoint.h +100 -0
  1458. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativePointPath.cpp +271 -0
  1459. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativePointPath.h +202 -0
  1460. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeRectangle.cpp +286 -0
  1461. package/ios/juce_modules/juce_gui_basics/positioning/juce_RelativeRectangle.h +117 -0
  1462. package/ios/juce_modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.cpp +95 -0
  1463. package/ios/juce_modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h +118 -0
  1464. package/ios/juce_modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.cpp +55 -0
  1465. package/ios/juce_modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h +85 -0
  1466. package/ios/juce_modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.cpp +284 -0
  1467. package/ios/juce_modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h +162 -0
  1468. package/ios/juce_modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp +367 -0
  1469. package/ios/juce_modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.h +150 -0
  1470. package/ios/juce_modules/juce_gui_basics/properties/juce_PropertyComponent.cpp +65 -0
  1471. package/ios/juce_modules/juce_gui_basics/properties/juce_PropertyComponent.h +154 -0
  1472. package/ios/juce_modules/juce_gui_basics/properties/juce_PropertyPanel.cpp +405 -0
  1473. package/ios/juce_modules/juce_gui_basics/properties/juce_PropertyPanel.h +186 -0
  1474. package/ios/juce_modules/juce_gui_basics/properties/juce_SliderPropertyComponent.cpp +95 -0
  1475. package/ios/juce_modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h +116 -0
  1476. package/ios/juce_modules/juce_gui_basics/properties/juce_TextPropertyComponent.cpp +271 -0
  1477. package/ios/juce_modules/juce_gui_basics/properties/juce_TextPropertyComponent.h +196 -0
  1478. package/ios/juce_modules/juce_gui_basics/widgets/juce_ComboBox.cpp +721 -0
  1479. package/ios/juce_modules/juce_gui_basics/widgets/juce_ComboBox.h +473 -0
  1480. package/ios/juce_modules/juce_gui_basics/widgets/juce_ImageComponent.cpp +116 -0
  1481. package/ios/juce_modules/juce_gui_basics/widgets/juce_ImageComponent.h +90 -0
  1482. package/ios/juce_modules/juce_gui_basics/widgets/juce_Label.cpp +592 -0
  1483. package/ios/juce_modules/juce_gui_basics/widgets/juce_Label.h +377 -0
  1484. package/ios/juce_modules/juce_gui_basics/widgets/juce_ListBox.cpp +1263 -0
  1485. package/ios/juce_modules/juce_gui_basics/widgets/juce_ListBox.h +656 -0
  1486. package/ios/juce_modules/juce_gui_basics/widgets/juce_ProgressBar.cpp +189 -0
  1487. package/ios/juce_modules/juce_gui_basics/widgets/juce_ProgressBar.h +215 -0
  1488. package/ios/juce_modules/juce_gui_basics/widgets/juce_Slider.cpp +1839 -0
  1489. package/ios/juce_modules/juce_gui_basics/widgets/juce_Slider.h +1048 -0
  1490. package/ios/juce_modules/juce_gui_basics/widgets/juce_TableHeaderComponent.cpp +935 -0
  1491. package/ios/juce_modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h +472 -0
  1492. package/ios/juce_modules/juce_gui_basics/widgets/juce_TableListBox.cpp +688 -0
  1493. package/ios/juce_modules/juce_gui_basics/widgets/juce_TableListBox.h +365 -0
  1494. package/ios/juce_modules/juce_gui_basics/widgets/juce_TextEditor.cpp +2786 -0
  1495. package/ios/juce_modules/juce_gui_basics/widgets/juce_TextEditor.h +888 -0
  1496. package/ios/juce_modules/juce_gui_basics/widgets/juce_Toolbar.cpp +838 -0
  1497. package/ios/juce_modules/juce_gui_basics/widgets/juce_Toolbar.h +347 -0
  1498. package/ios/juce_modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.cpp +173 -0
  1499. package/ios/juce_modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h +217 -0
  1500. package/ios/juce_modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h +118 -0
  1501. package/ios/juce_modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.cpp +125 -0
  1502. package/ios/juce_modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h +88 -0
  1503. package/ios/juce_modules/juce_gui_basics/widgets/juce_TreeView.cpp +2286 -0
  1504. package/ios/juce_modules/juce_gui_basics/widgets/juce_TreeView.h +969 -0
  1505. package/ios/juce_modules/juce_gui_basics/windows/juce_AlertWindow.cpp +712 -0
  1506. package/ios/juce_modules/juce_gui_basics/windows/juce_AlertWindow.h +600 -0
  1507. package/ios/juce_modules/juce_gui_basics/windows/juce_CallOutBox.cpp +279 -0
  1508. package/ios/juce_modules/juce_gui_basics/windows/juce_CallOutBox.h +197 -0
  1509. package/ios/juce_modules/juce_gui_basics/windows/juce_ComponentPeer.cpp +625 -0
  1510. package/ios/juce_modules/juce_gui_basics/windows/juce_ComponentPeer.h +623 -0
  1511. package/ios/juce_modules/juce_gui_basics/windows/juce_DialogWindow.cpp +190 -0
  1512. package/ios/juce_modules/juce_gui_basics/windows/juce_DialogWindow.h +286 -0
  1513. package/ios/juce_modules/juce_gui_basics/windows/juce_DocumentWindow.cpp +423 -0
  1514. package/ios/juce_modules/juce_gui_basics/windows/juce_DocumentWindow.h +316 -0
  1515. package/ios/juce_modules/juce_gui_basics/windows/juce_MessageBoxOptions.cpp +102 -0
  1516. package/ios/juce_modules/juce_gui_basics/windows/juce_MessageBoxOptions.h +202 -0
  1517. package/ios/juce_modules/juce_gui_basics/windows/juce_NativeMessageBox.cpp +167 -0
  1518. package/ios/juce_modules/juce_gui_basics/windows/juce_NativeMessageBox.h +311 -0
  1519. package/ios/juce_modules/juce_gui_basics/windows/juce_NativeScaleFactorNotifier.cpp +75 -0
  1520. package/ios/juce_modules/juce_gui_basics/windows/juce_NativeScaleFactorNotifier.h +78 -0
  1521. package/ios/juce_modules/juce_gui_basics/windows/juce_ResizableWindow.cpp +679 -0
  1522. package/ios/juce_modules/juce_gui_basics/windows/juce_ResizableWindow.h +427 -0
  1523. package/ios/juce_modules/juce_gui_basics/windows/juce_ScopedMessageBox.cpp +67 -0
  1524. package/ios/juce_modules/juce_gui_basics/windows/juce_ScopedMessageBox.h +78 -0
  1525. package/ios/juce_modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.cpp +128 -0
  1526. package/ios/juce_modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h +184 -0
  1527. package/ios/juce_modules/juce_gui_basics/windows/juce_TooltipWindow.cpp +264 -0
  1528. package/ios/juce_modules/juce_gui_basics/windows/juce_TooltipWindow.h +169 -0
  1529. package/ios/juce_modules/juce_gui_basics/windows/juce_TopLevelWindow.cpp +264 -0
  1530. package/ios/juce_modules/juce_gui_basics/windows/juce_TopLevelWindow.h +176 -0
  1531. package/ios/juce_modules/juce_gui_basics/windows/juce_VBlankAttachment.cpp +122 -0
  1532. package/ios/juce_modules/juce_gui_basics/windows/juce_VBlankAttachment.h +85 -0
  1533. package/ios/juce_modules/juce_gui_basics/windows/juce_WindowUtils.h +51 -0
  1534. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.cpp +83 -0
  1535. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h +81 -0
  1536. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h +683 -0
  1537. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CodeDocument.cpp +1306 -0
  1538. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CodeDocument.h +459 -0
  1539. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp +1857 -0
  1540. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h +486 -0
  1541. package/ios/juce_modules/juce_gui_extra/code_editor/juce_CodeTokeniser.h +68 -0
  1542. package/ios/juce_modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.cpp +248 -0
  1543. package/ios/juce_modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.h +74 -0
  1544. package/ios/juce_modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.cpp +181 -0
  1545. package/ios/juce_modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.h +72 -0
  1546. package/ios/juce_modules/juce_gui_extra/detail/juce_WebControlRelayEvents.h +255 -0
  1547. package/ios/juce_modules/juce_gui_extra/documents/juce_FileBasedDocument.cpp +1124 -0
  1548. package/ios/juce_modules/juce_gui_extra/documents/juce_FileBasedDocument.h +440 -0
  1549. package/ios/juce_modules/juce_gui_extra/embedding/juce_ActiveXControlComponent.h +142 -0
  1550. package/ios/juce_modules/juce_gui_extra/embedding/juce_AndroidViewComponent.h +91 -0
  1551. package/ios/juce_modules/juce_gui_extra/embedding/juce_HWNDComponent.h +98 -0
  1552. package/ios/juce_modules/juce_gui_extra/embedding/juce_NSViewComponent.h +107 -0
  1553. package/ios/juce_modules/juce_gui_extra/embedding/juce_UIViewComponent.h +99 -0
  1554. package/ios/juce_modules/juce_gui_extra/embedding/juce_XEmbedComponent.h +129 -0
  1555. package/ios/juce_modules/juce_gui_extra/juce_gui_extra.cpp +210 -0
  1556. package/ios/juce_modules/juce_gui_extra/juce_gui_extra.h +161 -0
  1557. package/ios/juce_modules/juce_gui_extra/juce_gui_extra.mm +35 -0
  1558. package/ios/juce_modules/juce_gui_extra/misc/juce_AnimatedAppComponent.cpp +89 -0
  1559. package/ios/juce_modules/juce_gui_extra/misc/juce_AnimatedAppComponent.h +96 -0
  1560. package/ios/juce_modules/juce_gui_extra/misc/juce_AppleRemote.h +126 -0
  1561. package/ios/juce_modules/juce_gui_extra/misc/juce_BubbleMessageComponent.cpp +133 -0
  1562. package/ios/juce_modules/juce_gui_extra/misc/juce_BubbleMessageComponent.h +134 -0
  1563. package/ios/juce_modules/juce_gui_extra/misc/juce_ColourSelector.cpp +656 -0
  1564. package/ios/juce_modules/juce_gui_extra/misc/juce_ColourSelector.h +173 -0
  1565. package/ios/juce_modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.cpp +486 -0
  1566. package/ios/juce_modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.h +142 -0
  1567. package/ios/juce_modules/juce_gui_extra/misc/juce_LiveConstantEditor.cpp +501 -0
  1568. package/ios/juce_modules/juce_gui_extra/misc/juce_LiveConstantEditor.h +310 -0
  1569. package/ios/juce_modules/juce_gui_extra/misc/juce_PreferencesPanel.cpp +165 -0
  1570. package/ios/juce_modules/juce_gui_extra/misc/juce_PreferencesPanel.h +156 -0
  1571. package/ios/juce_modules/juce_gui_extra/misc/juce_PushNotifications.cpp +239 -0
  1572. package/ios/juce_modules/juce_gui_extra/misc/juce_PushNotifications.h +714 -0
  1573. package/ios/juce_modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.cpp +189 -0
  1574. package/ios/juce_modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h +186 -0
  1575. package/ios/juce_modules/juce_gui_extra/misc/juce_SplashScreen.cpp +110 -0
  1576. package/ios/juce_modules/juce_gui_extra/misc/juce_SplashScreen.h +165 -0
  1577. package/ios/juce_modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.cpp +51 -0
  1578. package/ios/juce_modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.h +125 -0
  1579. package/ios/juce_modules/juce_gui_extra/misc/juce_WebBrowserComponent.cpp +722 -0
  1580. package/ios/juce_modules/juce_gui_extra/misc/juce_WebBrowserComponent.h +626 -0
  1581. package/ios/juce_modules/juce_gui_extra/misc/juce_WebControlParameterIndexReceiver.h +76 -0
  1582. package/ios/juce_modules/juce_gui_extra/misc/juce_WebControlRelays.cpp +256 -0
  1583. package/ios/juce_modules/juce_gui_extra/misc/juce_WebControlRelays.h +254 -0
  1584. package/ios/juce_modules/juce_gui_extra/native/java/app/com/rmsl/juce/JuceWebViewClasses.java +356 -0
  1585. package/ios/juce_modules/juce_gui_extra/native/javaopt/app/com/rmsl/juce/JuceFirebaseInstanceIdService.java +50 -0
  1586. package/ios/juce_modules/juce_gui_extra/native/javaopt/app/com/rmsl/juce/JuceFirebaseMessagingService.java +69 -0
  1587. package/ios/juce_modules/juce_gui_extra/native/javascript/check_native_interop.js +146 -0
  1588. package/ios/juce_modules/juce_gui_extra/native/javascript/index.js +577 -0
  1589. package/ios/juce_modules/juce_gui_extra/native/javascript/package.json +4 -0
  1590. package/ios/juce_modules/juce_gui_extra/native/juce_ActiveXComponent_windows.cpp +553 -0
  1591. package/ios/juce_modules/juce_gui_extra/native/juce_AndroidViewComponent.cpp +199 -0
  1592. package/ios/juce_modules/juce_gui_extra/native/juce_AppleRemote_mac.mm +285 -0
  1593. package/ios/juce_modules/juce_gui_extra/native/juce_HWNDComponent_windows.cpp +203 -0
  1594. package/ios/juce_modules/juce_gui_extra/native/juce_NSViewComponent_mac.mm +203 -0
  1595. package/ios/juce_modules/juce_gui_extra/native/juce_NSViewFrameWatcher_mac.h +120 -0
  1596. package/ios/juce_modules/juce_gui_extra/native/juce_PushNotifications_android.cpp +1607 -0
  1597. package/ios/juce_modules/juce_gui_extra/native/juce_PushNotifications_ios.cpp +620 -0
  1598. package/ios/juce_modules/juce_gui_extra/native/juce_PushNotifications_mac.cpp +535 -0
  1599. package/ios/juce_modules/juce_gui_extra/native/juce_SystemTrayIcon_linux.cpp +160 -0
  1600. package/ios/juce_modules/juce_gui_extra/native/juce_SystemTrayIcon_mac.cpp +451 -0
  1601. package/ios/juce_modules/juce_gui_extra/native/juce_SystemTrayIcon_windows.cpp +251 -0
  1602. package/ios/juce_modules/juce_gui_extra/native/juce_UIViewComponent_ios.mm +151 -0
  1603. package/ios/juce_modules/juce_gui_extra/native/juce_WebBrowserComponent_android.cpp +953 -0
  1604. package/ios/juce_modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp +1659 -0
  1605. package/ios/juce_modules/juce_gui_extra/native/juce_WebBrowserComponent_mac.mm +1113 -0
  1606. package/ios/juce_modules/juce_gui_extra/native/juce_WebBrowserComponent_windows.cpp +1298 -0
  1607. package/ios/juce_modules/juce_gui_extra/native/juce_XEmbedComponent_linux.cpp +739 -0
  1608. package/package.json +1 -1
  1609. package/ios/JuceModules.mm +0 -14
  1610. package/ios/JuceToneGenerator.h +0 -39
  1611. package/ios/JuceToneGenerator.mm +0 -613
@@ -0,0 +1,2716 @@
1
+ /*
2
+ ==============================================================================
3
+
4
+ This file is part of the JUCE framework.
5
+ Copyright (c) Raw Material Software Limited
6
+
7
+ JUCE is an open source framework subject to commercial or open source
8
+ licensing.
9
+
10
+ By downloading, installing, or using the JUCE framework, or combining the
11
+ JUCE framework with any other source code, object code, content or any other
12
+ copyrightable work, you agree to the terms of the JUCE End User Licence
13
+ Agreement, and all incorporated terms including the JUCE Privacy Policy and
14
+ the JUCE Website Terms of Service, as applicable, which will bind you. If you
15
+ do not agree to the terms of these agreements, we will not license the JUCE
16
+ framework to you, and you must discontinue the installation or download
17
+ process and cease use of the JUCE framework.
18
+
19
+ JUCE End User Licence Agreement: https://juce.com/legal/juce-8-licence/
20
+ JUCE Privacy Policy: https://juce.com/juce-privacy-policy
21
+ JUCE Website Terms of Service: https://juce.com/juce-website-terms-of-service/
22
+
23
+ Or:
24
+
25
+ You may also use this code under the terms of the AGPLv3:
26
+ https://www.gnu.org/licenses/agpl-3.0.en.html
27
+
28
+ THE JUCE FRAMEWORK IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL
29
+ WARRANTIES, WHETHER EXPRESSED OR IMPLIED, INCLUDING WARRANTY OF
30
+ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED.
31
+
32
+ ==============================================================================
33
+ */
34
+
35
+ namespace juce
36
+ {
37
+
38
+ //==============================================================================
39
+ /**
40
+ The base class for all JUCE user-interface objects.
41
+
42
+ @tags{GUI}
43
+ */
44
+ class JUCE_API Component : public MouseListener
45
+ {
46
+ public:
47
+ //==============================================================================
48
+ /** Creates a component.
49
+
50
+ To get it to actually appear, you'll also need to:
51
+ - Either add it to a parent component or use the addToDesktop() method to
52
+ make it a desktop window
53
+ - Set its size and position to something sensible
54
+ - Use setVisible() to make it visible
55
+
56
+ And for it to serve any useful purpose, you'll need to write a
57
+ subclass of Component or use one of the other types of component from
58
+ the library.
59
+ */
60
+ Component() noexcept;
61
+
62
+ /** Destructor.
63
+
64
+ Note that when a component is deleted, any child components it contains are NOT
65
+ automatically deleted. It's your responsibility to manage their lifespan - you
66
+ may want to use helper methods like deleteAllChildren(), or less haphazard
67
+ approaches like using std::unique_ptrs or normal object aggregation to manage them.
68
+
69
+ If the component being deleted is currently the child of another one, then during
70
+ deletion, it will be removed from its parent, and the parent will receive a childrenChanged()
71
+ callback. Any ComponentListener objects that have registered with it will also have their
72
+ ComponentListener::componentBeingDeleted() methods called.
73
+ */
74
+ ~Component() override;
75
+
76
+ //==============================================================================
77
+ /** Creates a component, setting its name at the same time.
78
+ @see getName, setName
79
+ */
80
+ explicit Component (const String& componentName) noexcept;
81
+
82
+ /** Returns the name of this component.
83
+ @see setName
84
+ */
85
+ String getName() const noexcept { return componentName; }
86
+
87
+ /** Sets the name of this component.
88
+
89
+ When the name changes, all registered ComponentListeners will receive a
90
+ ComponentListener::componentNameChanged() callback.
91
+
92
+ @see getName
93
+ */
94
+ virtual void setName (const String& newName);
95
+
96
+ /** Returns the ID string that was set by setComponentID().
97
+ @see setComponentID, findChildWithID
98
+ */
99
+ String getComponentID() const noexcept { return componentID; }
100
+
101
+ /** Sets the component's ID string.
102
+ You can retrieve the ID using getComponentID().
103
+ @see getComponentID, findChildWithID
104
+ */
105
+ void setComponentID (const String& newID);
106
+
107
+ //==============================================================================
108
+ /** Makes the component visible or invisible.
109
+
110
+ This method will show or hide the component.
111
+ Note that components default to being non-visible when first created.
112
+ Also note that visible components won't be seen unless all their parent components
113
+ are also visible.
114
+
115
+ This method will call visibilityChanged() and also componentVisibilityChanged()
116
+ for any component listeners that are interested in this component.
117
+
118
+ @param shouldBeVisible whether to show or hide the component
119
+ @see isVisible, isShowing, visibilityChanged, ComponentListener::componentVisibilityChanged
120
+ */
121
+ virtual void setVisible (bool shouldBeVisible);
122
+
123
+ /** Tests whether the component is visible or not.
124
+
125
+ this doesn't necessarily tell you whether this comp is actually on the screen
126
+ because this depends on whether all the parent components are also visible - use
127
+ isShowing() to find this out.
128
+
129
+ @see isShowing, setVisible
130
+ */
131
+ bool isVisible() const noexcept { return flags.visibleFlag; }
132
+
133
+ /** Called when this component's visibility changes.
134
+ @see setVisible, isVisible
135
+ */
136
+ virtual void visibilityChanged();
137
+
138
+ /** Tests whether this component and all its parents are visible.
139
+
140
+ @returns true only if this component and all its parents are visible.
141
+ @see isVisible
142
+ */
143
+ bool isShowing() const;
144
+
145
+ //==============================================================================
146
+ /** Makes this component appear as a window on the desktop.
147
+
148
+ Note that before calling this, you should make sure that the component's opacity is
149
+ set correctly using setOpaque(). If the component is non-opaque, the windowing
150
+ system will try to create a special transparent window for it, which will generally take
151
+ a lot more CPU to operate (and might not even be possible on some platforms).
152
+
153
+ If the component is inside a parent component at the time this method is called, it
154
+ will first be removed from that parent. Likewise if a component is on the desktop
155
+ and is subsequently added to another component, it'll be removed from the desktop.
156
+
157
+ @param windowStyleFlags a combination of the flags specified in the
158
+ ComponentPeer::StyleFlags enum, which define the
159
+ window's characteristics.
160
+ @param nativeWindowToAttachTo this allows an OS object to be passed-in as the window
161
+ in which the juce component should place itself. On Windows,
162
+ this would be a HWND, a HIViewRef on the Mac. Not necessarily
163
+ supported on all platforms, and best left as 0 unless you know
164
+ what you're doing.
165
+ @see removeFromDesktop, isOnDesktop, userTriedToCloseWindow,
166
+ getPeer, ComponentPeer::setMinimised, ComponentPeer::StyleFlags,
167
+ ComponentPeer::getStyleFlags, ComponentPeer::setFullScreen
168
+ */
169
+ virtual void addToDesktop (int windowStyleFlags,
170
+ void* nativeWindowToAttachTo = nullptr);
171
+
172
+ /** If the component is currently showing on the desktop, this will hide it.
173
+
174
+ You can also use setVisible() to hide a desktop window temporarily, but
175
+ removeFromDesktop() will free any system resources that are being used up.
176
+
177
+ @see addToDesktop, isOnDesktop
178
+ */
179
+ void removeFromDesktop();
180
+
181
+ /** Returns true if this component is currently showing on the desktop.
182
+ @see addToDesktop, removeFromDesktop
183
+ */
184
+ bool isOnDesktop() const noexcept;
185
+
186
+ /** Returns the heavyweight window that contains this component.
187
+
188
+ If this component is itself on the desktop, this will return the window
189
+ object that it is using. Otherwise, it will return the window of
190
+ its top-level parent component.
191
+
192
+ This may return nullptr if there isn't a desktop component.
193
+
194
+ @see addToDesktop, isOnDesktop
195
+ */
196
+ ComponentPeer* getPeer() const;
197
+
198
+ /** For components on the desktop, this is called if the system wants to close the window.
199
+
200
+ This is a signal that either the user or the system wants the window to close. The
201
+ default implementation of this method will trigger an assertion to warn you that your
202
+ component should do something about it, but you can override this to ignore the event
203
+ if you want.
204
+ */
205
+ virtual void userTriedToCloseWindow();
206
+
207
+ /** Called for a desktop component which has just been minimised or un-minimised.
208
+ This will only be called for components on the desktop.
209
+ @see getPeer, ComponentPeer::setMinimised, ComponentPeer::isMinimised
210
+ */
211
+ virtual void minimisationStateChanged (bool isNowMinimised);
212
+
213
+ /** Returns the default scale factor to use for this component when it is placed
214
+ on the desktop.
215
+ The default implementation of this method just returns the value from
216
+ Desktop::getGlobalScaleFactor(), but it can be overridden if a particular component
217
+ has different requirements. The method only used if this component is added
218
+ to the desktop - it has no effect for child components.
219
+ */
220
+ virtual float getDesktopScaleFactor() const;
221
+
222
+ //==============================================================================
223
+ /** Brings the component to the front of its siblings.
224
+
225
+ If some of the component's siblings have had their 'always-on-top' flag set,
226
+ then they will still be kept in front of this one (unless of course this
227
+ one is also 'always-on-top').
228
+
229
+ @param shouldAlsoGainKeyboardFocus if true, this will also try to assign
230
+ keyboard focus to the component (see
231
+ grabKeyboardFocus() for more details)
232
+ @see toBack, toBehind, setAlwaysOnTop
233
+ */
234
+ void toFront (bool shouldAlsoGainKeyboardFocus);
235
+
236
+ /** Changes this component's z-order to be at the back of all its siblings.
237
+
238
+ If the component is set to be 'always-on-top', it will only be moved to the
239
+ back of the other other 'always-on-top' components.
240
+
241
+ @see toFront, toBehind, setAlwaysOnTop
242
+ */
243
+ void toBack();
244
+
245
+ /** Changes this component's z-order so that it's just behind another component.
246
+ @see toFront, toBack
247
+ */
248
+ void toBehind (Component* other);
249
+
250
+ /** Sets whether the component should always be kept at the front of its siblings.
251
+ @see isAlwaysOnTop
252
+ */
253
+ void setAlwaysOnTop (bool shouldStayOnTop);
254
+
255
+ /** Returns true if this component is set to always stay in front of its siblings.
256
+ @see setAlwaysOnTop
257
+ */
258
+ bool isAlwaysOnTop() const noexcept;
259
+
260
+ //==============================================================================
261
+ /** Returns the x coordinate of the component's left edge.
262
+ This is a distance in pixels from the left edge of the component's parent.
263
+
264
+ Note that if you've used setTransform() to apply a transform, then the component's
265
+ bounds will no longer be a direct reflection of the position at which it appears within
266
+ its parent, as the transform will be applied to its bounding box.
267
+ */
268
+ int getX() const noexcept { return boundsRelativeToParent.getX(); }
269
+
270
+ /** Returns the y coordinate of the top of this component.
271
+ This is a distance in pixels from the top edge of the component's parent.
272
+
273
+ Note that if you've used setTransform() to apply a transform, then the component's
274
+ bounds will no longer be a direct reflection of the position at which it appears within
275
+ its parent, as the transform will be applied to its bounding box.
276
+ */
277
+ int getY() const noexcept { return boundsRelativeToParent.getY(); }
278
+
279
+ /** Returns the component's width in pixels. */
280
+ int getWidth() const noexcept { return boundsRelativeToParent.getWidth(); }
281
+
282
+ /** Returns the component's height in pixels. */
283
+ int getHeight() const noexcept { return boundsRelativeToParent.getHeight(); }
284
+
285
+ /** Returns the x coordinate of the component's right-hand edge.
286
+ This is a distance in pixels from the left edge of the component's parent.
287
+
288
+ Note that if you've used setTransform() to apply a transform, then the component's
289
+ bounds will no longer be a direct reflection of the position at which it appears within
290
+ its parent, as the transform will be applied to its bounding box.
291
+ */
292
+ int getRight() const noexcept { return boundsRelativeToParent.getRight(); }
293
+
294
+ /** Returns the component's top-left position as a Point. */
295
+ Point<int> getPosition() const noexcept { return boundsRelativeToParent.getPosition(); }
296
+
297
+ /** Returns the y coordinate of the bottom edge of this component.
298
+ This is a distance in pixels from the top edge of the component's parent.
299
+
300
+ Note that if you've used setTransform() to apply a transform, then the component's
301
+ bounds will no longer be a direct reflection of the position at which it appears within
302
+ its parent, as the transform will be applied to its bounding box.
303
+ */
304
+ int getBottom() const noexcept { return boundsRelativeToParent.getBottom(); }
305
+
306
+ /** Returns this component's bounding box.
307
+ The rectangle returned is relative to the top-left of the component's parent.
308
+
309
+ Note that if you've used setTransform() to apply a transform, then the component's
310
+ bounds will no longer be a direct reflection of the position at which it appears within
311
+ its parent, as the transform will be applied to its bounding box.
312
+ */
313
+ Rectangle<int> getBounds() const noexcept { return boundsRelativeToParent; }
314
+
315
+ /** Returns the component's bounds, relative to its own origin.
316
+ This is like getBounds(), but returns the rectangle in local coordinates, In practice, it'll
317
+ return a rectangle with position (0, 0), and the same size as this component.
318
+ */
319
+ Rectangle<int> getLocalBounds() const noexcept;
320
+
321
+ /** Returns the area of this component's parent which this component covers.
322
+
323
+ The returned area is relative to the parent's coordinate space.
324
+ If the component has an affine transform specified, then the resulting area will be
325
+ the smallest rectangle that fully covers the component's transformed bounding box.
326
+ If this component has no parent, the return value will simply be the same as getBounds().
327
+ */
328
+ Rectangle<int> getBoundsInParent() const noexcept;
329
+
330
+ //==============================================================================
331
+ /** Returns this component's x coordinate relative the screen's top-left origin.
332
+ @see getX, localPointToGlobal
333
+ */
334
+ int getScreenX() const;
335
+
336
+ /** Returns this component's y coordinate relative the screen's top-left origin.
337
+ @see getY, localPointToGlobal
338
+ */
339
+ int getScreenY() const;
340
+
341
+ /** Returns the position of this component's top-left corner relative to the screen's top-left.
342
+ @see getScreenBounds
343
+ */
344
+ Point<int> getScreenPosition() const;
345
+
346
+ /** Returns the bounds of this component, relative to the screen's top-left.
347
+ @see getScreenPosition
348
+ */
349
+ Rectangle<int> getScreenBounds() const;
350
+
351
+ /** Converts a point to be relative to this component's coordinate space.
352
+
353
+ This takes a point relative to a different component, and returns its position relative to this
354
+ component. If the sourceComponent parameter is null, the source point is assumed to be a global
355
+ screen coordinate.
356
+ */
357
+ Point<int> getLocalPoint (const Component* sourceComponent,
358
+ Point<int> pointRelativeToSourceComponent) const;
359
+
360
+ /** Converts a point to be relative to this component's coordinate space.
361
+
362
+ This takes a point relative to a different component, and returns its position relative to this
363
+ component. If the sourceComponent parameter is null, the source point is assumed to be a global
364
+ screen coordinate.
365
+ */
366
+ Point<float> getLocalPoint (const Component* sourceComponent,
367
+ Point<float> pointRelativeToSourceComponent) const;
368
+
369
+ /** Converts a rectangle to be relative to this component's coordinate space.
370
+
371
+ This takes a rectangle that is relative to a different component, and returns its position relative
372
+ to this component. If the sourceComponent parameter is null, the source rectangle is assumed to be
373
+ a screen coordinate.
374
+
375
+ If you've used setTransform() to apply one or more transforms to components, then the source rectangle
376
+ may not actually be rectangular when converted to the target space, so in that situation this will return
377
+ the smallest rectangle that fully contains the transformed area.
378
+ */
379
+ Rectangle<int> getLocalArea (const Component* sourceComponent,
380
+ Rectangle<int> areaRelativeToSourceComponent) const;
381
+
382
+ /** Converts a rectangle to be relative to this component's coordinate space.
383
+
384
+ This takes a rectangle that is relative to a different component, and returns its position relative
385
+ to this component. If the sourceComponent parameter is null, the source rectangle is assumed to be
386
+ a screen coordinate.
387
+
388
+ If you've used setTransform() to apply one or more transforms to components, then the source rectangle
389
+ may not actually be rectangular when converted to the target space, so in that situation this will return
390
+ the smallest rectangle that fully contains the transformed area.
391
+ */
392
+ Rectangle<float> getLocalArea (const Component* sourceComponent,
393
+ Rectangle<float> areaRelativeToSourceComponent) const;
394
+
395
+ /** Converts a point relative to this component's top-left into a screen coordinate.
396
+ @see getLocalPoint, localAreaToGlobal
397
+ */
398
+ Point<int> localPointToGlobal (Point<int> localPoint) const;
399
+
400
+ /** Converts a point relative to this component's top-left into a screen coordinate.
401
+ @see getLocalPoint, localAreaToGlobal
402
+ */
403
+ Point<float> localPointToGlobal (Point<float> localPoint) const;
404
+
405
+ /** Converts a rectangle from this component's coordinate space to a screen coordinate.
406
+
407
+ If you've used setTransform() to apply one or more transforms to components, then the source rectangle
408
+ may not actually be rectangular when converted to the target space, so in that situation this will return
409
+ the smallest rectangle that fully contains the transformed area.
410
+ @see getLocalPoint, localPointToGlobal
411
+ */
412
+ Rectangle<int> localAreaToGlobal (Rectangle<int> localArea) const;
413
+
414
+ /** Converts a rectangle from this component's coordinate space to a screen coordinate.
415
+
416
+ If you've used setTransform() to apply one or more transforms to components, then the source rectangle
417
+ may not actually be rectangular when converted to the target space, so in that situation this will return
418
+ the smallest rectangle that fully contains the transformed area.
419
+ @see getLocalPoint, localPointToGlobal
420
+ */
421
+ Rectangle<float> localAreaToGlobal (Rectangle<float> localArea) const;
422
+
423
+ //==============================================================================
424
+ /** Moves the component to a new position.
425
+
426
+ Changes the component's top-left position (without changing its size).
427
+ The position is relative to the top-left of the component's parent.
428
+
429
+ If the component actually moves, this method will make a synchronous call to moved().
430
+
431
+ Note that if you've used setTransform() to apply a transform, then the component's
432
+ bounds will no longer be a direct reflection of the position at which it appears within
433
+ its parent, as the transform will be applied to whatever bounds you set for it.
434
+
435
+ @see setBounds, ComponentListener::componentMovedOrResized
436
+ */
437
+ void setTopLeftPosition (int x, int y);
438
+
439
+ /** Moves the component to a new position.
440
+
441
+ Changes the component's top-left position (without changing its size).
442
+ The position is relative to the top-left of the component's parent.
443
+
444
+ If the component actually moves, this method will make a synchronous call to moved().
445
+
446
+ Note that if you've used setTransform() to apply a transform, then the component's
447
+ bounds will no longer be a direct reflection of the position at which it appears within
448
+ its parent, as the transform will be applied to whatever bounds you set for it.
449
+
450
+ @see setBounds, ComponentListener::componentMovedOrResized
451
+ */
452
+ void setTopLeftPosition (Point<int> newTopLeftPosition);
453
+
454
+ /** Moves the component to a new position.
455
+
456
+ Changes the position of the component's top-right corner (keeping it the same size).
457
+ The position is relative to the top-left of the component's parent.
458
+
459
+ If the component actually moves, this method will make a synchronous call to moved().
460
+
461
+ Note that if you've used setTransform() to apply a transform, then the component's
462
+ bounds will no longer be a direct reflection of the position at which it appears within
463
+ its parent, as the transform will be applied to whatever bounds you set for it.
464
+ */
465
+ void setTopRightPosition (int x, int y);
466
+
467
+ /** Changes the size of the component.
468
+
469
+ A synchronous call to resized() will occur if the size actually changes.
470
+
471
+ Note that if you've used setTransform() to apply a transform, then the component's
472
+ bounds will no longer be a direct reflection of the position at which it appears within
473
+ its parent, as the transform will be applied to whatever bounds you set for it.
474
+ */
475
+ void setSize (int newWidth, int newHeight);
476
+
477
+ /** Changes the component's position and size.
478
+
479
+ The coordinates are relative to the top-left of the component's parent, or relative
480
+ to the origin of the screen if the component is on the desktop.
481
+
482
+ If this method changes the component's top-left position, it will make a synchronous
483
+ call to moved(). If it changes the size, it will also make a call to resized().
484
+
485
+ Note that if you've used setTransform() to apply a transform, then the component's
486
+ bounds will no longer be a direct reflection of the position at which it appears within
487
+ its parent, as the transform will be applied to whatever bounds you set for it.
488
+
489
+ @see setTopLeftPosition, setSize, ComponentListener::componentMovedOrResized
490
+ */
491
+ void setBounds (int x, int y, int width, int height);
492
+
493
+ /** Changes the component's position and size.
494
+
495
+ The coordinates are relative to the top-left of the component's parent, or relative
496
+ to the origin of the screen if the component is on the desktop.
497
+
498
+ If this method changes the component's top-left position, it will make a synchronous
499
+ call to moved(). If it changes the size, it will also make a call to resized().
500
+
501
+ Note that if you've used setTransform() to apply a transform, then the component's
502
+ bounds will no longer be a direct reflection of the position at which it appears within
503
+ its parent, as the transform will be applied to whatever bounds you set for it.
504
+
505
+ @see setBounds
506
+ */
507
+ void setBounds (Rectangle<int> newBounds);
508
+
509
+ /** Changes the component's position and size in terms of fractions of its parent's size.
510
+
511
+ The values are factors of the parent's size, so for example
512
+ setBoundsRelative (0.2f, 0.2f, 0.5f, 0.5f) would give it half the
513
+ width and height of the parent, with its top-left position 20% of
514
+ the way across and down the parent.
515
+
516
+ @see setBounds
517
+ */
518
+ void setBoundsRelative (float proportionalX, float proportionalY,
519
+ float proportionalWidth, float proportionalHeight);
520
+
521
+ /** Changes the component's position and size in terms of fractions of its parent's size.
522
+
523
+ The values are factors of the parent's size, so for example
524
+ setBoundsRelative ({ 0.2f, 0.2f, 0.5f, 0.5f }) would give it half the
525
+ width and height of the parent, with its top-left position 20% of
526
+ the way across and down the parent.
527
+
528
+ @see setBounds
529
+ */
530
+ void setBoundsRelative (Rectangle<float> proportionalArea);
531
+
532
+ /** Changes the component's position and size based on the amount of space to leave around it.
533
+
534
+ This will position the component within its parent, leaving the specified number of
535
+ pixels around each edge.
536
+
537
+ @see setBounds
538
+ */
539
+ void setBoundsInset (BorderSize<int> borders);
540
+
541
+ /** Positions the component within a given rectangle, keeping its proportions
542
+ unchanged.
543
+
544
+ If onlyReduceInSize is false, the component will be resized to fill as much of the
545
+ rectangle as possible without changing its aspect ratio (the component's
546
+ current size is used to determine its aspect ratio, so a zero-size component
547
+ won't work here). If onlyReduceInSize is true, it will only be resized if it's
548
+ too big to fit inside the rectangle.
549
+
550
+ It will then be positioned within the rectangle according to the justification flags
551
+ specified.
552
+
553
+ @see setBounds
554
+ */
555
+ void setBoundsToFit (Rectangle<int> targetArea,
556
+ Justification justification,
557
+ bool onlyReduceInSize);
558
+
559
+ /** Changes the position of the component's centre.
560
+
561
+ Leaves the component's size unchanged, but sets the position of its centre
562
+ relative to its parent's top-left.
563
+
564
+ @see setBounds
565
+ */
566
+ void setCentrePosition (int x, int y);
567
+
568
+ /** Changes the position of the component's centre.
569
+
570
+ Leaves the component's size unchanged, but sets the position of its centre
571
+ relative to its parent's top-left.
572
+
573
+ @see setBounds
574
+ */
575
+ void setCentrePosition (Point<int> newCentrePosition);
576
+
577
+ /** Changes the position of the component's centre.
578
+
579
+ Leaves the size unchanged, but positions its centre relative to its parent's size.
580
+ E.g. setCentreRelative (0.5f, 0.5f) would place it centrally in its parent.
581
+ */
582
+ void setCentreRelative (float x, float y);
583
+
584
+ /** Changes the component's size and centres it within its parent.
585
+
586
+ After changing the size, the component will be moved so that it's
587
+ centred within its parent. If the component is on the desktop (or has no
588
+ parent component), then it'll be centred within the main monitor area.
589
+ */
590
+ void centreWithSize (int width, int height);
591
+
592
+ //==============================================================================
593
+ /** Sets a transform matrix to be applied to this component.
594
+
595
+ If you set a transform for a component, the component's position will be warped by it, relative to
596
+ the component's parent's top-left origin. This means that the values you pass into setBounds() will no
597
+ longer reflect the actual area within the parent that the component covers, as the bounds will be
598
+ transformed and the component will probably end up actually appearing somewhere else within its parent.
599
+
600
+ When using transforms you need to be extremely careful when converting coordinates between the
601
+ coordinate spaces of different components or the screen - you should always use getLocalPoint(),
602
+ getLocalArea(), etc to do this, and never just manually add a component's position to a point in order to
603
+ convert it between different components (but I'm sure you would never have done that anyway...).
604
+
605
+ Currently, transforms are not supported for desktop windows, so the transform will be ignored if you
606
+ put a component on the desktop.
607
+
608
+ To remove a component's transform, simply pass AffineTransform() as the parameter to this method.
609
+ */
610
+ void setTransform (const AffineTransform& transform);
611
+
612
+ /** Returns the transform that is currently being applied to this component.
613
+ For more details about transforms, see setTransform().
614
+ @see setTransform
615
+ */
616
+ AffineTransform getTransform() const;
617
+
618
+ /** Returns true if a non-identity transform is being applied to this component.
619
+ For more details about transforms, see setTransform().
620
+ @see setTransform
621
+ */
622
+ bool isTransformed() const noexcept;
623
+
624
+ /** Returns the approximate scale factor for a given component by traversing its parent hierarchy
625
+ and applying each transform and finally scaling this by the global scale factor.
626
+ */
627
+ static float JUCE_CALLTYPE getApproximateScaleFactorForComponent (const Component* targetComponent);
628
+
629
+ //==============================================================================
630
+ /** Returns a proportion of the component's width.
631
+ This is a handy equivalent of (getWidth() * proportion).
632
+ */
633
+ int proportionOfWidth (float proportion) const noexcept;
634
+
635
+ /** Returns a proportion of the component's height.
636
+ This is a handy equivalent of (getHeight() * proportion).
637
+ */
638
+ int proportionOfHeight (float proportion) const noexcept;
639
+
640
+ /** Returns the width of the component's parent.
641
+
642
+ If the component has no parent (i.e. if it's on the desktop), this will return
643
+ the width of the screen.
644
+ */
645
+ int getParentWidth() const noexcept;
646
+
647
+ /** Returns the height of the component's parent.
648
+
649
+ If the component has no parent (i.e. if it's on the desktop), this will return
650
+ the height of the screen.
651
+ */
652
+ int getParentHeight() const noexcept;
653
+
654
+ /** Returns the screen coordinates of the monitor that contains this component.
655
+
656
+ If there's only one monitor, this will return its size - if there are multiple
657
+ monitors, it will return the area of the monitor that contains the component's
658
+ centre.
659
+ */
660
+ Rectangle<int> getParentMonitorArea() const;
661
+
662
+ //==============================================================================
663
+ /** Returns the number of child components that this component contains.
664
+
665
+ @see getChildren, getChildComponent, getIndexOfChildComponent
666
+ */
667
+ int getNumChildComponents() const noexcept;
668
+
669
+ /** Returns one of this component's child components, by it index.
670
+
671
+ The component with index 0 is at the back of the z-order, the one at the
672
+ front will have index (getNumChildComponents() - 1).
673
+
674
+ If the index is out-of-range, this will return a null pointer.
675
+
676
+ @see getChildren, getNumChildComponents, getIndexOfChildComponent
677
+ */
678
+ Component* getChildComponent (int index) const noexcept;
679
+
680
+ /** Returns the index of this component in the list of child components.
681
+
682
+ A value of 0 means it is first in the list (i.e. behind all other components). Higher
683
+ values are further towards the front.
684
+
685
+ Returns -1 if the component passed-in is not a child of this component.
686
+
687
+ @see getChildren, getNumChildComponents, getChildComponent, addChildComponent, toFront, toBack, toBehind
688
+ */
689
+ int getIndexOfChildComponent (const Component* child) const noexcept;
690
+
691
+ /** Provides access to the underlying array of child components.
692
+ The most likely reason you may want to use this is for iteration in a range-based for loop.
693
+ */
694
+ const Array<Component*>& getChildren() const noexcept { return childComponentList; }
695
+
696
+ /** Looks for a child component with the specified ID.
697
+ @see setComponentID, getComponentID
698
+ */
699
+ Component* findChildWithID (StringRef componentID) const noexcept;
700
+
701
+ /** Adds a child component to this one.
702
+
703
+ Adding a child component does not mean that the component will own or delete the child - it's
704
+ your responsibility to delete the component. Note that it's safe to delete a component
705
+ without first removing it from its parent - doing so will automatically remove it and
706
+ send out the appropriate notifications before the deletion completes.
707
+
708
+ If the child is already a child of this component, then no action will be taken, and its
709
+ z-order will be left unchanged.
710
+
711
+ @param child the new component to add. If the component passed-in is already
712
+ the child of another component, it'll first be removed from its current parent.
713
+ @param zOrder The index in the child-list at which this component should be inserted.
714
+ A value of -1 will insert it in front of the others, 0 is the back.
715
+ @see removeChildComponent, addAndMakeVisible, addChildAndSetID, getChild, ComponentListener::componentChildrenChanged
716
+ */
717
+ void addChildComponent (Component* child, int zOrder = -1);
718
+
719
+ /** Adds a child component to this one.
720
+
721
+ Adding a child component does not mean that the component will own or delete the child - it's
722
+ your responsibility to delete the component. Note that it's safe to delete a component
723
+ without first removing it from its parent - doing so will automatically remove it and
724
+ send out the appropriate notifications before the deletion completes.
725
+
726
+ If the child is already a child of this component, then no action will be taken, and its
727
+ z-order will be left unchanged.
728
+
729
+ @param child the new component to add. If the component passed-in is already
730
+ the child of another component, it'll first be removed from its current parent.
731
+ @param zOrder The index in the child-list at which this component should be inserted.
732
+ A value of -1 will insert it in front of the others, 0 is the back.
733
+ @see removeChildComponent, addAndMakeVisible, addChildAndSetID, getChild, ComponentListener::componentChildrenChanged
734
+ */
735
+ void addChildComponent (Component& child, int zOrder = -1);
736
+
737
+ /** Adds a child component to this one, and also makes the child visible if it isn't already.
738
+
739
+ This is the same as calling setVisible (true) on the child and then addChildComponent().
740
+ See addChildComponent() for more details.
741
+
742
+ @param child the new component to add. If the component passed-in is already
743
+ the child of another component, it'll first be removed from its current parent.
744
+ @param zOrder The index in the child-list at which this component should be inserted.
745
+ A value of -1 will insert it in front of the others, 0 is the back.
746
+ */
747
+ void addAndMakeVisible (Component* child, int zOrder = -1);
748
+
749
+ /** Adds a child component to this one, and also makes the child visible if it isn't already.
750
+
751
+ This is the same as calling setVisible (true) on the child and then addChildComponent().
752
+ See addChildComponent() for more details.
753
+
754
+ @param child the new component to add. If the component passed-in is already
755
+ the child of another component, it'll first be removed from its current parent.
756
+ @param zOrder The index in the child-list at which this component should be inserted.
757
+ A value of -1 will insert it in front of the others, 0 is the back.
758
+ */
759
+ void addAndMakeVisible (Component& child, int zOrder = -1);
760
+
761
+ /** Adds a child component to this one, makes it visible, and sets its component ID.
762
+ @see addAndMakeVisible, addChildComponent
763
+ */
764
+ void addChildAndSetID (Component* child, const String& componentID);
765
+
766
+ /** Removes one of this component's child-components.
767
+
768
+ If the child passed-in isn't actually a child of this component (either because
769
+ it's invalid or is the child of a different parent), then no action is taken.
770
+
771
+ Note that removing a child will not delete it! But it's ok to delete a component
772
+ without first removing it - doing so will automatically remove it and send out the
773
+ appropriate notifications before the deletion completes.
774
+
775
+ @see addChildComponent, ComponentListener::componentChildrenChanged
776
+ */
777
+ void removeChildComponent (Component* childToRemove);
778
+
779
+ /** Removes one of this component's child-components by index.
780
+
781
+ This will return a pointer to the component that was removed, or null if
782
+ the index was out-of-range.
783
+
784
+ Note that removing a child will not delete it! But it's ok to delete a component
785
+ without first removing it - doing so will automatically remove it and send out the
786
+ appropriate notifications before the deletion completes.
787
+
788
+ @see addChildComponent, ComponentListener::componentChildrenChanged
789
+ */
790
+ Component* removeChildComponent (int childIndexToRemove);
791
+
792
+ /** Removes all this component's children.
793
+ Note that this won't delete them! To do that, use deleteAllChildren() instead.
794
+ */
795
+ void removeAllChildren();
796
+
797
+ /** Removes and deletes all of this component's children.
798
+ My advice is to avoid this method! It's an old function that is only kept here for
799
+ backwards-compatibility with legacy code, and should be viewed with extreme
800
+ suspicion by anyone attempting to write modern C++. In almost all cases, it's much
801
+ smarter to manage the lifetimes of your child components via modern RAII techniques
802
+ such as simply making them member variables, or using std::unique_ptr, OwnedArray,
803
+ etc to manage their lifetimes appropriately.
804
+ @see removeAllChildren
805
+ */
806
+ void deleteAllChildren();
807
+
808
+ /** Returns the component which this component is inside.
809
+
810
+ If this is the highest-level component or hasn't yet been added to
811
+ a parent, this will return null.
812
+ */
813
+ Component* getParentComponent() const noexcept { return parentComponent; }
814
+
815
+ /** Searches the parent components for a component of a specified class.
816
+
817
+ For example findParentComponentOfClass \<MyComp\>() would return the first parent
818
+ component that can be dynamically cast to a MyComp, or will return nullptr if none
819
+ of the parents are suitable.
820
+ */
821
+ template <class TargetClass>
822
+ TargetClass* findParentComponentOfClass() const
823
+ {
824
+ for (auto* p = parentComponent; p != nullptr; p = p->parentComponent)
825
+ if (auto* target = dynamic_cast<TargetClass*> (p))
826
+ return target;
827
+
828
+ return nullptr;
829
+ }
830
+
831
+ /** Returns the highest-level component which contains this one or its parents.
832
+
833
+ This will search upwards in the parent-hierarchy from this component, until it
834
+ finds the highest one that doesn't have a parent (i.e. is on the desktop or
835
+ not yet added to a parent), and will return that.
836
+ */
837
+ Component* getTopLevelComponent() const noexcept;
838
+
839
+ /** Checks whether a component is anywhere inside this component or its children.
840
+
841
+ This will recursively check through this component's children to see if the
842
+ given component is anywhere inside.
843
+ */
844
+ bool isParentOf (const Component* possibleChild) const noexcept;
845
+
846
+ //==============================================================================
847
+ /** Called to indicate that the component's parents have changed.
848
+
849
+ When a component is added or removed from its parent, this method will
850
+ be called on all of its children (recursively - so all children of its
851
+ children will also be called as well).
852
+
853
+ Subclasses can override this if they need to react to this in some way.
854
+
855
+ @see getParentComponent, isShowing, ComponentListener::componentParentHierarchyChanged
856
+ */
857
+ virtual void parentHierarchyChanged();
858
+
859
+ /** Subclasses can use this callback to be told when children are added or removed, or
860
+ when their z-order changes.
861
+ @see parentHierarchyChanged, ComponentListener::componentChildrenChanged
862
+ */
863
+ virtual void childrenChanged();
864
+
865
+ //==============================================================================
866
+ /** Tests whether a given point is inside the component.
867
+
868
+ Overriding this method allows you to create components which only intercept
869
+ mouse-clicks within a user-defined area.
870
+
871
+ This is called to find out whether a particular x, y coordinate is
872
+ considered to be inside the component or not, and is used by methods such
873
+ as contains() and getComponentAt() to work out which component
874
+ the mouse is clicked on.
875
+
876
+ Components with custom shapes will probably want to override it to perform
877
+ some more complex hit-testing.
878
+
879
+ The default implementation of this method returns either 'client' or 'none',
880
+ depending on the value that was set by calling setInterceptsMouseClicks() ('client'
881
+ is the default return value).
882
+
883
+ Note that the hit-test region is not related to the opacity with which
884
+ areas of a component are painted.
885
+
886
+ Applications should never call hitTest() directly - instead use the
887
+ contains() method, because this will also test for occlusion by the
888
+ component's parent.
889
+
890
+ Note that for components on the desktop, this method will be ignored, because it's
891
+ not always possible to implement this behaviour on all platforms.
892
+
893
+ @param x the x coordinate to test, relative to the left hand edge of this
894
+ component. This value is guaranteed to be greater than or equal to
895
+ zero, and less than the component's width
896
+ @param y the y coordinate to test, relative to the top edge of this
897
+ component. This value is guaranteed to be greater than or equal to
898
+ zero, and less than the component's height
899
+ @returns true if the click is considered to be inside the component
900
+ @see setInterceptsMouseClicks, contains
901
+ */
902
+ virtual bool hitTest (int x, int y);
903
+
904
+ /** Types of control that are commonly found in windows, especially title-bars. */
905
+ enum class WindowControlKind
906
+ {
907
+ client, ///< Parts of the component that are not transparent and also don't have any of the following control functions
908
+ caption, ///< The part of a title bar that may be dragged by the mouse to move the window
909
+ minimise, ///< The minimise/iconify button
910
+ maximise, ///< The maximise/zoom button
911
+ close, ///< The button that dismisses the component
912
+ sizeTop, ///< The area that may be dragged to move the top edge of the window
913
+ sizeLeft, ///< The area that may be dragged to move the left edge of the window
914
+ sizeRight, ///< The area that may be dragged to move the right edge of the window
915
+ sizeBottom, ///< The area that may be dragged to move the bottom edge of the window
916
+ sizeTopLeft, ///< The area that may be dragged to move the top-left corner of the window
917
+ sizeTopRight, ///< The area that may be dragged to move the top-right corner of the window
918
+ sizeBottomLeft, ///< The area that may be dragged to move the bottom-left corner of the window
919
+ sizeBottomRight, ///< The area that may be dragged to move the bottom-right corner of the window
920
+ };
921
+
922
+ /** For components that are added to the desktop, this may be called to determine what kind of
923
+ control is at particular locations in the window. On Windows, this is used to provide
924
+ functionality like Aero Snap (snapping the window to half of the screen after dragging the
925
+ window's caption area to the edge of the screen), double-clicking a horizontal border to
926
+ stretch a window vertically, and the window tiling flyout that appears when hovering the
927
+ mouse over the maximise button.
928
+ */
929
+ virtual WindowControlKind findControlAtPoint (Point<float>) const { return WindowControlKind::client; }
930
+
931
+ /** Changes the default return value for the hitTest() method.
932
+
933
+ Setting this to false is an easy way to make a component pass all its mouse events
934
+ (not just clicks) through to the components behind it.
935
+
936
+ When a component is created, the default setting for this is true.
937
+
938
+ @param allowClicksOnThisComponent if true, hitTest() will always return true; if false, it will
939
+ return false (or true for child components if allowClicksOnChildComponents
940
+ is true)
941
+ @param allowClicksOnChildComponents if this is true and allowClicksOnThisComponent is false, then child
942
+ components can be clicked on as normal but clicks on this component pass
943
+ straight through; if this is false and allowClicksOnThisComponent
944
+ is false, then neither this component nor any child components can
945
+ be clicked on
946
+ @see hitTest, getInterceptsMouseClicks
947
+ */
948
+ void setInterceptsMouseClicks (bool allowClicksOnThisComponent,
949
+ bool allowClicksOnChildComponents) noexcept;
950
+
951
+ /** Retrieves the current state of the mouse-click interception flags.
952
+
953
+ On return, the two parameters are set to the state used in the last call to
954
+ setInterceptsMouseClicks().
955
+
956
+ @see setInterceptsMouseClicks
957
+ */
958
+ void getInterceptsMouseClicks (bool& allowsClicksOnThisComponent,
959
+ bool& allowsClicksOnChildComponents) const noexcept;
960
+
961
+
962
+ /** Returns true if a given point lies within this component or one of its children.
963
+
964
+ Never override this method! Use hitTest to create custom hit regions.
965
+
966
+ @param localPoint the coordinate to test, relative to this component's top-left.
967
+ @returns true if the point is within the component's hit-test area, but only if
968
+ that part of the component isn't clipped by its parent component. Note
969
+ that this won't take into account any overlapping sibling components
970
+ which might be in the way - for that, see reallyContains()
971
+ @see hitTest, reallyContains, getComponentAt
972
+ */
973
+ bool contains (Point<int> localPoint);
974
+
975
+ /** Returns true if a given point lies within this component or one of its children.
976
+
977
+ Never override this method! Use hitTest to create custom hit regions.
978
+
979
+ @param localPoint the coordinate to test, relative to this component's top-left.
980
+ @returns true if the point is within the component's hit-test area, but only if
981
+ that part of the component isn't clipped by its parent component. Note
982
+ that this won't take into account any overlapping sibling components
983
+ which might be in the way - for that, see reallyContains()
984
+ @see hitTest, reallyContains, getComponentAt
985
+ */
986
+ bool contains (Point<float> localPoint);
987
+
988
+ /** Returns true if a given point lies in this component, taking any overlapping
989
+ siblings into account.
990
+
991
+ @param localPoint the coordinate to test, relative to this component's top-left.
992
+ @param returnTrueIfWithinAChild if the point actually lies within a child of this component,
993
+ this determines whether that is counted as a hit.
994
+ @see contains, getComponentAt
995
+ */
996
+ bool reallyContains (Point<int> localPoint, bool returnTrueIfWithinAChild);
997
+
998
+ /** Returns true if a given point lies in this component, taking any overlapping
999
+ siblings into account.
1000
+
1001
+ @param localPoint the coordinate to test, relative to this component's top-left.
1002
+ @param returnTrueIfWithinAChild if the point actually lies within a child of this component,
1003
+ this determines whether that is counted as a hit.
1004
+ @see contains, getComponentAt
1005
+ */
1006
+ bool reallyContains (Point<float> localPoint, bool returnTrueIfWithinAChild);
1007
+
1008
+ /** Returns the component at a certain point within this one.
1009
+
1010
+ @param x the x coordinate to test, relative to this component's left edge.
1011
+ @param y the y coordinate to test, relative to this component's top edge.
1012
+ @returns the component that is at this position - which may be 0, this component,
1013
+ or one of its children. Note that overlapping siblings that might actually
1014
+ be in the way are not taken into account by this method - to account for these,
1015
+ instead call getComponentAt on the top-level parent of this component.
1016
+ @see hitTest, contains, reallyContains
1017
+ */
1018
+ Component* getComponentAt (int x, int y);
1019
+
1020
+ /** Returns the component at a certain point within this one.
1021
+
1022
+ @param position the coordinate to test, relative to this component's top-left.
1023
+ @returns the component that is at this position - which may be 0, this component,
1024
+ or one of its children. Note that overlapping siblings that might actually
1025
+ be in the way are not taken into account by this method - to account for these,
1026
+ instead call getComponentAt on the top-level parent of this component.
1027
+ @see hitTest, contains, reallyContains
1028
+ */
1029
+ Component* getComponentAt (Point<int> position);
1030
+
1031
+ /** Returns the component at a certain point within this one.
1032
+
1033
+ @param position the coordinate to test, relative to this component's top-left.
1034
+ @returns the component that is at this position - which may be 0, this component,
1035
+ or one of its children. Note that overlapping siblings that might actually
1036
+ be in the way are not taken into account by this method - to account for these,
1037
+ instead call getComponentAt on the top-level parent of this component.
1038
+ @see hitTest, contains, reallyContains
1039
+ */
1040
+ Component* getComponentAt (Point<float> position);
1041
+
1042
+ //==============================================================================
1043
+ /** Marks the whole component as needing to be redrawn.
1044
+
1045
+ Calling this will not do any repainting immediately, but will mark the component
1046
+ as 'dirty'. At some point in the near future the operating system will send a paint
1047
+ message, which will redraw all the dirty regions of all components.
1048
+ There's no guarantee about how soon after calling repaint() the redraw will actually
1049
+ happen, and other queued events may be delivered before a redraw is done.
1050
+
1051
+ If the setBufferedToImage() method has been used to cause this component to use a
1052
+ buffer, the repaint() call will invalidate the cached buffer. If setCachedComponentImage()
1053
+ has been used to provide a custom image cache, that cache will be invalidated appropriately.
1054
+
1055
+ To redraw just a subsection of the component rather than the whole thing,
1056
+ use the repaint (int, int, int, int) method.
1057
+
1058
+ @see paint
1059
+ */
1060
+ void repaint();
1061
+
1062
+ /** Marks a subsection of this component as needing to be redrawn.
1063
+
1064
+ Calling this will not do any repainting immediately, but will mark the given region
1065
+ of the component as 'dirty'. At some point in the near future the operating system
1066
+ will send a paint message, which will redraw all the dirty regions of all components.
1067
+ There's no guarantee about how soon after calling repaint() the redraw will actually
1068
+ happen, and other queued events may be delivered before a redraw is done.
1069
+
1070
+ The region that is passed in will be clipped to keep it within the bounds of this
1071
+ component.
1072
+
1073
+ @see repaint()
1074
+ */
1075
+ void repaint (int x, int y, int width, int height);
1076
+
1077
+ /** Marks a subsection of this component as needing to be redrawn.
1078
+
1079
+ Calling this will not do any repainting immediately, but will mark the given region
1080
+ of the component as 'dirty'. At some point in the near future the operating system
1081
+ will send a paint message, which will redraw all the dirty regions of all components.
1082
+ There's no guarantee about how soon after calling repaint() the redraw will actually
1083
+ happen, and other queued events may be delivered before a redraw is done.
1084
+
1085
+ The region that is passed in will be clipped to keep it within the bounds of this
1086
+ component.
1087
+
1088
+ @see repaint()
1089
+ */
1090
+ void repaint (Rectangle<int> area);
1091
+
1092
+ //==============================================================================
1093
+ /** Makes the component use an internal buffer to optimise its redrawing.
1094
+
1095
+ Setting this flag to true will cause the component to allocate an
1096
+ internal buffer into which it paints itself and all its child components, so that
1097
+ when asked to redraw itself, it can use this buffer rather than actually calling
1098
+ the paint() method.
1099
+
1100
+ Parts of the buffer are invalidated when repaint() is called on this component
1101
+ or its children. The buffer is then repainted at the next paint() callback.
1102
+
1103
+ @see repaint, paint, createComponentSnapshot
1104
+ */
1105
+ void setBufferedToImage (bool shouldBeBuffered);
1106
+
1107
+ /** Generates a snapshot of part of this component.
1108
+
1109
+ This will return a new Image, the size of the rectangle specified,
1110
+ containing a snapshot of the specified area of the component and all
1111
+ its children.
1112
+
1113
+ The image may or may not have an alpha-channel, depending on whether the
1114
+ image is opaque or not.
1115
+
1116
+ If the clipImageToComponentBounds parameter is true and the area is greater than
1117
+ the size of the component, it'll be clipped. If clipImageToComponentBounds is false
1118
+ then parts of the component beyond its bounds can be drawn.
1119
+
1120
+ @see paintEntireComponent
1121
+ */
1122
+ Image createComponentSnapshot (Rectangle<int> areaToGrab,
1123
+ bool clipImageToComponentBounds = true,
1124
+ float scaleFactor = 1.0f);
1125
+
1126
+ /** Draws this component and all its subcomponents onto the specified graphics
1127
+ context.
1128
+
1129
+ You should very rarely have to use this method, it's simply there in case you need
1130
+ to draw a component with a custom graphics context for some reason, e.g. for
1131
+ creating a snapshot of the component.
1132
+
1133
+ It calls paint(), paintOverChildren() and recursively calls paintEntireComponent()
1134
+ on its children in order to render the entire tree.
1135
+
1136
+ The graphics context may be left in an undefined state after this method returns,
1137
+ so you may need to reset it if you're going to use it again.
1138
+
1139
+ If ignoreAlphaLevel is false, then the component will be drawn with the opacity level
1140
+ specified by getAlpha(); if ignoreAlphaLevel is true, then this will be ignored and
1141
+ an alpha of 1.0 will be used.
1142
+ */
1143
+ void paintEntireComponent (Graphics& context, bool ignoreAlphaLevel);
1144
+
1145
+ /** This allows you to indicate that this component doesn't require its graphics
1146
+ context to be clipped when it is being painted.
1147
+
1148
+ Most people will never need to use this setting, but in situations where you have a very large
1149
+ number of simple components being rendered, and where they are guaranteed never to do any drawing
1150
+ beyond their own boundaries, setting this to true will reduce the overhead involved in clipping
1151
+ the graphics context that gets passed to the component's paint() callback.
1152
+
1153
+ If you enable this mode, you'll need to make sure your paint method doesn't call anything like
1154
+ Graphics::fillAll(), and doesn't draw beyond the component's bounds, because that'll produce
1155
+ artifacts. This option will have no effect on components that contain any child components.
1156
+ */
1157
+ void setPaintingIsUnclipped (bool shouldPaintWithoutClipping) noexcept;
1158
+
1159
+ /** Returns true if this component doesn't require its graphics context to be clipped
1160
+ when it is being painted.
1161
+ */
1162
+ bool isPaintingUnclipped() const noexcept;
1163
+
1164
+ //==============================================================================
1165
+ /** Adds an effect filter to alter the component's appearance.
1166
+
1167
+ When a component has an effect filter set, then this is applied to the
1168
+ results of its paint() method. There are a few preset effects, such as
1169
+ a drop-shadow or glow, but they can be user-defined as well.
1170
+
1171
+ The effect that is passed in will not be deleted by the component - the
1172
+ caller must take care of deleting it.
1173
+
1174
+ To remove an effect from a component, pass a null pointer in as the parameter.
1175
+
1176
+ @see ImageEffectFilter, DropShadowEffect, GlowEffect
1177
+ */
1178
+ void setComponentEffect (ImageEffectFilter* newEffect);
1179
+
1180
+ /** Returns the current component effect.
1181
+ @see setComponentEffect
1182
+ */
1183
+ ImageEffectFilter* getComponentEffect() const noexcept;
1184
+
1185
+ //==============================================================================
1186
+ /** Finds the appropriate look-and-feel to use for this component.
1187
+
1188
+ If the component hasn't had a look-and-feel explicitly set, this will
1189
+ return the parent's look-and-feel, or just the default one if there's no
1190
+ parent.
1191
+
1192
+ @see setLookAndFeel, lookAndFeelChanged
1193
+ */
1194
+ LookAndFeel& getLookAndFeel() const noexcept;
1195
+
1196
+ /** Sets the look and feel to use for this component.
1197
+
1198
+ This will also change the look and feel for any child components that haven't
1199
+ had their look set explicitly.
1200
+
1201
+ The object passed in will not be deleted by the component, so it's the caller's
1202
+ responsibility to manage it. It may be used at any time until this component
1203
+ has been deleted.
1204
+
1205
+ Calling this method will also invoke the sendLookAndFeelChange() method.
1206
+
1207
+ @see getLookAndFeel, lookAndFeelChanged, sendLookAndFeelChange
1208
+ */
1209
+ void setLookAndFeel (LookAndFeel* newLookAndFeel);
1210
+
1211
+ /** Returns a copy of the FontOptions with the default metrics kind from the component's LookAndFeel. */
1212
+ FontOptions withDefaultMetrics (FontOptions opt) const;
1213
+
1214
+ /** Called to let the component react to a change in the look-and-feel setting.
1215
+
1216
+ When the look-and-feel is changed for a component, this method, repaint(), and
1217
+ colourChanged() are called on the original component and all its children recursively.
1218
+
1219
+ It can also be triggered manually by the sendLookAndFeelChange() method, in case
1220
+ an application uses a LookAndFeel class that might have changed internally.
1221
+
1222
+ @see sendLookAndFeelChange, getLookAndFeel
1223
+ */
1224
+ virtual void lookAndFeelChanged();
1225
+
1226
+ /** Calls the methods repaint(), lookAndFeelChanged(), and colourChanged() in this
1227
+ component and all its children recursively.
1228
+
1229
+ @see lookAndFeelChanged
1230
+ */
1231
+ void sendLookAndFeelChange();
1232
+
1233
+ //==============================================================================
1234
+ /** Indicates whether any parts of the component might be transparent.
1235
+
1236
+ Components that always paint all of their contents with solid colour and
1237
+ thus completely cover any components behind them should use this method
1238
+ to tell the repaint system that they are opaque.
1239
+
1240
+ This information is used to optimise drawing, because it means that
1241
+ objects underneath opaque windows don't need to be painted.
1242
+
1243
+ By default, components are considered transparent, unless this is used to
1244
+ make it otherwise.
1245
+
1246
+ @see isOpaque
1247
+ */
1248
+ void setOpaque (bool shouldBeOpaque);
1249
+
1250
+ /** Returns true if no parts of this component are transparent.
1251
+
1252
+ @returns the value that was set by setOpaque, (the default being false)
1253
+ @see setOpaque
1254
+ */
1255
+ bool isOpaque() const noexcept;
1256
+
1257
+ //==============================================================================
1258
+ /** Indicates whether the component should be brought to the front when clicked.
1259
+
1260
+ Setting this flag to true will cause the component to be brought to the front
1261
+ when the mouse is clicked somewhere inside it or its child components.
1262
+
1263
+ Note that a top-level desktop window might still be brought to the front by the
1264
+ operating system when it's clicked, depending on how the OS works.
1265
+
1266
+ By default this is set to false.
1267
+
1268
+ @see setMouseClickGrabsKeyboardFocus
1269
+ */
1270
+ void setBroughtToFrontOnMouseClick (bool shouldBeBroughtToFront) noexcept;
1271
+
1272
+ /** Indicates whether the component should be brought to the front when clicked-on.
1273
+ @see setBroughtToFrontOnMouseClick
1274
+ */
1275
+ bool isBroughtToFrontOnMouseClick() const noexcept;
1276
+
1277
+ //==============================================================================
1278
+ // Focus methods
1279
+
1280
+ /** Sets the focus order of this component.
1281
+
1282
+ The focus order is used by the default traverser implementation returned by
1283
+ createFocusTraverser() as part of its algorithm for deciding the order in
1284
+ which components should be traversed. A value of 0 or less is taken to mean
1285
+ that no explicit order is wanted, and that traversal should use other
1286
+ factors, like the component's position.
1287
+
1288
+ @see getExplicitFocusOrder, FocusTraverser, createFocusTraverser
1289
+ */
1290
+ void setExplicitFocusOrder (int newFocusOrderIndex);
1291
+
1292
+ /** Returns the focus order of this component, if one has been specified.
1293
+
1294
+ By default components don't have a focus order - in that case, this will
1295
+ return 0.
1296
+
1297
+ @see setExplicitFocusOrder
1298
+ */
1299
+ int getExplicitFocusOrder() const;
1300
+
1301
+ /** A focus container type that can be passed to setFocusContainerType().
1302
+
1303
+ If a component is marked as a focus container or keyboard focus container then
1304
+ it will act as the top-level component within which focus or keyboard focus is
1305
+ passed around. By default components are considered "focusable" if they are visible
1306
+ and enabled and "keyboard focusable" if `getWantsKeyboardFocus() == true`.
1307
+
1308
+ The order of traversal within a focus container is determined by the objects
1309
+ returned by createFocusTraverser() and createKeyboardFocusTraverser(),
1310
+ respectively - see the documentation of the default FocusContainer and
1311
+ KeyboardFocusContainer implementations for more information.
1312
+ */
1313
+ enum class FocusContainerType
1314
+ {
1315
+ /** The component will not act as a focus container.
1316
+
1317
+ This is the default setting for non top-level components and means that it and any
1318
+ sub-components are navigable within their containing focus container.
1319
+ */
1320
+ none,
1321
+
1322
+ /** The component will act as a top-level component within which focus is passed around.
1323
+
1324
+ The default traverser implementation returned by createFocusTraverser() will use this
1325
+ flag to find the first parent component (of the currently focused one) that wants to
1326
+ be a focus container.
1327
+
1328
+ This is currently used when determining the hierarchy of accessible UI elements presented
1329
+ to screen reader clients on supported platforms. See the AccessibilityHandler class for
1330
+ more information.
1331
+ */
1332
+ focusContainer,
1333
+
1334
+ /** The component will act as a top-level component within which keyboard focus is passed around.
1335
+
1336
+ The default traverser implementation returned by createKeyboardFocusTraverser() will
1337
+ use this flag to find the first parent component (of the currently focused one) that
1338
+ wants to be a keyboard focus container.
1339
+
1340
+ This is currently used when determining how keyboard focus is passed between components
1341
+ that have been marked as keyboard focusable with setWantsKeyboardFocus() when clicking
1342
+ on components and navigating with the tab key.
1343
+ */
1344
+ keyboardFocusContainer
1345
+ };
1346
+
1347
+ /** Sets whether this component is a container for components that can have
1348
+ their focus traversed, and the type of focus traversal that it supports.
1349
+
1350
+ @see FocusContainerType, isFocusContainer, isKeyboardFocusContainer,
1351
+ FocusTraverser, createFocusTraverser,
1352
+ KeyboardFocusTraverser, createKeyboardFocusTraverser
1353
+ */
1354
+ void setFocusContainerType (FocusContainerType containerType) noexcept;
1355
+
1356
+ /** Returns true if this component has been marked as a focus container.
1357
+
1358
+ @see setFocusContainerType
1359
+ */
1360
+ bool isFocusContainer() const noexcept;
1361
+
1362
+ /** Returns true if this component has been marked as a keyboard focus container.
1363
+
1364
+ @see setFocusContainerType
1365
+ */
1366
+ bool isKeyboardFocusContainer() const noexcept;
1367
+
1368
+ /** Returns the focus container for this component.
1369
+
1370
+ @see isFocusContainer, setFocusContainerType
1371
+ */
1372
+ Component* findFocusContainer() const;
1373
+
1374
+ /** Returns the keyboard focus container for this component.
1375
+
1376
+ @see isFocusContainer, setFocusContainerType
1377
+ */
1378
+ Component* findKeyboardFocusContainer() const;
1379
+
1380
+ //==============================================================================
1381
+ /** Sets a flag to indicate whether this component wants keyboard focus or not.
1382
+
1383
+ By default components aren't actually interested in gaining the keyboard
1384
+ focus, but this method can be used to turn this on.
1385
+
1386
+ See the grabKeyboardFocus() method for details about the way a component
1387
+ is chosen to receive the focus.
1388
+
1389
+ @see grabKeyboardFocus, giveAwayKeyboardFocus, getWantsKeyboardFocus
1390
+ */
1391
+ void setWantsKeyboardFocus (bool wantsFocus) noexcept;
1392
+
1393
+ /** Returns true if the component is interested in getting keyboard focus.
1394
+
1395
+ This returns the flag set by setWantsKeyboardFocus(). The default setting
1396
+ is false.
1397
+
1398
+ @see setWantsKeyboardFocus
1399
+ */
1400
+ bool getWantsKeyboardFocus() const noexcept;
1401
+
1402
+ /** Chooses whether a click on this component automatically grabs the focus.
1403
+
1404
+ By default this is set to true, but you might want a component which can
1405
+ be focused, but where you don't want the user to be able to affect it
1406
+ directly by clicking.
1407
+ */
1408
+ void setMouseClickGrabsKeyboardFocus (bool shouldGrabFocus);
1409
+
1410
+ /** Returns the last value set with setMouseClickGrabsKeyboardFocus().
1411
+
1412
+ @see setMouseClickGrabsKeyboardFocus
1413
+ */
1414
+ bool getMouseClickGrabsKeyboardFocus() const noexcept;
1415
+
1416
+ /** Tries to give keyboard focus to this component.
1417
+
1418
+ When the user clicks on a component or its grabKeyboardFocus() method is
1419
+ called, the following procedure is used to work out which component should
1420
+ get it:
1421
+
1422
+ - if the component that was clicked on actually wants focus (as indicated
1423
+ by calling getWantsKeyboardFocus), it gets it.
1424
+ - if the component itself doesn't want focus, it will try to pass it
1425
+ on to whichever of its children is the default component, as determined by
1426
+ the getDefaultComponent() implementation of the ComponentTraverser returned
1427
+ by createKeyboardFocusTraverser().
1428
+ - if none of its children want focus at all, it will pass it up to its
1429
+ parent instead, unless it's a top-level component without a parent,
1430
+ in which case it just takes the focus itself.
1431
+
1432
+ Important note! It's obviously not possible for a component to be focused
1433
+ unless it's actually visible, on-screen, and inside a window that is also
1434
+ visible. So there's no point trying to call this in the component's own
1435
+ constructor or before all of its parent hierarchy has been fully instantiated.
1436
+
1437
+ @see giveAwayKeyboardFocus, setWantsKeyboardFocus, getWantsKeyboardFocus,
1438
+ hasKeyboardFocus, getCurrentlyFocusedComponent, focusGained, focusLost,
1439
+ keyPressed, keyStateChanged
1440
+ */
1441
+ void grabKeyboardFocus();
1442
+
1443
+ /** If this component or any of its children currently have the keyboard focus,
1444
+ this will defocus it, send a focus change notification, and try to pass the
1445
+ focus to the next component.
1446
+
1447
+ @see grabKeyboardFocus, setWantsKeyboardFocus, getCurrentlyFocusedComponent,
1448
+ focusGained, focusLost
1449
+ */
1450
+ void giveAwayKeyboardFocus();
1451
+
1452
+ /** Returns true if this component currently has the keyboard focus.
1453
+
1454
+ @param trueIfChildIsFocused if this is true, then the method returns true if
1455
+ either this component or any of its children (recursively)
1456
+ have the focus. If false, the method only returns true if
1457
+ this component has the focus.
1458
+
1459
+ @see grabKeyboardFocus, giveAwayKeyboardFocus, setWantsKeyboardFocus,
1460
+ getCurrentlyFocusedComponent, focusGained, focusLost
1461
+ */
1462
+ bool hasKeyboardFocus (bool trueIfChildIsFocused) const;
1463
+
1464
+ /** Tries to move the keyboard focus to one of this component's siblings.
1465
+
1466
+ This will try to move focus to either the next or previous component, as
1467
+ determined by the getNextComponent() and getPreviousComponent() implementations
1468
+ of the ComponentTraverser returned by createKeyboardFocusTraverser().
1469
+
1470
+ This is the method that is used when shifting focus by pressing the tab key.
1471
+
1472
+ @param moveToNext if true, the focus will move forwards; if false, it will
1473
+ move backwards
1474
+ @see grabKeyboardFocus, giveAwayKeyboardFocus, setFocusContainerType, setWantsKeyboardFocus
1475
+ */
1476
+ void moveKeyboardFocusToSibling (bool moveToNext);
1477
+
1478
+ /** Returns the component that currently has the keyboard focus.
1479
+
1480
+ @returns the focused component, or nullptr if nothing is focused.
1481
+ */
1482
+ static Component* JUCE_CALLTYPE getCurrentlyFocusedComponent() noexcept;
1483
+
1484
+ /** If any component has keyboard focus, this will defocus it. */
1485
+ static void JUCE_CALLTYPE unfocusAllComponents();
1486
+
1487
+ //==============================================================================
1488
+ /** Creates a ComponentTraverser object to determine the logic by which focus should be
1489
+ passed from this component.
1490
+
1491
+ The default implementation of this method will return an instance of FocusTraverser
1492
+ if this component is a focus container (as determined by the setFocusContainerType()
1493
+ method). If the component isn't a focus container, then it will recursively call
1494
+ createFocusTraverser() on its parents.
1495
+
1496
+ If you override this to return a custom traverser object, then this component and
1497
+ all its sub-components will use the new object to make their focusing decisions.
1498
+ */
1499
+ virtual std::unique_ptr<ComponentTraverser> createFocusTraverser();
1500
+
1501
+ /** Creates a ComponentTraverser object to use to determine the logic by which keyboard
1502
+ focus should be passed from this component.
1503
+
1504
+ The default implementation of this method will return an instance of
1505
+ KeyboardFocusTraverser if this component is a keyboard focus container (as determined by
1506
+ the setFocusContainerType() method). If the component isn't a keyboard focus container,
1507
+ then it will recursively call createKeyboardFocusTraverser() on its parents.
1508
+
1509
+ If you override this to return a custom traverser object, then this component and
1510
+ all its sub-components will use the new object to make their keyboard focusing
1511
+ decisions.
1512
+ */
1513
+ virtual std::unique_ptr<ComponentTraverser> createKeyboardFocusTraverser();
1514
+
1515
+ /** Use this to indicate that the component should have an outline drawn around it
1516
+ when it has keyboard focus.
1517
+
1518
+ If this is set to true, then when the component gains keyboard focus the
1519
+ LookAndFeel::createFocusOutlineForComponent() method will be used to draw an outline
1520
+ around it.
1521
+
1522
+ @see FocusOutline, hasFocusOutline
1523
+ */
1524
+ void setHasFocusOutline (bool hasFocusOutline) noexcept { flags.hasFocusOutlineFlag = hasFocusOutline; }
1525
+
1526
+ /** Returns true if this component should have a focus outline.
1527
+
1528
+ @see FocusOutline, setHasFocusOutline
1529
+ */
1530
+ bool hasFocusOutline() const noexcept { return flags.hasFocusOutlineFlag; }
1531
+
1532
+ //==============================================================================
1533
+ /** Returns true if the component (and all its parents) are enabled.
1534
+
1535
+ Components are enabled by default, and can be disabled with setEnabled(). Exactly
1536
+ what difference this makes to the component depends on the type. E.g. buttons
1537
+ and sliders will choose to draw themselves differently, etc.
1538
+
1539
+ Note that if one of this component's parents is disabled, this will always
1540
+ return false, even if this component itself is enabled.
1541
+
1542
+ @see setEnabled, enablementChanged
1543
+ */
1544
+ bool isEnabled() const noexcept;
1545
+
1546
+ /** Enables or disables this component.
1547
+
1548
+ Disabling a component will also cause all of its child components to become
1549
+ disabled.
1550
+
1551
+ Similarly, enabling a component which is inside a disabled parent
1552
+ component won't make any difference until the parent is re-enabled.
1553
+
1554
+ @see isEnabled, enablementChanged
1555
+ */
1556
+ void setEnabled (bool shouldBeEnabled);
1557
+
1558
+ /** Callback to indicate that this component has been enabled or disabled.
1559
+
1560
+ This can be triggered by one of the component's parent components
1561
+ being enabled or disabled, as well as changes to the component itself.
1562
+
1563
+ The default implementation of this method does nothing; your class may
1564
+ wish to repaint itself or something when this happens.
1565
+
1566
+ @see setEnabled, isEnabled
1567
+ */
1568
+ virtual void enablementChanged();
1569
+
1570
+ //==============================================================================
1571
+ /** Returns the component's current transparency level.
1572
+ See setAlpha() for more details.
1573
+ */
1574
+ float getAlpha() const noexcept;
1575
+
1576
+ /** Changes the transparency of this component.
1577
+ When painted, the entire component and all its children will be rendered
1578
+ with this as the overall opacity level, where 0 is completely invisible, and
1579
+ 1.0 is fully opaque (i.e. normal).
1580
+
1581
+ @see getAlpha, alphaChanged
1582
+ */
1583
+ void setAlpha (float newAlpha);
1584
+
1585
+ /** Called when setAlpha() is used to change the alpha value of this component.
1586
+ If you override this, you should also invoke the base class's implementation
1587
+ during your overridden function, as it performs some repainting behaviour.
1588
+ */
1589
+ virtual void alphaChanged();
1590
+
1591
+ //==============================================================================
1592
+ /** Changes the mouse cursor shape to use when the mouse is over this component.
1593
+
1594
+ Note that the cursor set by this method can be overridden by the getMouseCursor
1595
+ method.
1596
+
1597
+ @see MouseCursor
1598
+ */
1599
+ void setMouseCursor (const MouseCursor& cursorType);
1600
+
1601
+ /** Returns the mouse cursor shape to use when the mouse is over this component.
1602
+
1603
+ The default implementation will return the cursor that was set by setCursor()
1604
+ but can be overridden for more specialised purposes, e.g. returning different
1605
+ cursors depending on the mouse position.
1606
+
1607
+ @see MouseCursor
1608
+ */
1609
+ virtual MouseCursor getMouseCursor();
1610
+
1611
+ /** Forces the current mouse cursor to be updated.
1612
+
1613
+ If you're overriding the getMouseCursor() method to control which cursor is
1614
+ displayed, then this will only be checked each time the user moves the mouse. So
1615
+ if you want to force the system to check that the cursor being displayed is
1616
+ up-to-date (even if the mouse is just sitting there), call this method.
1617
+
1618
+ (If you're changing the cursor using setMouseCursor(), you don't need to bother
1619
+ calling this).
1620
+ */
1621
+ void updateMouseCursor() const;
1622
+
1623
+ //==============================================================================
1624
+ /** Components can override this method to draw their content.
1625
+
1626
+ The paint() method gets called when a region of a component needs redrawing,
1627
+ either because the component's repaint() method has been called, or because
1628
+ something has happened on the screen that means a section of a window needs
1629
+ to be redrawn.
1630
+
1631
+ Any child components will draw themselves over whatever this method draws. If
1632
+ you need to paint over the top of your child components, you can also implement
1633
+ the paintOverChildren() method to do this.
1634
+
1635
+ If you want to cause a component to redraw itself, this is done asynchronously -
1636
+ calling the repaint() method marks a region of the component as "dirty", and the
1637
+ paint() method will automatically be called sometime later, by the message thread,
1638
+ to paint any bits that need refreshing. In JUCE (and almost all modern UI frameworks),
1639
+ you never redraw something synchronously.
1640
+
1641
+ You should never need to call this method directly - to take a snapshot of the
1642
+ component you could use createComponentSnapshot() or paintEntireComponent().
1643
+
1644
+ @param g the graphics context that must be used to do the drawing operations.
1645
+ @see repaint, paintOverChildren, Graphics
1646
+ */
1647
+ virtual void paint (Graphics& g);
1648
+
1649
+ /** Components can override this method to draw over the top of their children.
1650
+
1651
+ For most drawing operations, it's better to use the normal paint() method,
1652
+ but if you need to overlay something on top of the children, this can be
1653
+ used.
1654
+
1655
+ @see paint, Graphics
1656
+ */
1657
+ virtual void paintOverChildren (Graphics& g);
1658
+
1659
+
1660
+ //==============================================================================
1661
+ /** Called when the mouse moves inside a component.
1662
+
1663
+ If the mouse button isn't pressed and the mouse moves over a component,
1664
+ this will be called to let the component react to this.
1665
+
1666
+ A component will always get a mouseEnter callback before a mouseMove.
1667
+
1668
+ @param event details about the position and status of the mouse event, including
1669
+ the source component in which it occurred
1670
+ @see mouseEnter, mouseExit, mouseDrag, contains
1671
+ */
1672
+ void mouseMove (const MouseEvent& event) override;
1673
+
1674
+ /** Called when the mouse first enters a component.
1675
+
1676
+ If the mouse button isn't pressed and the mouse moves into a component,
1677
+ this will be called to let the component react to this.
1678
+
1679
+ When the mouse button is pressed and held down while being moved in
1680
+ or out of a component, no mouseEnter or mouseExit callbacks are made - only
1681
+ mouseDrag messages are sent to the component that the mouse was originally
1682
+ clicked on, until the button is released.
1683
+
1684
+ @param event details about the position and status of the mouse event, including
1685
+ the source component in which it occurred
1686
+ @see mouseExit, mouseDrag, mouseMove, contains
1687
+ */
1688
+ void mouseEnter (const MouseEvent& event) override;
1689
+
1690
+ /** Called when the mouse moves out of a component.
1691
+
1692
+ This will be called when the mouse moves off the edge of this
1693
+ component.
1694
+
1695
+ If the mouse button was pressed, and it was then dragged off the
1696
+ edge of the component and released, then this callback will happen
1697
+ when the button is released, after the mouseUp callback.
1698
+
1699
+ @param event details about the position and status of the mouse event, including
1700
+ the source component in which it occurred
1701
+ @see mouseEnter, mouseDrag, mouseMove, contains
1702
+ */
1703
+ void mouseExit (const MouseEvent& event) override;
1704
+
1705
+ /** Called when a mouse button is pressed.
1706
+
1707
+ The MouseEvent object passed in contains lots of methods for finding out
1708
+ which button was pressed, as well as which modifier keys (e.g. shift, ctrl)
1709
+ were held down at the time.
1710
+
1711
+ Once a button is held down, the mouseDrag method will be called when the
1712
+ mouse moves, until the button is released.
1713
+
1714
+ @param event details about the position and status of the mouse event, including
1715
+ the source component in which it occurred
1716
+ @see mouseUp, mouseDrag, mouseDoubleClick, contains
1717
+ */
1718
+ void mouseDown (const MouseEvent& event) override;
1719
+
1720
+ /** Called when the mouse is moved while a button is held down.
1721
+
1722
+ When a mouse button is pressed inside a component, that component
1723
+ receives mouseDrag callbacks each time the mouse moves, even if the
1724
+ mouse strays outside the component's bounds.
1725
+
1726
+ @param event details about the position and status of the mouse event, including
1727
+ the source component in which it occurred
1728
+ @see mouseDown, mouseUp, mouseMove, contains, setDragRepeatInterval
1729
+ */
1730
+ void mouseDrag (const MouseEvent& event) override;
1731
+
1732
+ /** Called when a mouse button is released.
1733
+
1734
+ A mouseUp callback is sent to the component in which a button was pressed
1735
+ even if the mouse is actually over a different component when the
1736
+ button is released.
1737
+
1738
+ The MouseEvent object passed in contains lots of methods for finding out
1739
+ which buttons were down just before they were released.
1740
+
1741
+ @param event details about the position and status of the mouse event, including
1742
+ the source component in which it occurred
1743
+ @see mouseDown, mouseDrag, mouseDoubleClick, contains
1744
+ */
1745
+ void mouseUp (const MouseEvent& event) override;
1746
+
1747
+ /** Called when a mouse button has been double-clicked on a component.
1748
+
1749
+ The MouseEvent object passed in contains lots of methods for finding out
1750
+ which button was pressed, as well as which modifier keys (e.g. shift, ctrl)
1751
+ were held down at the time.
1752
+
1753
+ @param event details about the position and status of the mouse event, including
1754
+ the source component in which it occurred
1755
+ @see mouseDown, mouseUp
1756
+ */
1757
+ void mouseDoubleClick (const MouseEvent& event) override;
1758
+
1759
+ /** Called when the mouse-wheel is moved.
1760
+
1761
+ This callback is sent to the component that the mouse is over when the
1762
+ wheel is moved.
1763
+
1764
+ If not overridden, a component will forward this message to its parent, so
1765
+ that parent components can collect mouse-wheel messages that happen to
1766
+ child components which aren't interested in them. (Bear in mind that if
1767
+ you attach a component as a mouse-listener to other components, then
1768
+ those wheel moves will also end up calling this method and being passed up
1769
+ to the parents, which may not be what you intended to happen).
1770
+
1771
+ @param event details about the mouse event
1772
+ @param wheel details about the mouse wheel movement
1773
+ */
1774
+ void mouseWheelMove (const MouseEvent& event,
1775
+ const MouseWheelDetails& wheel) override;
1776
+
1777
+ /** Called when a pinch-to-zoom mouse-gesture is used.
1778
+
1779
+ If not overridden, a component will forward this message to its parent, so
1780
+ that parent components can collect gesture messages that are unused by child
1781
+ components.
1782
+
1783
+ @param event details about the mouse event
1784
+ @param scaleFactor a multiplier to indicate by how much the size of the target
1785
+ should be changed. A value of 1.0 would indicate no change,
1786
+ values greater than 1.0 mean it should be enlarged.
1787
+ */
1788
+ void mouseMagnify (const MouseEvent& event, float scaleFactor) override;
1789
+
1790
+ //==============================================================================
1791
+ /** Ensures that a non-stop stream of mouse-drag events will be sent during the
1792
+ current mouse-drag operation.
1793
+
1794
+ This allows you to make sure that mouseDrag() events are sent continuously, even
1795
+ when the mouse isn't moving. This can be useful for things like auto-scrolling
1796
+ components when the mouse is near an edge.
1797
+
1798
+ Call this method during a mouseDown() or mouseDrag() callback, specifying the
1799
+ minimum interval between consecutive mouse drag callbacks. The callbacks
1800
+ will continue until the mouse is released, and then the interval will be reset,
1801
+ so you need to make sure it's called every time you begin a drag event.
1802
+ Passing an interval of 0 or less will cancel the auto-repeat.
1803
+
1804
+ @see mouseDrag, Desktop::beginDragAutoRepeat
1805
+ */
1806
+ static void JUCE_CALLTYPE beginDragAutoRepeat (int millisecondsBetweenCallbacks);
1807
+
1808
+ /** Causes automatic repaints when the mouse enters or exits this component.
1809
+
1810
+ If turned on, then when the mouse enters/exits, or when the button is pressed/released
1811
+ on the component, it will trigger a repaint.
1812
+
1813
+ This is handy for things like buttons that need to draw themselves differently when
1814
+ the mouse moves over them, and it avoids having to override all the different mouse
1815
+ callbacks and call repaint().
1816
+
1817
+ @see mouseEnter, mouseExit, mouseDown, mouseUp
1818
+ */
1819
+ void setRepaintsOnMouseActivity (bool shouldRepaint) noexcept;
1820
+
1821
+ /** Registers a listener to be told when mouse events occur in this component.
1822
+
1823
+ If you need to get informed about mouse events in a component but can't or
1824
+ don't want to override its methods, you can attach any number of listeners
1825
+ to the component, and these will get told about the events in addition to
1826
+ the component's own callbacks being called.
1827
+
1828
+ Note that a MouseListener can also be attached to more than one component.
1829
+
1830
+ @param newListener the listener to register
1831
+ @param wantsEventsForAllNestedChildComponents if true, the listener will receive callbacks
1832
+ for events that happen to any child component
1833
+ within this component, including deeply-nested
1834
+ child components. If false, it will only be
1835
+ told about events that this component handles.
1836
+ @see MouseListener, removeMouseListener
1837
+ */
1838
+ void addMouseListener (MouseListener* newListener,
1839
+ bool wantsEventsForAllNestedChildComponents);
1840
+
1841
+ /** Deregisters a mouse listener.
1842
+ @see addMouseListener, MouseListener
1843
+ */
1844
+ void removeMouseListener (MouseListener* listenerToRemove);
1845
+
1846
+ //==============================================================================
1847
+ /** Adds a listener that wants to hear about keypresses that this component receives.
1848
+
1849
+ The listeners that are registered with a component are called by its keyPressed() or
1850
+ keyStateChanged() methods (assuming these haven't been overridden to do something else).
1851
+
1852
+ If you add an object as a key listener, be careful to remove it when the object
1853
+ is deleted, or the component will be left with a dangling pointer.
1854
+
1855
+ @see keyPressed, keyStateChanged, removeKeyListener
1856
+ */
1857
+ void addKeyListener (KeyListener* newListener);
1858
+
1859
+ /** Removes a previously-registered key listener.
1860
+ @see addKeyListener
1861
+ */
1862
+ void removeKeyListener (KeyListener* listenerToRemove);
1863
+
1864
+ /** Called when a key is pressed.
1865
+
1866
+ When a key is pressed, the component that has the keyboard focus will have this
1867
+ method called. Remember that a component will only be given the focus if its
1868
+ setWantsKeyboardFocus() method has been used to enable this.
1869
+
1870
+ If your implementation returns true, the event will be consumed and not passed
1871
+ on to any other listeners. If it returns false, the key will be passed to any
1872
+ KeyListeners that have been registered with this component. As soon as one of these
1873
+ returns true, the process will stop, but if they all return false, the event will
1874
+ be passed upwards to this component's parent, and so on.
1875
+
1876
+ The default implementation of this method does nothing and returns false.
1877
+
1878
+ @see keyStateChanged, getCurrentlyFocusedComponent, addKeyListener
1879
+ */
1880
+ virtual bool keyPressed (const KeyPress& key);
1881
+
1882
+ /** Called when a key is pressed or released.
1883
+
1884
+ Whenever a key on the keyboard is pressed or released (including modifier keys
1885
+ like shift and ctrl), this method will be called on the component that currently
1886
+ has the keyboard focus. Remember that a component will only be given the focus if
1887
+ its setWantsKeyboardFocus() method has been used to enable this.
1888
+
1889
+ If your implementation returns true, the event will be consumed and not passed
1890
+ on to any other listeners. If it returns false, then any KeyListeners that have
1891
+ been registered with this component will have their keyStateChanged methods called.
1892
+ As soon as one of these returns true, the process will stop, but if they all return
1893
+ false, the event will be passed upwards to this component's parent, and so on.
1894
+
1895
+ The default implementation of this method does nothing and returns false.
1896
+
1897
+ To find out which keys are up or down at any time, see the KeyPress::isKeyCurrentlyDown()
1898
+ method.
1899
+
1900
+ @param isKeyDown true if a key has been pressed; false if it has been released
1901
+
1902
+ @see keyPressed, KeyPress, getCurrentlyFocusedComponent, addKeyListener
1903
+ */
1904
+ virtual bool keyStateChanged (bool isKeyDown);
1905
+
1906
+ /** Called when a modifier key is pressed or released.
1907
+
1908
+ Whenever the shift, control, alt or command keys are pressed or released,
1909
+ this method will be called.
1910
+
1911
+ The component that is currently under the main mouse pointer will be tried first and,
1912
+ if there is no component currently under the pointer, the component that currently
1913
+ has the keyboard focus will have this method called. Remember that a component will
1914
+ only be given the focus if its setWantsKeyboardFocus() method has been used to enable this.
1915
+
1916
+ The default implementation of this method actually calls its parent's modifierKeysChanged
1917
+ method, so that focused components which aren't interested in this will give their
1918
+ parents a chance to act on the event instead.
1919
+
1920
+ @see keyStateChanged, ModifierKeys
1921
+ */
1922
+ virtual void modifierKeysChanged (const ModifierKeys& modifiers);
1923
+
1924
+ //==============================================================================
1925
+ /** Enumeration used by the focusGained() and focusLost() methods. */
1926
+ enum FocusChangeType
1927
+ {
1928
+ focusChangedByMouseClick, /**< Means that the user clicked the mouse to change focus. */
1929
+ focusChangedByTabKey, /**< Means that the user pressed the tab key to move the focus. */
1930
+ focusChangedDirectly /**< Means that the focus was changed by a call to grabKeyboardFocus(). */
1931
+ };
1932
+
1933
+ /** Enumeration used by the focusGainedWithDirection() method. */
1934
+ enum class FocusChangeDirection
1935
+ {
1936
+ unknown,
1937
+ forward,
1938
+ backward
1939
+ };
1940
+
1941
+ /** Called to indicate that this component has just acquired the keyboard focus.
1942
+ @see focusLost, setWantsKeyboardFocus, getCurrentlyFocusedComponent, hasKeyboardFocus
1943
+ */
1944
+ virtual void focusGained (FocusChangeType cause);
1945
+
1946
+ /** Called to indicate that this component has just acquired the keyboard focus.
1947
+
1948
+ This function is called every time focusGained() is called but it has an additional change
1949
+ direction parameter.
1950
+
1951
+ @see focusLost, setWantsKeyboardFocus, getCurrentlyFocusedComponent, hasKeyboardFocus
1952
+ */
1953
+ virtual void focusGainedWithDirection (FocusChangeType cause, FocusChangeDirection direction);
1954
+
1955
+ /** Called to indicate that this component has just lost the keyboard focus.
1956
+ @see focusGained, setWantsKeyboardFocus, getCurrentlyFocusedComponent, hasKeyboardFocus
1957
+ */
1958
+ virtual void focusLost (FocusChangeType cause);
1959
+
1960
+ /** Called to indicate a change in whether or not this component is the parent of the
1961
+ currently-focused component.
1962
+
1963
+ Essentially this is called when the return value of a call to hasKeyboardFocus (true) has
1964
+ changed. It happens when focus moves from one of this component's children (at any depth)
1965
+ to a component that isn't contained in this one, (or vice-versa).
1966
+ Note that this method does NOT get called to when focus simply moves from one of its
1967
+ child components to another.
1968
+
1969
+ @see focusGained, setWantsKeyboardFocus, getCurrentlyFocusedComponent, hasKeyboardFocus
1970
+ */
1971
+ virtual void focusOfChildComponentChanged (FocusChangeType cause);
1972
+
1973
+ //==============================================================================
1974
+ /** Returns true if the mouse is currently over this component.
1975
+
1976
+ If the mouse isn't over the component, this will return false, even if the
1977
+ mouse is currently being dragged - so you can use this in your mouseDrag
1978
+ method to find out whether it's really over the component or not.
1979
+
1980
+ Note that when the mouse button is being held down, then the only component
1981
+ for which this method will return true is the one that was originally
1982
+ clicked on.
1983
+
1984
+ Also note that on a touch-screen device, this will only return true when a finger
1985
+ is actually down - as soon as all touch is released, isMouseOver will always
1986
+ return false.
1987
+
1988
+ If includeChildren is true, then this will also return true if the mouse is over
1989
+ any of the component's children (recursively) as well as the component itself.
1990
+
1991
+ @see isMouseButtonDown. isMouseOverOrDragging, mouseDrag
1992
+ */
1993
+ bool isMouseOver (bool includeChildren = false) const;
1994
+
1995
+ /** Returns true if the mouse button is currently held down in this component.
1996
+
1997
+ Note that this is a test to see whether the mouse is being pressed in this
1998
+ component, so it'll return false if called on component A when the mouse
1999
+ is actually being dragged in component B.
2000
+
2001
+ @see isMouseButtonDownAnywhere, isMouseOver, isMouseOverOrDragging
2002
+ */
2003
+ bool isMouseButtonDown (bool includeChildren = false) const;
2004
+
2005
+ /** True if the mouse is over this component, or if it's being dragged in this component.
2006
+ This is a handy equivalent to (isMouseOver() || isMouseButtonDown()).
2007
+ @see isMouseOver, isMouseButtonDown, isMouseButtonDownAnywhere
2008
+ */
2009
+ bool isMouseOverOrDragging (bool includeChildren = false) const;
2010
+
2011
+ /** Returns true if a mouse button is currently down.
2012
+
2013
+ Unlike isMouseButtonDown, this will test the current state of the
2014
+ buttons without regard to which component (if any) it has been
2015
+ pressed in.
2016
+
2017
+ @see isMouseButtonDown, ModifierKeys
2018
+ */
2019
+ static bool JUCE_CALLTYPE isMouseButtonDownAnywhere() noexcept;
2020
+
2021
+ /** Returns the mouse's current position, relative to this component.
2022
+ The return value is relative to the component's top-left corner.
2023
+ */
2024
+ Point<int> getMouseXYRelative() const;
2025
+
2026
+ //==============================================================================
2027
+ /** Called when this component's size has been changed.
2028
+
2029
+ A component can implement this method to do things such as laying out its
2030
+ child components when its width or height changes.
2031
+
2032
+ The method is called synchronously as a result of the setBounds or setSize
2033
+ methods, so repeatedly changing a components size will repeatedly call its
2034
+ resized method (unlike things like repainting, where multiple calls to repaint
2035
+ are coalesced together).
2036
+
2037
+ If the component is a top-level window on the desktop, its size could also
2038
+ be changed by operating-system factors beyond the application's control.
2039
+
2040
+ @see moved, setSize
2041
+ */
2042
+ virtual void resized();
2043
+
2044
+ /** Called when this component's position has been changed.
2045
+
2046
+ This is called when the position relative to its parent changes, not when
2047
+ its absolute position on the screen changes (so it won't be called for
2048
+ all child components when a parent component is moved).
2049
+
2050
+ The method is called synchronously as a result of the setBounds, setTopLeftPosition
2051
+ or any of the other repositioning methods, and like resized(), it will be
2052
+ called each time those methods are called.
2053
+
2054
+ If the component is a top-level window on the desktop, its position could also
2055
+ be changed by operating-system factors beyond the application's control.
2056
+
2057
+ @see resized, setBounds
2058
+ */
2059
+ virtual void moved();
2060
+
2061
+ /** Called when one of this component's children is moved or resized.
2062
+
2063
+ If the parent wants to know about changes to its immediate children (not
2064
+ to children of its children), this is the method to override.
2065
+
2066
+ @see moved, resized, parentSizeChanged
2067
+ */
2068
+ virtual void childBoundsChanged (Component* child);
2069
+
2070
+ /** Called when this component's immediate parent has been resized.
2071
+
2072
+ If the component is a top-level window, this indicates that the screen size
2073
+ has changed.
2074
+
2075
+ @see childBoundsChanged, moved, resized
2076
+ */
2077
+ virtual void parentSizeChanged();
2078
+
2079
+ /** Called when this component has been moved to the front of its siblings.
2080
+
2081
+ The component may have been brought to the front by the toFront() method, or
2082
+ by the operating system if it's a top-level window.
2083
+
2084
+ @see toFront
2085
+ */
2086
+ virtual void broughtToFront();
2087
+
2088
+ /** Adds a listener to be told about changes to the component hierarchy or position.
2089
+
2090
+ Component listeners get called when this component's size, position or children
2091
+ change - see the ComponentListener class for more details.
2092
+
2093
+ @param newListener the listener to register - if this is already registered, it
2094
+ will be ignored.
2095
+ @see ComponentListener, removeComponentListener
2096
+ */
2097
+ void addComponentListener (ComponentListener* newListener);
2098
+
2099
+ /** Removes a component listener.
2100
+ @see addComponentListener
2101
+ */
2102
+ void removeComponentListener (ComponentListener* listenerToRemove);
2103
+
2104
+ //==============================================================================
2105
+ /** Dispatches a numbered message to this component.
2106
+
2107
+ This is a quick and cheap way of allowing simple asynchronous messages to
2108
+ be sent to components. It's also safe, because if the component that you
2109
+ send the message to is a null or dangling pointer, this won't cause an error.
2110
+
2111
+ The command ID is later delivered to the component's handleCommandMessage() method by
2112
+ the application's message queue.
2113
+
2114
+ @see handleCommandMessage
2115
+ */
2116
+ void postCommandMessage (int commandId);
2117
+
2118
+ /** Called to handle a command that was sent by postCommandMessage().
2119
+
2120
+ This is called by the message thread when a command message arrives, and
2121
+ the component can override this method to process it in any way it needs to.
2122
+
2123
+ @see postCommandMessage
2124
+ */
2125
+ virtual void handleCommandMessage (int commandId);
2126
+
2127
+ //==============================================================================
2128
+ #if JUCE_MODAL_LOOPS_PERMITTED
2129
+ /** Runs a component modally, waiting until the loop terminates.
2130
+
2131
+ This method first makes the component visible, brings it to the front and
2132
+ gives it the keyboard focus.
2133
+
2134
+ It then runs a loop, dispatching messages from the system message queue, but
2135
+ blocking all mouse or keyboard messages from reaching any components other
2136
+ than this one and its children.
2137
+
2138
+ This loop continues until the component's exitModalState() method is called (or
2139
+ the component is deleted), and then this method returns, returning the value
2140
+ passed into exitModalState().
2141
+
2142
+ Note that you SHOULD NEVER USE THIS METHOD! Modal loops are a dangerous construct
2143
+ because things that happen during the events that they dispatch could affect the
2144
+ state of objects which are currently in use somewhere on the stack, so when the
2145
+ loop finishes and the stack unwinds, horrible problems can occur. This is especially
2146
+ bad in plugins, where the host may choose to delete the plugin during runModalLoop(),
2147
+ so that when it returns, the entire DLL could have been unloaded from memory!
2148
+ Also, some OSes deliberately make it impossible to run modal loops (e.g. Android),
2149
+ so this method won't even exist on some platforms.
2150
+
2151
+ @see enterModalState, exitModalState, isCurrentlyModal, getCurrentlyModalComponent,
2152
+ isCurrentlyBlockedByAnotherModalComponent, ModalComponentManager
2153
+ */
2154
+ int runModalLoop();
2155
+ #endif
2156
+
2157
+ /** Puts the component into a modal state.
2158
+
2159
+ This makes the component modal, so that messages are blocked from reaching
2160
+ any components other than this one and its children, but unlike runModalLoop(),
2161
+ this method returns immediately.
2162
+
2163
+ If takeKeyboardFocus is true, the component will use grabKeyboardFocus() to
2164
+ get the focus, which is usually what you'll want it to do. If not, it will leave
2165
+ the focus unchanged.
2166
+
2167
+ The callback is an optional object which will receive a callback when the modal
2168
+ component loses its modal status, either by being hidden or when exitModalState()
2169
+ is called. If you pass an object in here, the system will take care of deleting it
2170
+ later, after making the callback.
2171
+
2172
+ If deleteWhenDismissed is true, then when it is dismissed, the component will be
2173
+ deleted and then the callback will be called. (This will safely handle the situation
2174
+ where the component is deleted before its exitModalState() method is called).
2175
+
2176
+ @see exitModalState, runModalLoop, ModalComponentManager::attachCallback,
2177
+ ModalCallbackFunction
2178
+ */
2179
+ void enterModalState (bool takeKeyboardFocus = true,
2180
+ ModalComponentManager::Callback* callback = nullptr,
2181
+ bool deleteWhenDismissed = false);
2182
+
2183
+ /** Ends a component's modal state.
2184
+
2185
+ If this component is currently modal, this will turn off its modalness, and return
2186
+ a value to the runModalLoop() method that might have be running its modal loop.
2187
+
2188
+ @see runModalLoop, enterModalState, isCurrentlyModal
2189
+ */
2190
+ void exitModalState (int returnValue = 0);
2191
+
2192
+ /** Returns true if this component is the modal one.
2193
+
2194
+ It's possible to have nested modal components, e.g. a pop-up dialog box
2195
+ that launches another pop-up. If onlyConsiderForemostModalComponent is
2196
+ true then isCurrentlyModal will only return true for the one at the top
2197
+ of the stack. If onlyConsiderForemostModalComponent is false then
2198
+ isCurrentlyModal will return true for any modal component in the stack.
2199
+
2200
+ @see getCurrentlyModalComponent
2201
+ */
2202
+ bool isCurrentlyModal (bool onlyConsiderForemostModalComponent = true) const noexcept;
2203
+
2204
+ /** Returns the number of components that are currently in a modal state.
2205
+ @see getCurrentlyModalComponent
2206
+ */
2207
+ static int JUCE_CALLTYPE getNumCurrentlyModalComponents() noexcept;
2208
+
2209
+ /** Returns one of the components that are currently modal.
2210
+
2211
+ The index specifies which of the possible modal components to return. The order
2212
+ of the components in this list is the reverse of the order in which they became
2213
+ modal - so the component at index 0 is always the active component, and the others
2214
+ are progressively earlier ones that are themselves now blocked by later ones.
2215
+
2216
+ @returns the modal component, or null if no components are modal (or if the
2217
+ index is out of range)
2218
+ @see getNumCurrentlyModalComponents, runModalLoop, isCurrentlyModal
2219
+ */
2220
+ static Component* JUCE_CALLTYPE getCurrentlyModalComponent (int index = 0) noexcept;
2221
+
2222
+ /** Checks whether there's a modal component somewhere that's stopping this one
2223
+ from receiving messages.
2224
+
2225
+ If there is a modal component, its canModalEventBeSentToComponent() method
2226
+ will be called to see if it will still allow this component to receive events.
2227
+
2228
+ @see runModalLoop, getCurrentlyModalComponent
2229
+ */
2230
+ bool isCurrentlyBlockedByAnotherModalComponent() const;
2231
+
2232
+ /** When a component is modal, this callback allows it to choose which other
2233
+ components can still receive events.
2234
+
2235
+ When a modal component is active and the user clicks on a non-modal component,
2236
+ this method is called on the modal component, and if it returns true, the
2237
+ event is allowed to reach its target. If it returns false, the event is blocked
2238
+ and the inputAttemptWhenModal() callback is made.
2239
+
2240
+ It called by the isCurrentlyBlockedByAnotherModalComponent() method. The default
2241
+ implementation just returns false in all cases.
2242
+ */
2243
+ virtual bool canModalEventBeSentToComponent (const Component* targetComponent);
2244
+
2245
+ /** Called when the user tries to click on a component that is blocked by another
2246
+ modal component.
2247
+
2248
+ When a component is modal and the user clicks on one of the other components,
2249
+ the modal component will receive this callback.
2250
+
2251
+ The default implementation of this method will play a beep, and bring the currently
2252
+ modal component to the front, but it can be overridden to do other tasks.
2253
+
2254
+ @see isCurrentlyBlockedByAnotherModalComponent, canModalEventBeSentToComponent
2255
+ */
2256
+ virtual void inputAttemptWhenModal();
2257
+
2258
+
2259
+ //==============================================================================
2260
+ /** Returns the set of properties that belong to this component.
2261
+ Each component has a NamedValueSet object which you can use to attach arbitrary
2262
+ items of data to it.
2263
+ */
2264
+ NamedValueSet& getProperties() noexcept { return properties; }
2265
+
2266
+ /** Returns the set of properties that belong to this component.
2267
+ Each component has a NamedValueSet object which you can use to attach arbitrary
2268
+ items of data to it.
2269
+ */
2270
+ const NamedValueSet& getProperties() const noexcept { return properties; }
2271
+
2272
+ //==============================================================================
2273
+ /** Looks for a colour that has been registered with the given colour ID number.
2274
+
2275
+ If a colour has been set for this ID number using setColour(), then it is
2276
+ returned. If none has been set, the method will try calling the component's
2277
+ LookAndFeel class's findColour() method. If none has been registered with the
2278
+ look-and-feel either, it will just return black.
2279
+
2280
+ The colour IDs for various purposes are stored as enums in the components that
2281
+ they are relevant to - for an example, see Slider::ColourIds,
2282
+ Label::ColourIds, TextEditor::ColourIds, TreeView::ColourIds, etc.
2283
+
2284
+ @see setColour, isColourSpecified, colourChanged, LookAndFeel::findColour, LookAndFeel::setColour
2285
+ */
2286
+ Colour findColour (int colourID, bool inheritFromParent = false) const;
2287
+
2288
+ /** Registers a colour to be used for a particular purpose.
2289
+
2290
+ Changing a colour will cause a synchronous callback to the colourChanged()
2291
+ method, which your component can override if it needs to do something when
2292
+ colours are altered.
2293
+
2294
+ Note repaint() is not automatically called when a colour is changed.
2295
+
2296
+ For more details about colour IDs, see the comments for findColour().
2297
+
2298
+ @see findColour, isColourSpecified, colourChanged, LookAndFeel::findColour, LookAndFeel::setColour
2299
+ */
2300
+ void setColour (int colourID, Colour newColour);
2301
+
2302
+ /** If a colour has been set with setColour(), this will remove it.
2303
+ This allows you to make a colour revert to its default state.
2304
+ */
2305
+ void removeColour (int colourID);
2306
+
2307
+ /** Returns true if the specified colour ID has been explicitly set for this
2308
+ component using the setColour() method.
2309
+ */
2310
+ bool isColourSpecified (int colourID) const;
2311
+
2312
+ /** This looks for any colours that have been specified for this component,
2313
+ and copies them to the specified target component.
2314
+ */
2315
+ void copyAllExplicitColoursTo (Component& target) const;
2316
+
2317
+ /** This method is called when a colour is changed by the setColour() method,
2318
+ or when the look-and-feel is changed by the setLookAndFeel() or
2319
+ sendLookAndFeelChanged() methods.
2320
+
2321
+ @see setColour, findColour, setLookAndFeel, sendLookAndFeelChanged
2322
+ */
2323
+ virtual void colourChanged();
2324
+
2325
+ //==============================================================================
2326
+ /** Returns the underlying native window handle for this component.
2327
+
2328
+ This is platform-dependent and strictly for power-users only!
2329
+ */
2330
+ void* getWindowHandle() const;
2331
+
2332
+ //==============================================================================
2333
+ /** Holds a pointer to some type of Component, which automatically becomes null if
2334
+ the component is deleted.
2335
+
2336
+ If you're using a component which may be deleted by another event that's outside
2337
+ of your control, use a SafePointer instead of a normal pointer to refer to it,
2338
+ and you can test whether it's null before using it to see if something has deleted
2339
+ it.
2340
+
2341
+ The ComponentType template parameter must be Component, or some subclass of Component.
2342
+
2343
+ You may also want to use a WeakReference<Component> object for the same purpose.
2344
+ */
2345
+ template <class ComponentType>
2346
+ class SafePointer
2347
+ {
2348
+ public:
2349
+ /** Creates a null SafePointer. */
2350
+ SafePointer() = default;
2351
+
2352
+ /** Creates a SafePointer that points at the given component. */
2353
+ SafePointer (ComponentType* component) : weakRef (component) {}
2354
+
2355
+ /** Creates a copy of another SafePointer. */
2356
+ SafePointer (const SafePointer& other) noexcept : weakRef (other.weakRef) {}
2357
+
2358
+ /** Copies another pointer to this one. */
2359
+ SafePointer& operator= (const SafePointer& other) { weakRef = other.weakRef; return *this; }
2360
+
2361
+ /** Copies another pointer to this one. */
2362
+ SafePointer& operator= (ComponentType* newComponent) { weakRef = newComponent; return *this; }
2363
+
2364
+ /** Returns the component that this pointer refers to, or null if the component no longer exists. */
2365
+ ComponentType* getComponent() const noexcept { return dynamic_cast<ComponentType*> (weakRef.get()); }
2366
+
2367
+ /** Returns the component that this pointer refers to, or null if the component no longer exists. */
2368
+ operator ComponentType*() const noexcept { return getComponent(); }
2369
+
2370
+ /** Returns the component that this pointer refers to, or null if the component no longer exists. */
2371
+ ComponentType* operator->() const noexcept { return getComponent(); }
2372
+
2373
+ /** If the component is valid, this deletes it and sets this pointer to null. */
2374
+ void deleteAndZero() { delete std::exchange (weakRef, nullptr); }
2375
+
2376
+ bool operator== (ComponentType* component) const noexcept { return weakRef == component; }
2377
+ bool operator!= (ComponentType* component) const noexcept { return weakRef != component; }
2378
+
2379
+ private:
2380
+ WeakReference<Component> weakRef;
2381
+ };
2382
+
2383
+ //==============================================================================
2384
+ /** A class to keep an eye on a component and check for it being deleted.
2385
+
2386
+ This is designed for use with the ListenerList::callChecked() methods, to allow
2387
+ the list iterator to stop cleanly if the component is deleted by a listener callback
2388
+ while the list is still being iterated.
2389
+ */
2390
+ class JUCE_API BailOutChecker
2391
+ {
2392
+ public:
2393
+ /** Creates a checker that watches one component. */
2394
+ BailOutChecker (Component* component);
2395
+
2396
+ /** Returns true if either of the two components have been deleted since this object was created. */
2397
+ bool shouldBailOut() const noexcept;
2398
+
2399
+ private:
2400
+ const WeakReference<Component> safePointer;
2401
+
2402
+ JUCE_DECLARE_NON_COPYABLE (BailOutChecker)
2403
+ };
2404
+
2405
+ //==============================================================================
2406
+ /**
2407
+ Base class for objects that can be used to automatically position a component according to
2408
+ some kind of algorithm.
2409
+
2410
+ The component class simply holds onto a reference to a Positioner, but doesn't actually do
2411
+ anything with it - all the functionality must be implemented by the positioner itself (e.g.
2412
+ it might choose to watch some kind of value and move the component when the value changes).
2413
+ */
2414
+ class JUCE_API Positioner
2415
+ {
2416
+ public:
2417
+ /** Creates a Positioner which can control the specified component. */
2418
+ explicit Positioner (Component& component) noexcept;
2419
+ /** Destructor. */
2420
+ virtual ~Positioner() = default;
2421
+
2422
+ /** Returns the component that this positioner controls. */
2423
+ Component& getComponent() const noexcept { return component; }
2424
+
2425
+ /** Attempts to set the component's position to the given rectangle.
2426
+ Unlike simply calling Component::setBounds(), this may involve the positioner
2427
+ being smart enough to adjust itself to fit the new bounds.
2428
+ */
2429
+ virtual void applyNewBounds (const Rectangle<int>& newBounds) = 0;
2430
+
2431
+ private:
2432
+ Component& component;
2433
+
2434
+ JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Positioner)
2435
+ };
2436
+
2437
+ /** Returns the Positioner object that has been set for this component.
2438
+ @see setPositioner()
2439
+ */
2440
+ Positioner* getPositioner() const noexcept;
2441
+
2442
+ /** Sets a new Positioner object for this component.
2443
+ If there's currently another positioner set, it will be deleted. The object that is passed in
2444
+ will be deleted automatically by this component when it's no longer required. Pass a null pointer
2445
+ to clear the current positioner.
2446
+ @see getPositioner()
2447
+ */
2448
+ void setPositioner (Positioner* newPositioner);
2449
+
2450
+ /** Gives the component a CachedComponentImage that should be used to buffer its painting.
2451
+ The object that is passed-in will be owned by this component, and will be deleted automatically
2452
+ later on.
2453
+ @see setBufferedToImage
2454
+ */
2455
+ void setCachedComponentImage (CachedComponentImage* newCachedImage);
2456
+
2457
+ /** Returns the object that was set by setCachedComponentImage().
2458
+ @see setCachedComponentImage
2459
+ */
2460
+ CachedComponentImage* getCachedComponentImage() const noexcept { return cachedImage.get(); }
2461
+
2462
+ /** Sets a flag to indicate whether mouse drag events on this Component should be ignored when it is inside a
2463
+ Viewport with drag-to-scroll functionality enabled. This is useful for Components such as sliders that
2464
+ should not move when their parent Viewport when dragged.
2465
+ */
2466
+ void setViewportIgnoreDragFlag (bool ignoreDrag) noexcept { flags.viewportIgnoreDragFlag = ignoreDrag; }
2467
+
2468
+ /** Retrieves the current state of the Viewport drag-to-scroll functionality flag.
2469
+ @see setViewportIgnoreDragFlag
2470
+ */
2471
+ bool getViewportIgnoreDragFlag() const noexcept { return flags.viewportIgnoreDragFlag; }
2472
+
2473
+ //==============================================================================
2474
+ /** Returns the title text for this component.
2475
+
2476
+ @see setTitle
2477
+ */
2478
+ String getTitle() const noexcept { return componentTitle; }
2479
+
2480
+ /** Sets the title for this component.
2481
+
2482
+ If this component supports accessibility using the default AccessibilityHandler
2483
+ implementation, this string will be passed to accessibility clients requesting a
2484
+ title and may be read out by a screen reader.
2485
+
2486
+ @see getTitle, getAccessibilityHandler
2487
+ */
2488
+ void setTitle (const String& newTitle);
2489
+
2490
+ /** Returns the description for this component.
2491
+
2492
+ @see setDescription
2493
+ */
2494
+ String getDescription() const noexcept { return componentDescription; }
2495
+
2496
+ /** Sets the description for this component.
2497
+
2498
+ If this component supports accessibility using the default AccessibilityHandler
2499
+ implementation, this string will be passed to accessibility clients requesting a
2500
+ description and may be read out by a screen reader.
2501
+
2502
+ @see getDescription, getAccessibilityHandler
2503
+ */
2504
+ void setDescription (const String& newDescription);
2505
+
2506
+ /** Returns the help text for this component.
2507
+
2508
+ @see setHelpText
2509
+ */
2510
+ String getHelpText() const noexcept { return componentHelpText; }
2511
+
2512
+ /** Sets the help text for this component.
2513
+
2514
+ If this component supports accessibility using the default AccessibilityHandler
2515
+ implementation, this string will be passed to accessibility clients requesting help text
2516
+ and may be read out by a screen reader.
2517
+
2518
+ @see getHelpText, getAccessibilityHandler
2519
+ */
2520
+ void setHelpText (const String& newHelpText);
2521
+
2522
+ /** Sets whether this component and its children are visible to accessibility clients.
2523
+
2524
+ If this flag is set to false then the getAccessibilityHandler() method will return nullptr
2525
+ and this component and its children will not be visible to any accessibility clients.
2526
+
2527
+ By default this is set to true.
2528
+
2529
+ @see isAccessible, getAccessibilityHandler
2530
+ */
2531
+ void setAccessible (bool shouldBeAccessible);
2532
+
2533
+ /** Returns true if this component and its children are visible to accessibility clients.
2534
+
2535
+ @see setAccessible
2536
+ */
2537
+ bool isAccessible() const noexcept;
2538
+
2539
+ /** Returns the accessibility handler for this component, or nullptr if this component is not
2540
+ accessible.
2541
+
2542
+ To customise the accessibility handler for a component, override
2543
+ createAccessibilityHandler().
2544
+
2545
+ @see setAccessible
2546
+ */
2547
+ AccessibilityHandler* getAccessibilityHandler();
2548
+
2549
+ /** Invalidates the AccessibilityHandler that is currently being used for this component.
2550
+
2551
+ Use this to indicate that something in the accessible component has changed
2552
+ and its handler needs to be updated. This will trigger a call to
2553
+ createAccessibilityHandler().
2554
+ */
2555
+ void invalidateAccessibilityHandler();
2556
+
2557
+ //==============================================================================
2558
+ /** Override this method to return a custom AccessibilityHandler for this component.
2559
+
2560
+ The default implementation creates and returns a AccessibilityHandler object with an
2561
+ unspecified role, meaning that it will be visible to accessibility clients but
2562
+ without a specific role, action callbacks or interfaces. To control how accessibility
2563
+ clients see and interact with your component subclass AccessibilityHandler, implement
2564
+ the desired behaviours, and return an instance of it from this method in your
2565
+ component subclass.
2566
+
2567
+ The accessibility handler you return here is guaranteed to be destroyed before
2568
+ its Component, so it's safe to store and use a reference back to the Component
2569
+ inside the AccessibilityHandler if necessary.
2570
+
2571
+ This function should rarely be called directly. If you need to query a component's
2572
+ accessibility handler, it's normally better to call getAccessibilityHandler().
2573
+ The exception to this rule is derived implementations of createAccessibilityHandler(),
2574
+ which may find it useful to call the base class implementation, and then wrap or
2575
+ modify the result.
2576
+
2577
+ @see getAccessibilityHandler
2578
+ */
2579
+ virtual std::unique_ptr<AccessibilityHandler> createAccessibilityHandler();
2580
+
2581
+ //==============================================================================
2582
+ #ifndef DOXYGEN
2583
+ [[deprecated ("Use the setFocusContainerType that takes a more descriptive enum.")]]
2584
+ void setFocusContainer (bool shouldBeFocusContainer) noexcept
2585
+ {
2586
+ setFocusContainerType (shouldBeFocusContainer ? FocusContainerType::keyboardFocusContainer
2587
+ : FocusContainerType::none);
2588
+ }
2589
+
2590
+ [[deprecated ("Use the contains that takes a Point<int>.")]]
2591
+ void contains (int, int) = delete;
2592
+ #endif
2593
+
2594
+ private:
2595
+
2596
+ //==============================================================================
2597
+ friend class ComponentPeer;
2598
+ friend class detail::MouseInputSourceImpl;
2599
+
2600
+ #ifndef DOXYGEN
2601
+ static Component* currentlyFocusedComponent;
2602
+
2603
+ //==============================================================================
2604
+ String componentName, componentID, componentTitle, componentDescription, componentHelpText;
2605
+ Component* parentComponent = nullptr;
2606
+ Rectangle<int> boundsRelativeToParent;
2607
+ std::unique_ptr<Positioner> positioner;
2608
+ std::unique_ptr<AffineTransform> affineTransform;
2609
+ Array<Component*> childComponentList;
2610
+ WeakReference<LookAndFeel> lookAndFeel;
2611
+ MouseCursor cursor;
2612
+
2613
+ class EffectState;
2614
+ std::unique_ptr<EffectState> effectState;
2615
+ std::unique_ptr<CachedComponentImage> cachedImage;
2616
+
2617
+ class MouseListenerList;
2618
+ std::unique_ptr<MouseListenerList> mouseListeners;
2619
+ std::unique_ptr<Array<KeyListener*>> keyListeners;
2620
+ ListenerList<ComponentListener> componentListeners;
2621
+ NamedValueSet properties;
2622
+
2623
+ friend class WeakReference<Component>;
2624
+ WeakReference<Component>::Master masterReference;
2625
+
2626
+ std::unique_ptr<AccessibilityHandler> accessibilityHandler;
2627
+
2628
+ struct ComponentFlags
2629
+ {
2630
+ bool hasHeavyweightPeerFlag : 1;
2631
+ bool visibleFlag : 1;
2632
+ bool opaqueFlag : 1;
2633
+ bool ignoresMouseClicksFlag : 1;
2634
+ bool allowChildMouseClicksFlag : 1;
2635
+ bool wantsKeyboardFocusFlag : 1;
2636
+ bool isFocusContainerFlag : 1;
2637
+ bool isKeyboardFocusContainerFlag : 1;
2638
+ bool childKeyboardFocusedFlag : 1;
2639
+ bool dontFocusOnMouseClickFlag : 1;
2640
+ bool hasFocusOutlineFlag : 1;
2641
+ bool alwaysOnTopFlag : 1;
2642
+ bool bufferToImageFlag : 1;
2643
+ bool bringToFrontOnClickFlag : 1;
2644
+ bool repaintOnMouseActivityFlag : 1;
2645
+ bool isDisabledFlag : 1;
2646
+ bool dontClipGraphicsFlag : 1;
2647
+ bool mouseDownWasBlocked : 1;
2648
+ bool isMoveCallbackPending : 1;
2649
+ bool isResizeCallbackPending : 1;
2650
+ bool viewportIgnoreDragFlag : 1;
2651
+ bool accessibilityIgnoredFlag : 1;
2652
+ bool cachedMouseInsideComponent : 1;
2653
+ #if JUCE_DEBUG
2654
+ bool isInsidePaintCall : 1;
2655
+ #endif
2656
+ };
2657
+
2658
+ union
2659
+ {
2660
+ uint32 componentFlags;
2661
+ ComponentFlags flags;
2662
+ };
2663
+
2664
+ uint8 componentTransparency = 0;
2665
+
2666
+ //==============================================================================
2667
+ void internalMouseEnter (MouseInputSource, Point<float>, Time);
2668
+ void internalMouseExit (MouseInputSource, Point<float>, Time);
2669
+ void internalMouseDown (MouseInputSource, const detail::PointerState&, Time);
2670
+ void internalMouseUp (MouseInputSource, const detail::PointerState&, Time, ModifierKeys oldModifiers);
2671
+ void internalMouseDrag (MouseInputSource, const detail::PointerState&, Time);
2672
+ void internalMouseMove (MouseInputSource, Point<float>, Time);
2673
+ void internalMouseWheel (MouseInputSource, Point<float>, Time, const MouseWheelDetails&);
2674
+ void internalMagnifyGesture (MouseInputSource, Point<float>, Time, float);
2675
+ void internalBroughtToFront();
2676
+ void internalKeyboardFocusGain (FocusChangeType, const WeakReference<Component>&, FocusChangeDirection);
2677
+ void internalKeyboardFocusGain (FocusChangeType);
2678
+ void internalKeyboardFocusLoss (FocusChangeType);
2679
+ void internalChildKeyboardFocusChange (FocusChangeType, const WeakReference<Component>&);
2680
+ void internalModalInputAttempt();
2681
+ void internalModifierKeysChanged();
2682
+ void internalChildrenChanged();
2683
+ void internalHierarchyChanged();
2684
+ void internalRepaint (Rectangle<int>);
2685
+ void internalRepaintUnchecked (Rectangle<int>, bool);
2686
+ Component* removeChildComponent (int index, bool sendParentEvents, bool sendChildEvents);
2687
+ void reorderChildInternal (int sourceIndex, int destIndex);
2688
+ void paintComponentAndChildren (Graphics&);
2689
+ void paintWithinParentContext (Graphics&);
2690
+ void sendMovedResizedMessages (bool wasMoved, bool wasResized);
2691
+ void sendMovedResizedMessagesIfPending();
2692
+ void repaintParent();
2693
+ void sendFakeMouseMove() const;
2694
+ void takeKeyboardFocus (FocusChangeType, FocusChangeDirection);
2695
+ void grabKeyboardFocusInternal (FocusChangeType, bool canTryParent, FocusChangeDirection);
2696
+ void giveAwayKeyboardFocusInternal (bool sendFocusLossEvent);
2697
+ void sendEnablementChangeMessage();
2698
+ void sendVisibilityChangeMessage();
2699
+
2700
+ friend struct detail::ComponentHelpers;
2701
+
2702
+ /* Components aren't allowed to have copy constructors, as this would mess up parent hierarchies.
2703
+ You might need to give your subclasses a private dummy constructor to avoid compiler warnings.
2704
+ */
2705
+ JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Component)
2706
+
2707
+ protected:
2708
+ //==============================================================================
2709
+ /** @internal */
2710
+ virtual ComponentPeer* createNewPeer (int styleFlags, void* nativeWindowToAttachTo);
2711
+ /** @internal */
2712
+ static std::unique_ptr<AccessibilityHandler> createIgnoredAccessibilityHandler (Component&);
2713
+ #endif
2714
+ };
2715
+
2716
+ } // namespace juce