profiles.tscript 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. $TextMediumEmphasisColor = "200 200 200";
  2. $TextMediumEmphasisColorHL = "0 0 0";
  3. $TextHighEmphasisColor = "224 224 224";
  4. $TextHighEmphasisColorHL = "0 0 0";
  5. $TextDisabledColor = "108 108 108";
  6. // ---------------------------------------------------------------------------
  7. // Defaults
  8. // ---------------------------------------------------------------------------
  9. singleton GuiControlProfile( GuiMenuDefaultProfile )
  10. {
  11. opaque = false;
  12. fillColor = "0 0 0 0";
  13. category = "BaseUI";
  14. };
  15. singleton GuiControlProfile( GuiModelessDialogProfile : GuiMenuDefaultProfile )
  16. {
  17. modal = false;
  18. };
  19. singleton GuiControlProfile(GuiMenuBackgroundProfile)
  20. {
  21. category = "BaseUI";
  22. opaque = true;
  23. fillcolor = "34 34 34 255";
  24. };
  25. singleton GuiControlProfile(GuiMenuPanelProfile)
  26. {
  27. category = "BaseUI";
  28. opaque = true;
  29. fillcolor = "15 15 15 255";
  30. };
  31. singleton GuiControlProfile(GuiMenuBasePanelProfile)
  32. {
  33. category = "BaseUI";
  34. opaque = true;
  35. fillcolor = "40 40 40 255";
  36. };
  37. // ---------------------------------------------------------------------------
  38. // Text
  39. // ---------------------------------------------------------------------------
  40. singleton GuiControlProfile(MenuHeaderText)
  41. {
  42. fontType = "Arial Bold";
  43. fontSize = 36;
  44. fontColor = $TextHighEmphasisColor;
  45. justify = "left";
  46. modal = false;
  47. category = "BaseUI";
  48. };
  49. singleton GuiControlProfile(MenuHeaderTextHighlighted : MenuHeaderText)
  50. {
  51. fontColor = $TextHighEmphasisColorHL;
  52. };
  53. singleton GuiControlProfile(MenuHeaderTextCenter : MenuHeaderText)
  54. {
  55. justify = "center";
  56. };
  57. singleton GuiControlProfile(MenuSubHeaderText)
  58. {
  59. fontType = "Arial Bold";
  60. fontSize = 24;
  61. fontColor = $TextMediumEmphasisColor;
  62. justify = "left";
  63. modal = false;
  64. category = "BaseUI";
  65. };
  66. singleton GuiControlProfile(MenuSubHeaderTextHighlighted : MenuSubHeaderText)
  67. {
  68. fontColor = $TextMediumEmphasisColorHL;
  69. };
  70. singleton GuiControlProfile(MenuSubHeaderCenteredText : MenuSubHeaderText)
  71. {
  72. justify = "center";
  73. };
  74. singleton GuiControlProfile(MenuSubHeaderCenteredTextHighlighted : MenuSubHeaderCenteredText)
  75. {
  76. fontColor = $TextMediumEmphasisColorHL;
  77. };
  78. singleton GuiControlProfile(MenuMLSubHeaderText)
  79. {
  80. fontType = "Arial Bold";
  81. fontSize = 20;
  82. fontColor = $TextMediumEmphasisColor;
  83. justify = "left";
  84. autoSizeWidth = true;
  85. autoSizeHeight = true;
  86. modal = false;
  87. category = "BaseUI";
  88. };
  89. singleton GuiControlProfile(MenuMLSubHeaderTextCenter : MenuMLSubHeaderText)
  90. {
  91. justify = "center";
  92. };
  93. singleton GuiControlProfile( GuiMenuTextProfile )
  94. {
  95. opaque = true;
  96. border = false;
  97. fontSize = 18;
  98. fontType = "Arial Bold";
  99. fontColor = "240 240 240";
  100. fontColorHL = "0 0 0";
  101. fontColorNA = "125 125 125";
  102. fixedExtent = false;
  103. justify = "center";
  104. category = "BaseUI";
  105. modal = false;
  106. };
  107. singleton GuiControlProfile( GuiMenuTextProfileHL : GuiMenuTextProfile )
  108. {
  109. fontColor = "0 0 0";
  110. };
  111. singleton GuiControlProfile( GuiMLTextProfile )
  112. {
  113. fontColor = $TextMediumEmphasisColor;
  114. fontColorHL = $TextMediumEmphasisColor;
  115. fontColorSEL = $TextMediumEmphasisColor;
  116. fontColorNA = $TextDisabledColor;
  117. fontSize = 20;
  118. fontColorLink = "100 100 100";
  119. fontColorLinkHL = $TextMediumEmphasisColor;
  120. autoSizeWidth = true;
  121. autoSizeHeight = true;
  122. border = false;
  123. modal = false;
  124. category = "BaseUI";
  125. };
  126. singleton GuiControlProfile( GuiMLTextProfileHighlighted : GuiMLTextProfile )
  127. {
  128. fontColor = $TextMediumEmphasisColorHL;
  129. };
  130. // ---------------------------------------------------------------------------
  131. // Interactive Controls
  132. // ---------------------------------------------------------------------------
  133. singleton GuiControlProfile( GuiMenuButtonProfile )
  134. {
  135. opaque = true;
  136. border = false;
  137. fontSize = 24;
  138. fontType = "Arial Bold";
  139. fontColor = "200 200 200 255";
  140. fontColorHL = "0 0 0 255";
  141. fontColorNA = "108 108 108 255";
  142. fontColorSEL = "200 200 200 255";
  143. fillColor = "0 0 0 0";
  144. fillColorHL = "255 255 255 255";
  145. fillColorNA = "40 40 40";
  146. borderColor = "87 87 87";
  147. borderColorNA = "0 0 0";
  148. borderColorHL = "194 64 64";
  149. fixedExtent = 0;
  150. justify = "center";
  151. canKeyFocus = false;
  152. hasBitmapArray = false;
  153. soundButtonDown = "UI:buttonClick";
  154. soundButtonOver = "UI:buttonHover";
  155. category = "BaseUI";
  156. fontColors[0] = "200 200 200 255";
  157. fontColors[2] = "108 108 108 255";
  158. fontColors[3] = "200 200 200 255";
  159. };
  160. singleton GuiControlProfile( GuiMenuButtonLeftJustProfile : GuiMenuButtonProfile )
  161. {
  162. justify = "Left";
  163. };
  164. singleton GuiControlProfile( GuiRemapActionMapButtonProfile : GuiMenuButtonProfile )
  165. {
  166. fillColor = "18 18 18 255";
  167. fillColorHL = "0 0 0 255";
  168. };
  169. singleton GuiControlProfile(GuiMenuScrollProfile)
  170. {
  171. opaque = false;
  172. fillcolor = "0 0 0 0";
  173. fontColor = "200 200 200";
  174. fontColorHL = "250 250 250";
  175. border = false;
  176. bitmapAsset = "UI:scrollBar_image";
  177. hasBitmapArray = true;
  178. category = "BaseUI";
  179. };