/indra/newview/skins/default/xui/en/widgets/location_input.xml

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 149 lines · 142 code · 0 blank · 7 comment · 0 complexity · 1bbd6c6fdbe0bfbfa51ae435f983e824 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <!--
  3. *TODO: Replace hardcoded buttons width/height with getting this info from the button images.
  4. Currently that doesn't work because LLUIImage::getWidth/getHeight() return 1 for the images.
  5. -->
  6. <location_input font="SansSerifSmall"
  7. icon_maturity_general="Parcel_PG_Light"
  8. icon_maturity_adult="Parcel_R_Light"
  9. icon_maturity_moderate="Parcel_M_Light"
  10. maturity_help_topic="maturity_rating"
  11. add_landmark_image_enabled="Favorite_Star_Active"
  12. add_landmark_image_disabled="Favorite_Star_Off"
  13. add_landmark_image_hover="Favorite_Star_Over"
  14. add_landmark_image_selected="Favorite_Star_Press"
  15. add_landmark_hpad="12"
  16. icon_hpad="2"
  17. allow_text_entry="true"
  18. list_position="below"
  19. show_text_as_tentative="false"
  20. max_chars="20"
  21. follows="left|top"
  22. allow_new_values="true"
  23. >
  24. <!-- *NOTE: Tooltips are in strings.xml so they can be localized.
  25. See LocationCtrlAddLandmarkTooltip etc. -->
  26. <info_button
  27. name="Place Information"
  28. width="16"
  29. height="16"
  30. left="6"
  31. top="20"
  32. follows="left|top"
  33. hover_glow_amount="0.15"
  34. image_unselected="Info_Off"
  35. image_selected="Info_Off"
  36. image_disabled_selected="Info_Off"
  37. image_disabled="Info_Off" />
  38. <add_landmark_button name="Add Landmark"
  39. hover_glow_amount="0.15"
  40. image_hover_selected="Favorite_Star_Over"
  41. image_hover_unselected="Favorite_Star_Over"
  42. width="18"
  43. height="18"
  44. follows="right|top"
  45. scale_image="false"
  46. top="19"
  47. left="-3" />
  48. <maturity_button
  49. name="maturity_icon"
  50. width="18"
  51. height="16"
  52. top="20"
  53. follows="left|top"
  54. />
  55. <for_sale_button
  56. name="for_sale_btn"
  57. image_unselected="Parcel_ForSale_Light"
  58. image_selected="Parcel_ForSale_Light"
  59. width="22"
  60. height="18"
  61. follows="right|top"
  62. scale_image="false"
  63. top="21"
  64. />
  65. <voice_icon
  66. enabled="true"
  67. name="voice_icon"
  68. width="22"
  69. height="18"
  70. top="21"
  71. follows="right|top"
  72. image_name="Parcel_VoiceNo_Light"
  73. />
  74. <fly_icon
  75. name="fly_icon"
  76. width="22"
  77. height="18"
  78. top="21"
  79. follows="right|top"
  80. image_name="Parcel_FlyNo_Light"
  81. />
  82. <push_icon
  83. name="push_icon"
  84. width="22"
  85. height="18"
  86. top="21"
  87. follows="right|top"
  88. image_name="Parcel_PushNo_Light"
  89. />
  90. <build_icon
  91. name="build_icon"
  92. width="22"
  93. height="18"
  94. top="21"
  95. follows="right|top"
  96. image_name="Parcel_BuildNo_Light"
  97. />
  98. <scripts_icon
  99. name="scripts_icon"
  100. width="22"
  101. height="18"
  102. top="21"
  103. follows="right|top"
  104. image_name="Parcel_ScriptsNo_Light"
  105. />
  106. <damage_icon
  107. name="damage_icon"
  108. width="14"
  109. height="13"
  110. top="19"
  111. left="2"
  112. follows="right|top"
  113. image_name="Parcel_Health_Dark"
  114. />
  115. <!-- Default text color is invisible on top of nav bar background -->
  116. <damage_text
  117. name="damage_text"
  118. width="35"
  119. height="18"
  120. top="17"
  121. follows="right|top"
  122. halign="right"
  123. font="SansSerifSmall"
  124. text_color="TextFgColor"
  125. />
  126. <see_avatars_icon
  127. name="see_avatars_icon"
  128. width="22"
  129. height="18"
  130. top="21"
  131. follows="right|top"
  132. image_name="Parcel_SeeAVsOff_Light"
  133. />
  134. <combo_button
  135. name="Location History"
  136. label=""
  137. pad_right="0"/>
  138. <combo_list
  139. bg_writeable_color="MenuDefaultBgColor"
  140. page_lines="10"
  141. scroll_bar_bg_visible="true" />
  142. <combo_editor name="Combo Text Entry"
  143. text_pad_left="27"
  144. select_on_focus="false"
  145. font="SansSerifSmall"
  146. bevel_style="none"
  147. border_style="line"
  148. border.border_thickness="0" />
  149. </location_input>