Glyphs.cs 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  1. namespace Terminal.Gui;
  2. /// <summary>Defines the standard set of glyphs used to draw checkboxes, lines, borders, etc...</summary>
  3. /// <remarks>
  4. /// <para>
  5. /// Access with <see cref="CM.Glyphs"/> (which is a global using alias for
  6. /// <see cref="ConfigurationManager.Glyphs"/>).
  7. /// </para>
  8. /// <para>
  9. /// The default glyphs can be changed via the <see cref="ConfigurationManager"/>. Within a <c>config.json</c>
  10. /// file the Json property name is the property name prefixed with "Glyphs.".
  11. /// </para>
  12. /// <para>
  13. /// The Json property can be one of:
  14. /// - unicode glyph in a string (e.g. "☑")
  15. /// - U+hex format in a string (e.g. "U+2611")
  16. /// - \u format in a string (e.g. "\\u2611")
  17. /// - A decimal number (e.g. 97 for "a")
  18. /// </para>
  19. /// </remarks>
  20. public class Glyphs
  21. {
  22. // IMPORTANT: If you change these, make sure to update the ./Resources/config.json file as
  23. // IMPORTANT: it is the source of truth for the default glyphs at runtime.
  24. // IMPORTANT: Configuration Manager test SaveDefaults uses this class to generate the default config file
  25. // IMPORTANT: in ./UnitTests/bin/Debug/netX.0/config.json
  26. /// <summary>File icon. Defaults to ☰ (Trigram For Heaven)</summary>
  27. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  28. public static Rune File { get; set; } = (Rune)'☰';
  29. /// <summary>Folder icon. Defaults to ꤉ (Kayah Li Digit Nine)</summary>
  30. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  31. public static Rune Folder { get; set; } = (Rune)'꤉';
  32. /// <summary>Horizontal Ellipsis - … U+2026</summary>
  33. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  34. public static Rune HorizontalEllipsis { get; set; } = (Rune)'…';
  35. /// <summary>Vertical Four Dots - ⁞ U+205e</summary>
  36. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  37. public static Rune VerticalFourDots { get; set; } = (Rune)'⁞';
  38. #region ----------------- Single Glyphs -----------------
  39. /// <summary>Checked indicator (e.g. for <see cref="ListView"/> and <see cref="CheckBox"/>).</summary>
  40. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  41. public static Rune CheckStateChecked { get; set; } = (Rune)'☑';
  42. /// <summary>Not Checked indicator (e.g. for <see cref="ListView"/> and <see cref="CheckBox"/>).</summary>
  43. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  44. public static Rune CheckStateUnChecked { get; set; } = (Rune)'☐';
  45. /// <summary>Null Checked indicator (e.g. for <see cref="ListView"/> and <see cref="CheckBox"/>).</summary>
  46. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  47. public static Rune CheckStateNone { get; set; } = (Rune)'☒';
  48. /// <summary>Selected indicator (e.g. for <see cref="ListView"/> and <see cref="RadioGroup"/>).</summary>
  49. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  50. public static Rune Selected { get; set; } = (Rune)'◉';
  51. /// <summary>Not Selected indicator (e.g. for <see cref="ListView"/> and <see cref="RadioGroup"/>).</summary>
  52. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  53. public static Rune UnSelected { get; set; } = (Rune)'○';
  54. /// <summary>Horizontal arrow.</summary>
  55. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  56. public static Rune RightArrow { get; set; } = (Rune)'►';
  57. /// <summary>Left arrow.</summary>
  58. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  59. public static Rune LeftArrow { get; set; } = (Rune)'◄';
  60. /// <summary>Down arrow.</summary>
  61. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  62. public static Rune DownArrow { get; set; } = (Rune)'▼';
  63. /// <summary>Vertical arrow.</summary>
  64. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  65. public static Rune UpArrow { get; set; } = (Rune)'▲';
  66. /// <summary>Left default indicator (e.g. for <see cref="Button"/>.</summary>
  67. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  68. public static Rune LeftDefaultIndicator { get; set; } = (Rune)'►';
  69. /// <summary>Horizontal default indicator (e.g. for <see cref="Button"/>.</summary>
  70. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  71. public static Rune RightDefaultIndicator { get; set; } = (Rune)'◄';
  72. /// <summary>Left Bracket (e.g. for <see cref="Button"/>. Default is (U+005B) - [.</summary>
  73. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  74. public static Rune LeftBracket { get; set; } = (Rune)'⟦';
  75. /// <summary>Horizontal Bracket (e.g. for <see cref="Button"/>. Default is (U+005D) - ].</summary>
  76. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  77. public static Rune RightBracket { get; set; } = (Rune)'⟧';
  78. /// <summary>Half block meter segment (e.g. for <see cref="ProgressBar"/>).</summary>
  79. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  80. public static Rune BlocksMeterSegment { get; set; } = (Rune)'▌';
  81. /// <summary>Continuous block meter segment (e.g. for <see cref="ProgressBar"/>).</summary>
  82. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  83. public static Rune ContinuousMeterSegment { get; set; } = (Rune)'█';
  84. /// <summary>Stipple pattern (e.g. for <see cref="ScrollBar"/>). Default is Light Shade (U+2591) - ░.</summary>
  85. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  86. public static Rune Stipple { get; set; } = (Rune)'░';
  87. /// <summary>Diamond. Default is Lozenge (U+25CA) - ◊.</summary>
  88. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  89. public static Rune Diamond { get; set; } = (Rune)'◊';
  90. /// <summary>Close. Default is Heavy Ballot X (U+2718) - ✘.</summary>
  91. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  92. public static Rune Close { get; set; } = (Rune)'✘';
  93. /// <summary>Minimize. Default is Lower Horizontal Shadowed White Circle (U+274F) - ❏.</summary>
  94. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  95. public static Rune Minimize { get; set; } = (Rune)'❏';
  96. /// <summary>Maximize. Default is Upper Horizontal Shadowed White Circle (U+273D) - ✽.</summary>
  97. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  98. public static Rune Maximize { get; set; } = (Rune)'✽';
  99. /// <summary>Dot. Default is (U+2219) - ∙.</summary>
  100. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  101. public static Rune Dot { get; set; } = (Rune)'∙';
  102. /// <summary>Dotted Square - ⬚ U+02b1a┝</summary>
  103. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  104. public static Rune DottedSquare { get; set; } = (Rune)'⬚';
  105. /// <summary>Black Circle . Default is (U+025cf) - ●.</summary>
  106. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  107. public static Rune BlackCircle { get; set; } = (Rune)'●'; // Black Circle - ● U+025cf
  108. /// <summary>Expand (e.g. for <see cref="TreeView"/>.</summary>
  109. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  110. public static Rune Expand { get; set; } = (Rune)'+';
  111. /// <summary>Expand (e.g. for <see cref="TreeView"/>.</summary>
  112. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  113. public static Rune Collapse { get; set; } = (Rune)'-';
  114. /// <summary>Identical To (U+226)</summary>
  115. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  116. public static Rune IdenticalTo { get; set; } = (Rune)'≡';
  117. /// <summary>Move indicator. Default is Lozenge (U+25CA) - ◊.</summary>
  118. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  119. public static Rune Move { get; set; } = (Rune)'◊';
  120. /// <summary>Size Horizontally indicator. Default is ┥Left Right Arrow - ↔ U+02194</summary>
  121. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  122. public static Rune SizeHorizontal { get; set; } = (Rune)'↔';
  123. /// <summary>Size Vertical indicator. Default Up Down Arrow - ↕ U+02195</summary>
  124. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  125. public static Rune SizeVertical { get; set; } = (Rune)'↕';
  126. /// <summary>Size Top Left indicator. North West Arrow - ↖ U+02196</summary>
  127. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  128. public static Rune SizeTopLeft { get; set; } = (Rune)'↖';
  129. /// <summary>Size Top Right indicator. North East Arrow - ↗ U+02197</summary>
  130. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  131. public static Rune SizeTopRight { get; set; } = (Rune)'↗';
  132. /// <summary>Size Bottom Right indicator. South East Arrow - ↘ U+02198</summary>
  133. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  134. public static Rune SizeBottomRight { get; set; } = (Rune)'↘';
  135. /// <summary>Size Bottom Left indicator. South West Arrow - ↙ U+02199</summary>
  136. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  137. public static Rune SizeBottomLeft { get; set; } = (Rune)'↙';
  138. /// <summary>Apple (non-BMP). Because snek. And because it's an example of a non-BMP surrogate pair. See Issue #2610.</summary>
  139. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  140. public static Rune Apple { get; set; } = "🍎".ToRunes () [0]; // nonBMP
  141. /// <summary>Apple (BMP). Because snek. See Issue #2610.</summary>
  142. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  143. public static Rune AppleBMP { get; set; } = (Rune)'❦';
  144. #endregion
  145. #region ----------------- Lines -----------------
  146. /// <summary>Box Drawings Horizontal Line - Light (U+2500) - ─</summary>
  147. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  148. public static Rune HLine { get; set; } = (Rune)'─';
  149. /// <summary>Box Drawings Vertical Line - Light (U+2502) - │</summary>
  150. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  151. public static Rune VLine { get; set; } = (Rune)'│';
  152. /// <summary>Box Drawings Double Horizontal (U+2550) - ═</summary>
  153. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  154. public static Rune HLineDbl { get; set; } = (Rune)'═';
  155. /// <summary>Box Drawings Double Vertical (U+2551) - ║</summary>
  156. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineDbl { get; set; } = (Rune)'║';
  157. /// <summary>Box Drawings Heavy Double Dash Horizontal (U+254D) - ╍</summary>
  158. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineHvDa2 { get; set; } = (Rune)'╍';
  159. /// <summary>Box Drawings Heavy Triple Dash Vertical (U+2507) - ┇</summary>
  160. [SerializableConfigurationProperty (Scope = typeof (ThemeScope))]
  161. public static Rune VLineHvDa3 { get; set; } = (Rune)'┇';
  162. /// <summary>Box Drawings Heavy Triple Dash Horizontal (U+2505) - ┅</summary>
  163. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineHvDa3 { get; set; } = (Rune)'┅';
  164. /// <summary>Box Drawings Heavy Quadruple Dash Horizontal (U+2509) - ┉</summary>
  165. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineHvDa4 { get; set; } = (Rune)'┉';
  166. /// <summary>Box Drawings Heavy Double Dash Vertical (U+254F) - ╏</summary>
  167. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineHvDa2 { get; set; } = (Rune)'╏';
  168. /// <summary>Box Drawings Heavy Quadruple Dash Vertical (U+250B) - ┋</summary>
  169. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineHvDa4 { get; set; } = (Rune)'┋';
  170. /// <summary>Box Drawings Light Double Dash Horizontal (U+254C) - ╌</summary>
  171. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineDa2 { get; set; } = (Rune)'╌';
  172. /// <summary>Box Drawings Light Triple Dash Vertical (U+2506) - ┆</summary>
  173. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineDa3 { get; set; } = (Rune)'┆';
  174. /// <summary>Box Drawings Light Triple Dash Horizontal (U+2504) - ┄</summary>
  175. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineDa3 { get; set; } = (Rune)'┄';
  176. /// <summary>Box Drawings Light Quadruple Dash Horizontal (U+2508) - ┈</summary>
  177. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineDa4 { get; set; } = (Rune)'┈';
  178. /// <summary>Box Drawings Light Double Dash Vertical (U+254E) - ╎</summary>
  179. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineDa2 { get; set; } = (Rune)'╎';
  180. /// <summary>Box Drawings Light Quadruple Dash Vertical (U+250A) - ┊</summary>
  181. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineDa4 { get; set; } = (Rune)'┊';
  182. /// <summary>Box Drawings Heavy Horizontal (U+2501) - ━</summary>
  183. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HLineHv { get; set; } = (Rune)'━';
  184. /// <summary>Box Drawings Heavy Vertical (U+2503) - ┃</summary>
  185. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune VLineHv { get; set; } = (Rune)'┃';
  186. /// <summary>Box Drawings Light Left (U+2574) - ╴</summary>
  187. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfLeftLine { get; set; } = (Rune)'╴';
  188. /// <summary>Box Drawings Light Vertical (U+2575) - ╵</summary>
  189. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfTopLine { get; set; } = (Rune)'╵';
  190. /// <summary>Box Drawings Light Horizontal (U+2576) - ╶</summary>
  191. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfRightLine { get; set; } = (Rune)'╶';
  192. /// <summary>Box Drawings Light Down (U+2577) - ╷</summary>
  193. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfBottomLine { get; set; } = (Rune)'╷';
  194. /// <summary>Box Drawings Heavy Left (U+2578) - ╸</summary>
  195. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfLeftLineHv { get; set; } = (Rune)'╸';
  196. /// <summary>Box Drawings Heavy Vertical (U+2579) - ╹</summary>
  197. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfTopLineHv { get; set; } = (Rune)'╹';
  198. /// <summary>Box Drawings Heavy Horizontal (U+257A) - ╺</summary>
  199. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfRightLineHv { get; set; } = (Rune)'╺';
  200. /// <summary>Box Drawings Light Vertical and Horizontal (U+257B) - ╻</summary>
  201. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune HalfBottomLineLt { get; set; } = (Rune)'╻';
  202. /// <summary>Box Drawings Light Horizontal and Heavy Horizontal (U+257C) - ╼</summary>
  203. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightSideLineLtHv { get; set; } = (Rune)'╼';
  204. /// <summary>Box Drawings Light Vertical and Heavy Horizontal (U+257D) - ╽</summary>
  205. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomSideLineLtHv { get; set; } = (Rune)'╽';
  206. /// <summary>Box Drawings Heavy Left and Light Horizontal (U+257E) - ╾</summary>
  207. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftSideLineHvLt { get; set; } = (Rune)'╾';
  208. /// <summary>Box Drawings Heavy Vertical and Light Horizontal (U+257F) - ╿</summary>
  209. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopSideLineHvLt { get; set; } = (Rune)'╿';
  210. #endregion
  211. #region ----------------- Upper Left Corners -----------------
  212. /// <summary>Box Drawings Upper Left Corner - Light Vertical and Light Horizontal (U+250C) - ┌</summary>
  213. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCorner { get; set; } = (Rune)'┌';
  214. /// <summary>Box Drawings Upper Left Corner - Double (U+2554) - ╔</summary>
  215. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerDbl { get; set; } = (Rune)'╔';
  216. /// <summary>Box Drawings Upper Left Corner - Light Arc Down and Horizontal (U+256D) - ╭</summary>
  217. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerR { get; set; } = (Rune)'╭';
  218. /// <summary>Box Drawings Heavy Down and Horizontal (U+250F) - ┏</summary>
  219. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerHv { get; set; } = (Rune)'┏';
  220. /// <summary>Box Drawings Down Heavy and Horizontal Light (U+251E) - ┎</summary>
  221. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerHvLt { get; set; } = (Rune)'┎';
  222. /// <summary>Box Drawings Down Light and Horizontal Heavy (U+250D) - ┎</summary>
  223. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerLtHv { get; set; } = (Rune)'┍';
  224. /// <summary>Box Drawings Double Down and Single Horizontal (U+2553) - ╓</summary>
  225. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerDblSingle { get; set; } = (Rune)'╓';
  226. /// <summary>Box Drawings Single Down and Double Horizontal (U+2552) - ╒</summary>
  227. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ULCornerSingleDbl { get; set; } = (Rune)'╒';
  228. #endregion
  229. #region ----------------- Lower Left Corners -----------------
  230. /// <summary>Box Drawings Lower Left Corner - Light Vertical and Light Horizontal (U+2514) - └</summary>
  231. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCorner { get; set; } = (Rune)'└';
  232. /// <summary>Box Drawings Heavy Vertical and Horizontal (U+2517) - ┗</summary>
  233. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerHv { get; set; } = (Rune)'┗';
  234. /// <summary>Box Drawings Heavy Vertical and Horizontal Light (U+2516) - ┖</summary>
  235. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerHvLt { get; set; } = (Rune)'┖';
  236. /// <summary>Box Drawings Vertical Light and Horizontal Heavy (U+2511) - ┕</summary>
  237. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerLtHv { get; set; } = (Rune)'┕';
  238. /// <summary>Box Drawings Double Vertical and Double Left (U+255A) - ╚</summary>
  239. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerDbl { get; set; } = (Rune)'╚';
  240. /// <summary>Box Drawings Single Vertical and Double Left (U+2558) - ╘</summary>
  241. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerSingleDbl { get; set; } = (Rune)'╘';
  242. /// <summary>Box Drawings Double Down and Single Left (U+2559) - ╙</summary>
  243. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerDblSingle { get; set; } = (Rune)'╙';
  244. /// <summary>Box Drawings Upper Left Corner - Light Arc Down and Left (U+2570) - ╰</summary>
  245. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LLCornerR { get; set; } = (Rune)'╰';
  246. #endregion
  247. #region ----------------- Upper Right Corners -----------------
  248. /// <summary>Box Drawings Upper Horizontal Corner - Light Vertical and Light Horizontal (U+2510) - ┐</summary>
  249. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCorner { get; set; } = (Rune)'┐';
  250. /// <summary>Box Drawings Upper Horizontal Corner - Double Vertical and Double Horizontal (U+2557) - ╗</summary>
  251. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerDbl { get; set; } = (Rune)'╗';
  252. /// <summary>Box Drawings Upper Horizontal Corner - Light Arc Vertical and Horizontal (U+256E) - ╮</summary>
  253. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerR { get; set; } = (Rune)'╮';
  254. /// <summary>Box Drawings Heavy Down and Left (U+2513) - ┓</summary>
  255. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerHv { get; set; } = (Rune)'┓';
  256. /// <summary>Box Drawings Heavy Vertical and Left Down Light (U+2511) - ┑</summary>
  257. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerHvLt { get; set; } = (Rune)'┑';
  258. /// <summary>Box Drawings Down Light and Horizontal Heavy (U+2514) - ┒</summary>
  259. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerLtHv { get; set; } = (Rune)'┒';
  260. /// <summary>Box Drawings Double Vertical and Single Left (U+2556) - ╖</summary>
  261. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerDblSingle { get; set; } = (Rune)'╖';
  262. /// <summary>Box Drawings Single Vertical and Double Left (U+2555) - ╕</summary>
  263. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune URCornerSingleDbl { get; set; } = (Rune)'╕';
  264. #endregion
  265. #region ----------------- Lower Right Corners -----------------
  266. /// <summary>Box Drawings Lower Right Corner - Light (U+2518) - ┘</summary>
  267. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCorner { get; set; } = (Rune)'┘';
  268. /// <summary>Box Drawings Lower Right Corner - Double (U+255D) - ╝</summary>
  269. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerDbl { get; set; } = (Rune)'╝';
  270. /// <summary>Box Drawings Lower Right Corner - Rounded (U+256F) - ╯</summary>
  271. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerR { get; set; } = (Rune)'╯';
  272. /// <summary>Box Drawings Lower Right Corner - Heavy (U+251B) - ┛</summary>
  273. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerHv { get; set; } = (Rune)'┛';
  274. /// <summary>Box Drawings Lower Right Corner - Double Vertical and Single Horizontal (U+255C) - ╜</summary>
  275. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerDblSingle { get; set; } = (Rune)'╜';
  276. /// <summary>Box Drawings Lower Right Corner - Single Vertical and Double Horizontal (U+255B) - ╛</summary>
  277. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerSingleDbl { get; set; } = (Rune)'╛';
  278. /// <summary>Box Drawings Lower Right Corner - Light Vertical and Heavy Horizontal (U+2519) - ┙</summary>
  279. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerLtHv { get; set; } = (Rune)'┙';
  280. /// <summary>Box Drawings Lower Right Corner - Heavy Vertical and Light Horizontal (U+251A) - ┚</summary>
  281. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LRCornerHvLt { get; set; } = (Rune)'┚';
  282. #endregion
  283. #region ----------------- Tees -----------------
  284. /// <summary>Box Drawings Left Tee - Single Vertical and Single Horizontal (U+251C) - ├</summary>
  285. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTee { get; set; } = (Rune)'├';
  286. /// <summary>Box Drawings Left Tee - Single Vertical and Double Horizontal (U+255E) - ╞</summary>
  287. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeDblH { get; set; } = (Rune)'╞';
  288. /// <summary>Box Drawings Left Tee - Double Vertical and Single Horizontal (U+255F) - ╟</summary>
  289. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeDblV { get; set; } = (Rune)'╟';
  290. /// <summary>Box Drawings Left Tee - Double Vertical and Double Horizontal (U+2560) - ╠</summary>
  291. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeDbl { get; set; } = (Rune)'╠';
  292. /// <summary>Box Drawings Left Tee - Heavy Horizontal and Light Vertical (U+2523) - ┝</summary>
  293. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeHvH { get; set; } = (Rune)'┝';
  294. /// <summary>Box Drawings Left Tee - Light Horizontal and Heavy Vertical (U+252B) - ┠</summary>
  295. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeHvV { get; set; } = (Rune)'┠';
  296. /// <summary>Box Drawings Left Tee - Heavy Vertical and Heavy Horizontal (U+2527) - ┣</summary>
  297. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune LeftTeeHvDblH { get; set; } = (Rune)'┣';
  298. /// <summary>Box Drawings Right Tee - Single Vertical and Single Horizontal (U+2524) - ┤</summary>
  299. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTee { get; set; } = (Rune)'┤';
  300. /// <summary>Box Drawings Right Tee - Single Vertical and Double Horizontal (U+2561) - ╡</summary>
  301. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeDblH { get; set; } = (Rune)'╡';
  302. /// <summary>Box Drawings Right Tee - Double Vertical and Single Horizontal (U+2562) - ╢</summary>
  303. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeDblV { get; set; } = (Rune)'╢';
  304. /// <summary>Box Drawings Right Tee - Double Vertical and Double Horizontal (U+2563) - ╣</summary>
  305. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeDbl { get; set; } = (Rune)'╣';
  306. /// <summary>Box Drawings Right Tee - Heavy Horizontal and Light Vertical (U+2528) - ┥</summary>
  307. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeHvH { get; set; } = (Rune)'┥';
  308. /// <summary>Box Drawings Right Tee - Light Horizontal and Heavy Vertical (U+2530) - ┨</summary>
  309. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeHvV { get; set; } = (Rune)'┨';
  310. /// <summary>Box Drawings Right Tee - Heavy Vertical and Heavy Horizontal (U+252C) - ┫</summary>
  311. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune RightTeeHvDblH { get; set; } = (Rune)'┫';
  312. /// <summary>Box Drawings Top Tee - Single Vertical and Single Horizontal (U+252C) - ┬</summary>
  313. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTee { get; set; } = (Rune)'┬';
  314. /// <summary>Box Drawings Top Tee - Single Vertical and Double Horizontal (U+2564) - ╤</summary>
  315. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeDblH { get; set; } = (Rune)'╤';
  316. /// <summary>Box Drawings Top Tee - Double Vertical and Single Horizontal (U+2565) - ╥</summary>
  317. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeDblV { get; set; } = (Rune)'╥';
  318. /// <summary>Box Drawings Top Tee - Double Vertical and Double Horizontal (U+2566) - ╦</summary>
  319. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeDbl { get; set; } = (Rune)'╦';
  320. /// <summary>Box Drawings Top Tee - Heavy Horizontal and Light Vertical (U+252F) - ┯</summary>
  321. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeHvH { get; set; } = (Rune)'┯';
  322. /// <summary>Box Drawings Top Tee - Light Horizontal and Heavy Vertical (U+2537) - ┰</summary>
  323. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeHvV { get; set; } = (Rune)'┰';
  324. /// <summary>Box Drawings Top Tee - Heavy Vertical and Heavy Horizontal (U+2533) - ┳</summary>
  325. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune TopTeeHvDblH { get; set; } = (Rune)'┳';
  326. /// <summary>Box Drawings Bottom Tee - Single Vertical and Single Horizontal (U+2534) - ┴</summary>
  327. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTee { get; set; } = (Rune)'┴';
  328. /// <summary>Box Drawings Bottom Tee - Single Vertical and Double Horizontal (U+2567) - ╧</summary>
  329. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeDblH { get; set; } = (Rune)'╧';
  330. /// <summary>Box Drawings Bottom Tee - Double Vertical and Single Horizontal (U+2568) - ╨</summary>
  331. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeDblV { get; set; } = (Rune)'╨';
  332. /// <summary>Box Drawings Bottom Tee - Double Vertical and Double Horizontal (U+2569) - ╩</summary>
  333. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeDbl { get; set; } = (Rune)'╩';
  334. /// <summary>Box Drawings Bottom Tee - Heavy Horizontal and Light Vertical (U+2535) - ┷</summary>
  335. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeHvH { get; set; } = (Rune)'┷';
  336. /// <summary>Box Drawings Bottom Tee - Light Horizontal and Heavy Vertical (U+253D) - ┸</summary>
  337. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeHvV { get; set; } = (Rune)'┸';
  338. /// <summary>Box Drawings Bottom Tee - Heavy Vertical and Heavy Horizontal (U+2539) - ┻</summary>
  339. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune BottomTeeHvDblH { get; set; } = (Rune)'┻';
  340. #endregion
  341. #region ----------------- Crosses -----------------
  342. /// <summary>Box Drawings Cross - Single Vertical and Single Horizontal (U+253C) - ┼</summary>
  343. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune Cross { get; set; } = (Rune)'┼';
  344. /// <summary>Box Drawings Cross - Single Vertical and Double Horizontal (U+256A) - ╪</summary>
  345. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossDblH { get; set; } = (Rune)'╪';
  346. /// <summary>Box Drawings Cross - Double Vertical and Single Horizontal (U+256B) - ╫</summary>
  347. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossDblV { get; set; } = (Rune)'╫';
  348. /// <summary>Box Drawings Cross - Double Vertical and Double Horizontal (U+256C) - ╬</summary>
  349. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossDbl { get; set; } = (Rune)'╬';
  350. /// <summary>Box Drawings Cross - Heavy Horizontal and Light Vertical (U+253F) - ┿</summary>
  351. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossHvH { get; set; } = (Rune)'┿';
  352. /// <summary>Box Drawings Cross - Light Horizontal and Heavy Vertical (U+2541) - ╂</summary>
  353. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossHvV { get; set; } = (Rune)'╂';
  354. /// <summary>Box Drawings Cross - Heavy Vertical and Heavy Horizontal (U+254B) - ╋</summary>
  355. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune CrossHv { get; set; } = (Rune)'╋';
  356. #endregion
  357. #region ----------------- ShadowStyle -----------------
  358. /// <summary>Shadow - Vertical Start - Left Half Block - ▌ U+0258c</summary>
  359. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ShadowVerticalStart { get; set; } = (Rune)'▖'; // Half: '\u2596' ▖;
  360. /// <summary>Shadow - Vertical - Left Half Block - ▌ U+0258c</summary>
  361. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ShadowVertical { get; set; } = (Rune)'▌';
  362. /// <summary>Shadow - Horizontal Start - Upper Half Block - ▀ U+02580</summary>
  363. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ShadowHorizontalStart { get; set; } = (Rune)'▝'; // Half: ▝ U+0259d;
  364. /// <summary>Shadow - Horizontal - Upper Half Block - ▀ U+02580</summary>
  365. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ShadowHorizontal { get; set; } = (Rune)'▀';
  366. /// <summary>Shadow - Horizontal End - Quadrant Upper Left - ▘ U+02598</summary>
  367. [SerializableConfigurationProperty(Scope = typeof(ThemeScope))] public static Rune ShadowHorizontalEnd { get; set; } = (Rune)'▘';
  368. #endregion
  369. }