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.

108 lines
5.3KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #ifndef JUCE_COLOURS_H_INCLUDED
  18. #define JUCE_COLOURS_H_INCLUDED
  19. //==============================================================================
  20. /**
  21. Contains a set of predefined named colours (mostly standard HTML colours)
  22. @see Colour, Colours::greyLevel
  23. */
  24. class Colours
  25. {
  26. public:
  27. static JUCE_API const Colour
  28. //==============================================================================
  29. transparentBlack, /**< ARGB = 0x00000000 */
  30. transparentWhite, /**< ARGB = 0x00ffffff */
  31. //==============================================================================
  32. black, /**< ARGB = 0xff000000 */
  33. white, /**< ARGB = 0xffffffff */
  34. blue, /**< ARGB = 0xff0000ff */
  35. grey, /**< ARGB = 0xff808080 */
  36. green, /**< ARGB = 0xff008000 */
  37. red, /**< ARGB = 0xffff0000 */
  38. yellow, /**< ARGB = 0xffffff00 */
  39. //==============================================================================
  40. aliceblue, antiquewhite, aqua, aquamarine,
  41. azure, beige, bisque, blanchedalmond,
  42. blueviolet, brown, burlywood, cadetblue,
  43. chartreuse, chocolate, coral, cornflowerblue,
  44. cornsilk, crimson, cyan, darkblue,
  45. darkcyan, darkgoldenrod, darkgrey, darkgreen,
  46. darkkhaki, darkmagenta, darkolivegreen, darkorange,
  47. darkorchid, darkred, darksalmon, darkseagreen,
  48. darkslateblue, darkslategrey, darkturquoise, darkviolet,
  49. deeppink, deepskyblue, dimgrey, dodgerblue,
  50. firebrick, floralwhite, forestgreen, fuchsia,
  51. gainsboro, gold, goldenrod, greenyellow,
  52. honeydew, hotpink, indianred, indigo,
  53. ivory, khaki, lavender, lavenderblush,
  54. lemonchiffon, lightblue, lightcoral, lightcyan,
  55. lightgoldenrodyellow, lightgreen, lightgrey, lightpink,
  56. lightsalmon, lightseagreen, lightskyblue, lightslategrey,
  57. lightsteelblue, lightyellow, lime, limegreen,
  58. linen, magenta, maroon, mediumaquamarine,
  59. mediumblue, mediumorchid, mediumpurple, mediumseagreen,
  60. mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred,
  61. midnightblue, mintcream, mistyrose, navajowhite,
  62. navy, oldlace, olive, olivedrab,
  63. orange, orangered, orchid, palegoldenrod,
  64. palegreen, paleturquoise, palevioletred, papayawhip,
  65. peachpuff, peru, pink, plum,
  66. powderblue, purple, rosybrown, royalblue,
  67. saddlebrown, salmon, sandybrown, seagreen,
  68. seashell, sienna, silver, skyblue,
  69. slateblue, slategrey, snow, springgreen,
  70. steelblue, tan, teal, thistle,
  71. tomato, turquoise, violet, wheat,
  72. whitesmoke, yellowgreen;
  73. /** Attempts to look up a string in the list of known colour names, and return
  74. the appropriate colour.
  75. A non-case-sensitive search is made of the list of predefined colours, and
  76. if a match is found, that colour is returned. If no match is found, the
  77. colour passed in as the defaultColour parameter is returned.
  78. */
  79. static JUCE_API Colour findColourForName (const String& colourName,
  80. Colour defaultColour);
  81. private:
  82. //==============================================================================
  83. // this isn't a class you should ever instantiate - it's just here for the
  84. // static values in it.
  85. Colours();
  86. JUCE_DECLARE_NON_COPYABLE (Colours)
  87. };
  88. #endif // JUCE_COLOURS_H_INCLUDED