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

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 212 lines · 196 code · 0 blank · 16 comment · 0 complexity · 1f2337cb688749b34423e27b0987bda6 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <!--
  3. Not can_close / no title to avoid window chrome
  4. Single instance - only have one at a time, recycle it each spawn
  5. -->
  6. <floater
  7. legacy_header_height="25"
  8. bevel_style="in"
  9. bg_opaque_image="Inspector_Background"
  10. can_close="false"
  11. can_minimize="false"
  12. height="164"
  13. layout="topleft"
  14. name="inspect_avatar"
  15. single_instance="true"
  16. sound_flags="0"
  17. visible="true"
  18. width="245">
  19. <!-- Allowed fields include:
  20. [BORN_ON] ("12/3/2008")
  21. [SL_PROFILE] (Second Life profile),
  22. [RW_PROFILE] (real world profile),
  23. [ACCTTYPE] ("Resident"),
  24. [PAYMENTINFO] ("Payment Info on File"),
  25. [AGE] ("1 year 2 months")
  26. -->
  27. <string
  28. name="Subtitle">
  29. [AGE]
  30. </string>
  31. <string
  32. name="Details">
  33. [SL_PROFILE]
  34. </string>
  35. <text
  36. follows="top|left"
  37. font="SansSerif"
  38. height="20"
  39. left="8"
  40. name="user_name_small"
  41. parse_urls="false"
  42. top="7"
  43. text_color="White"
  44. translate="false"
  45. use_ellipses="true"
  46. word_wrap="true"
  47. visible="false"
  48. value="TestString PleaseIgnore"
  49. width="185" />
  50. <text
  51. follows="top|left"
  52. font="SansSerifBigLarge"
  53. height="21"
  54. left="8"
  55. name="user_name"
  56. parse_urls="false"
  57. top="10"
  58. text_color="White"
  59. translate="false"
  60. use_ellipses="true"
  61. value="TestString PleaseIgnore"
  62. width="190" />
  63. <text
  64. follows="top|left"
  65. height="16"
  66. left="8"
  67. name="user_slid"
  68. font="SansSerifSmallBold"
  69. parse_urls="false"
  70. text_color="EmphasisColor"
  71. translate="false"
  72. value="teststring.pleaseignore"
  73. width="185"
  74. use_ellipses="true" />
  75. <text
  76. follows="top|left"
  77. height="16"
  78. left="8"
  79. name="user_subtitle"
  80. font="SansSerifSmall"
  81. text_color="White"
  82. top_pad="0"
  83. value="11 Months, 3 days old"
  84. width="175"
  85. use_ellipses="true" />
  86. <text
  87. follows="left|top|right"
  88. height="35"
  89. left="8"
  90. name="user_details"
  91. right="-10"
  92. word_wrap="true"
  93. top_pad="4"
  94. use_ellipses="true"
  95. width="220">This is my second life description and I really think it is great. But for some reason my description is super extra long because I like to talk a whole lot
  96. </text>
  97. <slider
  98. follows="top|left"
  99. height="23"
  100. increment="0.01"
  101. left="1"
  102. max_val="0.95"
  103. min_val="0.05"
  104. name="volume_slider"
  105. show_text="false"
  106. tool_tip="Voice volume"
  107. top_pad="0"
  108. value="0.5"
  109. width="200" />
  110. <button
  111. follows="top|left"
  112. height="16"
  113. image_disabled="Audio_Off"
  114. image_disabled_selected="AudioMute_Off"
  115. image_hover_selected="AudioMute_Over"
  116. image_selected="AudioMute_Off"
  117. image_unselected="Audio_Off"
  118. is_toggle="true"
  119. left_pad="0"
  120. top_delta="4"
  121. name="mute_btn"
  122. width="16" />
  123. <avatar_icon
  124. follows="top|left"
  125. height="38"
  126. right="-10"
  127. bevel_style="in"
  128. border_style="line"
  129. mouse_opaque="true"
  130. name="avatar_icon"
  131. top="10"
  132. width="38" />
  133. <!-- Overlapping buttons for default actions
  134. llinspectavatar.cpp makes visible the most likely default action
  135. -->
  136. <button
  137. follows="top|left"
  138. height="20"
  139. label="Add Friend"
  140. left="8"
  141. top="135"
  142. name="add_friend_btn"
  143. width="90" />
  144. <button
  145. follows="top|left"
  146. height="20"
  147. label="IM"
  148. left_delta="0"
  149. top_delta="0"
  150. name="im_btn"
  151. width="80"
  152. commit_callback.function="InspectAvatar.IM"/>
  153. <button
  154. follows="top|left"
  155. height="20"
  156. label="Profile"
  157. layout="topleft"
  158. name="view_profile_btn"
  159. left_delta="96"
  160. top_delta="0"
  161. tab_stop="false"
  162. width="80" />
  163. <!-- gear buttons here -->
  164. <menu_button
  165. follows="top|left"
  166. height="20"
  167. layout="topleft"
  168. image_overlay="OptionsMenu_Off"
  169. menu_filename="menu_inspect_avatar_gear.xml"
  170. name="gear_btn"
  171. right="-5"
  172. top_delta="0"
  173. width="35" />
  174. <menu_button
  175. follows="top|left"
  176. height="20"
  177. image_overlay="OptionsMenu_Off"
  178. menu_filename="menu_inspect_self_gear.xml"
  179. name="gear_self_btn"
  180. right="-5"
  181. top_delta="0"
  182. width="35" />
  183. <panel
  184. follows="top|left"
  185. top="164"
  186. left="0"
  187. height="60"
  188. width="228"
  189. visible="false"
  190. background_visible="true"
  191. name="moderator_panel"
  192. background_opaque="true"
  193. bg_opaque_color="MouseGray">
  194. <button
  195. name="disable_voice"
  196. label="Disable Voice"
  197. top="20"
  198. width="95"
  199. height="20"
  200. left="10"
  201. commit_callback.function="InspectAvatar.DisableVoice"/>
  202. <button
  203. name="enable_voice"
  204. label="Enable Voice"
  205. top="20"
  206. width="95"
  207. height="20"
  208. left="10"
  209. visible="false"
  210. commit_callback.function="InspectAvatar.EnableVoice"/>
  211. </panel>
  212. </floater>