/Splat/Colors/KnownColor.cs

https://github.com/nagyist/splat · C# · 214 lines · 183 code · 2 blank · 29 comment · 0 complexity · 229caf0cd1e71b739cfef537766de06a MD5 · raw file

  1. //
  2. // System.Drawing.Color.cs
  3. //
  4. // Author:
  5. // Dennis Hayes (dennish@raytek.com)
  6. // Ben Houston (ben@exocortex.org)
  7. //
  8. // (C) 2002 Dennis Hayes
  9. // Copyright (C) 2004,2006 Novell, Inc (http://www.novell.com)
  10. //
  11. // Permission is hereby granted, free of charge, to any person obtaining
  12. // a copy of this software and associated documentation files (the
  13. // "Software"), to deal in the Software without restriction, including
  14. // without limitation the rights to use, copy, modify, merge, publish,
  15. // distribute, sublicense, and/or sell copies of the Software, and to
  16. // permit persons to whom the Software is furnished to do so, subject to
  17. // the following conditions:
  18. //
  19. // The above copyright notice and this permission notice shall be
  20. // included in all copies or substantial portions of the Software.
  21. //
  22. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  23. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  24. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  25. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  26. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  27. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  28. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  29. //
  30. namespace System.Drawing
  31. {
  32. #if ONLY_1_1
  33. [Serializable]
  34. #endif
  35. public enum KnownColor
  36. {
  37. ActiveBorder = 1,
  38. ActiveCaption = 2,
  39. ActiveCaptionText = 3,
  40. AppWorkspace = 4,
  41. Control = 5,
  42. ControlDark = 6,
  43. ControlDarkDark = 7,
  44. ControlLight = 8,
  45. ControlLightLight = 9,
  46. ControlText = 10,
  47. Desktop = 11,
  48. GrayText = 12,
  49. Highlight = 13,
  50. HighlightText = 14,
  51. HotTrack = 15,
  52. InactiveBorder = 16,
  53. InactiveCaption = 17,
  54. InactiveCaptionText = 18,
  55. Info = 19,
  56. InfoText = 20,
  57. Menu = 21,
  58. MenuText = 22,
  59. ScrollBar = 23,
  60. Window = 24,
  61. WindowFrame = 25,
  62. WindowText = 26,
  63. Transparent = 27,
  64. AliceBlue = 28,
  65. AntiqueWhite = 29,
  66. Aqua = 30,
  67. Aquamarine = 31,
  68. Azure = 32,
  69. Beige = 33,
  70. Bisque = 34,
  71. Black = 35,
  72. BlanchedAlmond = 36,
  73. Blue = 37,
  74. BlueViolet = 38,
  75. Brown = 39,
  76. BurlyWood = 40,
  77. CadetBlue = 41,
  78. Chartreuse = 42,
  79. Chocolate = 43,
  80. Coral = 44,
  81. CornflowerBlue = 45,
  82. Cornsilk = 46,
  83. Crimson = 47,
  84. Cyan = 48,
  85. DarkBlue = 49,
  86. DarkCyan = 50,
  87. DarkGoldenrod = 51,
  88. DarkGray = 52,
  89. DarkGreen = 53,
  90. DarkKhaki = 54,
  91. DarkMagenta = 55,
  92. DarkOliveGreen = 56,
  93. DarkOrange = 57,
  94. DarkOrchid = 58,
  95. DarkRed = 59,
  96. DarkSalmon = 60,
  97. DarkSeaGreen = 61,
  98. DarkSlateBlue = 62,
  99. DarkSlateGray = 63,
  100. DarkTurquoise = 64,
  101. DarkViolet = 65,
  102. DeepPink = 66,
  103. DeepSkyBlue = 67,
  104. DimGray = 68,
  105. DodgerBlue = 69,
  106. Firebrick = 70,
  107. FloralWhite = 71,
  108. ForestGreen = 72,
  109. Fuchsia = 73,
  110. Gainsboro = 74,
  111. GhostWhite = 75,
  112. Gold = 76,
  113. Goldenrod = 77,
  114. Gray = 78,
  115. Green = 79,
  116. GreenYellow = 80,
  117. Honeydew = 81,
  118. HotPink = 82,
  119. IndianRed = 83,
  120. Indigo = 84,
  121. Ivory = 85,
  122. Khaki = 86,
  123. Lavender = 87,
  124. LavenderBlush = 88,
  125. LawnGreen = 89,
  126. LemonChiffon = 90,
  127. LightBlue = 91,
  128. LightCoral = 92,
  129. LightCyan = 93,
  130. LightGoldenrodYellow = 94,
  131. LightGray = 95,
  132. LightGreen = 96,
  133. LightPink = 97,
  134. LightSalmon = 98,
  135. LightSeaGreen = 99,
  136. LightSkyBlue = 100,
  137. LightSlateGray = 101,
  138. LightSteelBlue = 102,
  139. LightYellow = 103,
  140. Lime = 104,
  141. LimeGreen = 105,
  142. Linen = 106,
  143. Magenta = 107,
  144. Maroon = 108,
  145. MediumAquamarine = 109,
  146. MediumBlue = 110,
  147. MediumOrchid = 111,
  148. MediumPurple = 112,
  149. MediumSeaGreen = 113,
  150. MediumSlateBlue = 114,
  151. MediumSpringGreen = 115,
  152. MediumTurquoise = 116,
  153. MediumVioletRed = 117,
  154. MidnightBlue = 118,
  155. MintCream = 119,
  156. MistyRose = 120,
  157. Moccasin = 121,
  158. NavajoWhite = 122,
  159. Navy = 123,
  160. OldLace = 124,
  161. Olive = 125,
  162. OliveDrab = 126,
  163. Orange = 127,
  164. OrangeRed = 128,
  165. Orchid = 129,
  166. PaleGoldenrod = 130,
  167. PaleGreen = 131,
  168. PaleTurquoise = 132,
  169. PaleVioletRed = 133,
  170. PapayaWhip = 134,
  171. PeachPuff = 135,
  172. Peru = 136,
  173. Pink = 137,
  174. Plum = 138,
  175. PowderBlue = 139,
  176. Purple = 140,
  177. Red = 141,
  178. RosyBrown = 142,
  179. RoyalBlue = 143,
  180. SaddleBrown = 144,
  181. Salmon = 145,
  182. SandyBrown = 146,
  183. SeaGreen = 147,
  184. SeaShell = 148,
  185. Sienna = 149,
  186. Silver = 150,
  187. SkyBlue = 151,
  188. SlateBlue = 152,
  189. SlateGray = 153,
  190. Snow = 154,
  191. SpringGreen = 155,
  192. SteelBlue = 156,
  193. Tan = 157,
  194. Teal = 158,
  195. Thistle = 159,
  196. Tomato = 160,
  197. Turquoise = 161,
  198. Violet = 162,
  199. Wheat = 163,
  200. White = 164,
  201. WhiteSmoke = 165,
  202. Yellow = 166,
  203. YellowGreen = 167,
  204. ButtonFace = 168,
  205. ButtonHighlight = 169,
  206. ButtonShadow = 170,
  207. GradientActiveCaption = 171,
  208. GradientInactiveCaption = 172,
  209. MenuBar = 173,
  210. MenuHighlight = 174
  211. }
  212. }