Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
5.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2017 - ROLI Ltd.
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. namespace juce
  20. {
  21. //==============================================================================
  22. /**
  23. Contains a set of predefined named colours (mostly standard HTML colours)
  24. @see Colour, Colours::greyLevel
  25. */
  26. class Colours
  27. {
  28. public:
  29. static JUCE_API const Colour
  30. //==============================================================================
  31. transparentBlack, /**< ARGB = 0x00000000 */
  32. transparentWhite, /**< ARGB = 0x00ffffff */
  33. //==============================================================================
  34. black, /**< ARGB = 0xff000000 */
  35. white, /**< ARGB = 0xffffffff */
  36. blue, /**< ARGB = 0xff0000ff */
  37. grey, /**< ARGB = 0xff808080 */
  38. green, /**< ARGB = 0xff008000 */
  39. red, /**< ARGB = 0xffff0000 */
  40. yellow, /**< ARGB = 0xffffff00 */
  41. //==============================================================================
  42. aliceblue, antiquewhite, aqua, aquamarine,
  43. azure, beige, bisque, blanchedalmond,
  44. blueviolet, brown, burlywood, cadetblue,
  45. chartreuse, chocolate, coral, cornflowerblue,
  46. cornsilk, crimson, cyan, darkblue,
  47. darkcyan, darkgoldenrod, darkgrey, darkgreen,
  48. darkkhaki, darkmagenta, darkolivegreen, darkorange,
  49. darkorchid, darkred, darksalmon, darkseagreen,
  50. darkslateblue, darkslategrey, darkturquoise, darkviolet,
  51. deeppink, deepskyblue, dimgrey, dodgerblue,
  52. firebrick, floralwhite, forestgreen, fuchsia,
  53. gainsboro, ghostwhite, gold, goldenrod,
  54. greenyellow, honeydew, hotpink, indianred,
  55. indigo, ivory, khaki, lavender,
  56. lavenderblush, lawngreen, lemonchiffon, lightblue,
  57. lightcoral, lightcyan, lightgoldenrodyellow, lightgreen,
  58. lightgrey, lightpink, lightsalmon, lightseagreen,
  59. lightskyblue, lightslategrey, lightsteelblue, lightyellow,
  60. lime, limegreen, linen, magenta,
  61. maroon, mediumaquamarine, mediumblue, mediumorchid,
  62. mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen,
  63. mediumturquoise, mediumvioletred, midnightblue, mintcream,
  64. mistyrose, moccasin, navajowhite, navy,
  65. oldlace, olive, olivedrab, orange,
  66. orangered, orchid, palegoldenrod, palegreen,
  67. paleturquoise, palevioletred, papayawhip, peachpuff,
  68. peru, pink, plum, powderblue,
  69. purple, rebeccapurple, rosybrown, royalblue,
  70. saddlebrown, salmon, sandybrown, seagreen,
  71. seashell, sienna, silver, skyblue,
  72. slateblue, slategrey, snow, springgreen,
  73. steelblue, tan, teal, thistle,
  74. tomato, turquoise, violet, wheat,
  75. whitesmoke, yellowgreen;
  76. /** Attempts to look up a string in the list of known colour names, and return
  77. the appropriate colour.
  78. A non-case-sensitive search is made of the list of predefined colours, and
  79. if a match is found, that colour is returned. If no match is found, the
  80. colour passed in as the defaultColour parameter is returned.
  81. */
  82. static JUCE_API Colour findColourForName (const String& colourName,
  83. Colour defaultColour);
  84. private:
  85. //==============================================================================
  86. // this isn't a class you should ever instantiate - it's just here for the
  87. // static values in it.
  88. Colours();
  89. JUCE_DECLARE_NON_COPYABLE (Colours)
  90. };
  91. } // namespace juce