/indra/newview/skins/default/xui/en/panel_preferences_colors.xml

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 394 lines · 394 code · 0 blank · 0 comment · 0 complexity · 189026a95aef731f06a155510daf86f1 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <panel
  3. border="true"
  4. follows="left|top|right|bottom"
  5. height="408"
  6. label="Colors"
  7. layout="topleft"
  8. left="102"
  9. name="colors_panel"
  10. top="1"
  11. width="517">
  12. <text
  13. type="string"
  14. length="1"
  15. follows="left|top"
  16. height="15"
  17. layout="topleft"
  18. left="30"
  19. name="effects_color_textbox"
  20. top_pad="10"
  21. width="200">
  22. My effects (selection beam):
  23. </text>
  24. <color_swatch
  25. can_apply_immediately="true"
  26. follows="left|top"
  27. height="24"
  28. label_height="0"
  29. layout="topleft"
  30. left="40"
  31. name="effect_color_swatch"
  32. tool_tip="Click to open Color Picker"
  33. width="44">
  34. <color_swatch.init_callback
  35. function="Pref.getUIColor"
  36. parameter="EffectColor" />
  37. <color_swatch.commit_callback
  38. function="Pref.applyUIColor"
  39. parameter="EffectColor" />
  40. <color_swatch.caption_text
  41. height="0" />
  42. </color_swatch>
  43. <text
  44. follows="left|top"
  45. layout="topleft"
  46. left="30"
  47. height="12"
  48. name="font_colors"
  49. top_pad="20"
  50. width="170"
  51. >
  52. Chat font colors:
  53. </text>
  54. <color_swatch
  55. can_apply_immediately="true"
  56. follows="left|top"
  57. height="24"
  58. label_height="0"
  59. layout="topleft"
  60. left="40"
  61. name="user"
  62. top_pad="10"
  63. width="44" >
  64. <color_swatch.init_callback
  65. function="Pref.getUIColor"
  66. parameter="UserChatColor" />
  67. <color_swatch.commit_callback
  68. function="Pref.applyUIColor"
  69. parameter="UserChatColor" />
  70. </color_swatch>
  71. <text
  72. type="string"
  73. length="1"
  74. follows="left|top"
  75. height="10"
  76. layout="topleft"
  77. left_pad="5"
  78. mouse_opaque="false"
  79. name="text_box1"
  80. top_delta="5"
  81. width="95">
  82. Me
  83. </text>
  84. <color_swatch
  85. can_apply_immediately="true"
  86. follows="left|top"
  87. height="24"
  88. label_height="0"
  89. layout="topleft"
  90. left="190"
  91. name="agent"
  92. top_pad="-15"
  93. width="44" >
  94. <color_swatch.init_callback
  95. function="Pref.getUIColor"
  96. parameter="AgentChatColor" />
  97. <color_swatch.commit_callback
  98. function="Pref.applyUIColor"
  99. parameter="AgentChatColor" />
  100. </color_swatch>
  101. <text
  102. type="string"
  103. length="1"
  104. follows="left|top"
  105. height="10"
  106. layout="topleft"
  107. left_pad="5"
  108. mouse_opaque="false"
  109. name="text_box2"
  110. top_delta="5"
  111. width="95">
  112. Others
  113. </text>
  114. <color_swatch
  115. can_apply_immediately="true"
  116. color="EmphasisColor_35"
  117. follows="left|top"
  118. height="24"
  119. label_height="0"
  120. label_width="60"
  121. layout="topleft"
  122. left="360"
  123. name="objects"
  124. top_pad="-15"
  125. width="44">
  126. <color_swatch.init_callback
  127. function="Pref.getUIColor"
  128. parameter="ObjectChatColor" />
  129. <color_swatch.commit_callback
  130. function="Pref.applyUIColor"
  131. parameter="ObjectChatColor" />
  132. </color_swatch>
  133. <text
  134. type="string"
  135. length="1"
  136. follows="left|top"
  137. height="10"
  138. layout="topleft"
  139. left_pad="5"
  140. mouse_opaque="false"
  141. name="text_box3"
  142. top_delta="5"
  143. width="95">
  144. Objects
  145. </text>
  146. <color_swatch
  147. can_apply_immediately="true"
  148. color="LtGray"
  149. follows="left|top"
  150. height="24"
  151. label_height="0"
  152. label_width="44"
  153. layout="topleft"
  154. left="40"
  155. name="system"
  156. top_pad="22"
  157. width="44" >
  158. <color_swatch.init_callback
  159. function="Pref.getUIColor"
  160. parameter="SystemChatColor" />
  161. <color_swatch.commit_callback
  162. function="Pref.applyUIColor"
  163. parameter="SystemChatColor" />
  164. </color_swatch>
  165. <text
  166. type="string"
  167. length="1"
  168. follows="left|top"
  169. height="10"
  170. layout="topleft"
  171. left_pad="5"
  172. mouse_opaque="false"
  173. name="text_box4"
  174. top_delta="5"
  175. width="95">
  176. System
  177. </text>
  178. <color_swatch
  179. can_apply_immediately="true"
  180. color="Red"
  181. follows="left|top"
  182. height="24"
  183. label_height="0"
  184. layout="topleft"
  185. left="190"
  186. name="script_error"
  187. top_pad="-15"
  188. width="44">
  189. <color_swatch.init_callback
  190. function="Pref.getUIColor"
  191. parameter="ScriptErrorColor" />
  192. <color_swatch.commit_callback
  193. function="Pref.applyUIColor"
  194. parameter="ScriptErrorColor" />
  195. </color_swatch>
  196. <text
  197. type="string"
  198. length="1"
  199. follows="left|top"
  200. height="10"
  201. layout="topleft"
  202. left_pad="5"
  203. mouse_opaque="false"
  204. name="text_box5"
  205. top_delta="5"
  206. width="95">
  207. Errors
  208. </text>
  209. <color_swatch
  210. can_apply_immediately="true"
  211. color="LtOrange"
  212. follows="left|top"
  213. height="24"
  214. label_height="0"
  215. layout="topleft"
  216. left="360"
  217. name="direct"
  218. top_pad="-15"
  219. width="44" >
  220. <color_swatch.init_callback
  221. function="Pref.getUIColor"
  222. parameter="DirectChatColor" />
  223. <color_swatch.commit_callback
  224. function="Pref.applyUIColor"
  225. parameter="DirectChatColor" />
  226. </color_swatch>
  227. <text
  228. type="string"
  229. length="1"
  230. follows="left|top"
  231. height="10"
  232. layout="topleft"
  233. left_pad="5"
  234. mouse_opaque="false"
  235. name="text_box10"
  236. top_delta="5"
  237. width="95">
  238. Direct
  239. </text>
  240. <color_swatch
  241. can_apply_immediately="true"
  242. color="LtYellow"
  243. follows="left|top"
  244. height="24"
  245. label_height="0"
  246. layout="topleft"
  247. left="40"
  248. name="owner"
  249. top_pad="22"
  250. width="44" >
  251. <color_swatch.init_callback
  252. function="Pref.getUIColor"
  253. parameter="llOwnerSayChatColor" />
  254. <color_swatch.commit_callback
  255. function="Pref.applyUIColor"
  256. parameter="llOwnerSayChatColor" />
  257. </color_swatch>
  258. <text
  259. type="string"
  260. length="1"
  261. follows="left|top"
  262. height="10"
  263. layout="topleft"
  264. left_pad="5"
  265. mouse_opaque="false"
  266. name="text_box7"
  267. top_delta="5"
  268. width="95">
  269. Owner
  270. </text>
  271. <color_swatch
  272. can_apply_immediately="true"
  273. color="EmphasisColor"
  274. follows="left|top"
  275. height="24"
  276. label_height="0"
  277. layout="topleft"
  278. left="190"
  279. name="links"
  280. top_pad="-15"
  281. width="44" >
  282. <color_swatch.init_callback
  283. function="Pref.getUIColor"
  284. parameter="HTMLLinkColor" />
  285. <color_swatch.commit_callback
  286. function="Pref.applyUIColor"
  287. parameter="HTMLLinkColor" />
  288. </color_swatch>
  289. <text
  290. type="string"
  291. length="1"
  292. follows="left|top"
  293. height="10"
  294. layout="topleft"
  295. left_pad="5"
  296. mouse_opaque="false"
  297. name="text_box9"
  298. top_delta="5"
  299. width="95">
  300. URLs
  301. </text>
  302. <text
  303. follows="left|top"
  304. layout="topleft"
  305. left="30"
  306. height="12"
  307. name="bubble_chat"
  308. top_pad="20"
  309. width="495"
  310. >
  311. Name tag background color (also affects Bubble Chat):
  312. </text>
  313. <color_swatch
  314. can_apply_immediately="true"
  315. color="0 0 0 1"
  316. control_name="NameTagBackground"
  317. follows="left|top"
  318. height="24"
  319. label_height="0"
  320. layout="topleft"
  321. left_delta="10"
  322. top_pad="5"
  323. name="background"
  324. tool_tip="Choose name tag color"
  325. width="44">
  326. <color_swatch.init_callback
  327. function="Pref.getUIColor"
  328. parameter="NameTagBackground" />
  329. <color_swatch.commit_callback
  330. function="Pref.applyUIColor"
  331. parameter="NameTagBackground" />
  332. </color_swatch>
  333. <slider
  334. control_name="ChatBubbleOpacity"
  335. follows="left|top"
  336. height="16"
  337. increment="0.05"
  338. initial_value="1"
  339. label="Opacity:"
  340. layout="topleft"
  341. left_pad="10"
  342. label_width="70"
  343. name="bubble_chat_opacity"
  344. tool_tip="Choose name tag opacity"
  345. top_delta = "6"
  346. width="378" />
  347. <text
  348. follows="left|top"
  349. layout="topleft"
  350. left="30"
  351. height="12"
  352. name="floater_opacity"
  353. top_pad="15"
  354. width="200"
  355. >
  356. Floater Opacity:
  357. </text>
  358. <slider
  359. can_edit_text="false"
  360. control_name="ActiveFloaterTransparency"
  361. decimal_digits="2"
  362. follows="left|top"
  363. height="16"
  364. increment="0.01"
  365. initial_value="0.8"
  366. layout="topleft"
  367. label_width="115"
  368. label="Active:"
  369. left="50"
  370. max_val="1.00"
  371. min_val="0.00"
  372. name="active"
  373. show_text="true"
  374. top_pad="5"
  375. width="415" />
  376. <slider
  377. can_edit_text="false"
  378. control_name="InactiveFloaterTransparency"
  379. decimal_digits="2"
  380. follows="left|top"
  381. height="16"
  382. increment="0.01"
  383. initial_value="0.5"
  384. layout="topleft"
  385. label_width="115"
  386. label="Inactive:"
  387. left="50"
  388. max_val="1.00"
  389. min_val="0.00"
  390. name="inactive"
  391. show_text="true"
  392. top_pad="5"
  393. width="415" />
  394. </panel>