summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/inspect_object.xml
blob: cedf83f8b1f71bdea6223834f613623dc090cc52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!--
  Not can_close / no title to avoid window chrome
  Single instance - only have one at a time, recycle it each spawn
-->
<floater
 legacy_header_height="25"
 bevel_style="in"
 bg_opaque_image="Inspector_Background"
 can_close="false"
 can_minimize="false"
 height="150"
 layout="topleft"
 name="inspect_object"
 single_instance="true"
 sound_flags="0"
 visible="true"
 width="228">
  <string name="Creator">By [CREATOR]</string>
  <string name="CreatorAndOwner">
by [CREATOR]
owner [OWNER]
  </string>
  <string name="Price">L$[AMOUNT]</string>
  <string name="PriceFree">Free!</string>
  <string name="Touch">Touch</string>
  <string name="Sit">Sit</string>
  <text
     follows="all"
     font="SansSerifLarge"
     height="16"
     left="8"
     name="object_name"
     text_color="White"
     top="10"
     use_ellipses="true"
     value="Test Object Name That Is Really Long"
     width="220" />
  <text
   follows="all"
   height="33"
   left="8"
   name="object_creator"
   top_pad="0"
   use_ellipses="true"
   width="220">
    by secondlife:///app/agent/0e346d8b-4433-4d66-a6b0-fd37083abc4c/about
owner secondlife:///app/agent/0e346d8b-4433-4d66-a6b0-fd37083abc4c/about
  </text>
  <!-- *TODO: Replace this icon -->
  <icon
  name="price_icon"
  image_name="Icon_For_Sale"
  right="-5"
  width="16"
  height="16"
  top="56"
  follows="left|top"
  />
  <text
   follows="all"
   font="SansSerifSmall"
   font.style="BOLD"
   height="16"
   halign="right"
   left="5"
   name="price_text"
   text_color="white"
   top="58"
   font_shadow="none"
   width="196">
L$300,000
  </text>
  <text
   clip_partial="true" 
   follows="all"
   font="SansSerifSmall"
   height="37"
   left="8"
   name="object_description"
   top_pad="0"
   use_ellipses="true" 
   width="220"
   word_wrap="true">
This is a really long description for an object being as how it is at least 80 characters in length and maybe more like 120 at this point. Who knows, really?
  </text>
  <!-- Overlapping buttons for all default actions.  Show "Buy" if
  for sale, "Sit" if can sit, etc. -->
   <text
   follows="all"
   font="SansSerifSmall"
   height="13"
   left_delta="0"
   name="object_media_url"
   top_pad="-1"
   width="291"
   max_length = "50"
   use_ellipses="true">
   http://www.superdupertest.com
</text>
  <button
   follows="top|left"
   height="20"
   label="Buy"
   left="8"
   name="buy_btn"
   top="121"
   width="80" />
  <button
   follows="top|left"
   height="20"
   label="Pay"
   left_delta="0"
   name="pay_btn"
   top_delta="0"
   width="80" />
  <button
   follows="top|left"
   height="20"
   label="Take Copy"
   left_delta="0"
   name="take_free_copy_btn"
   top_delta="0"
   width="80" />
  <button
   follows="top|left"
   height="20"
   label="Touch"
   left_delta="0"
   name="touch_btn"
   top_delta="0"
   width="80" />
  <button
   follows="top|left"
   height="20"
   label="Sit"
   left_delta="0"
   name="sit_btn"
   top_delta="0"
   width="80" />
  <button
   follows="top|left"
   height="20"
   label="Open"
   left_delta="0"
   name="open_btn"
   top_delta="0"
   width="80" />
  <icon
   name="secure_browsing"
   image_name="Lock"
   left_delta="80"
   visible="false"
   width="18"
   height="18"
   top_delta="0"
   tool_tip="Secure Browsing"
   follows="left|top" />

 <!--  non-overlapping buttons here -->
     <button
     follows="top|left"
     height="20"
     label="More"
     layout="topleft"
     name="more_info_btn"
     left_delta="10"
     top_delta="0"
     tab_stop="false"
     width="80" />
         <menu_button
     follows="top|left"
     height="20"
     image_overlay="OptionsMenu_Off"
     menu_filename="menu_inspect_object_gear.xml"
     name="gear_btn"
     right="-5"
     top_delta="0"
     width="35" />
</floater>