summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/inspect_object.xml
blob: 50d49a9e0f6792e83e76a15f94325cb17cb717c2 (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
<?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
 bevel_style="in"
 bg_opaque_image="Inspector_Background" 
 can_close="false"
 can_minimize="false"
 height="145"
 layout="topleft"
 name="inspect_object"
 single_instance="true"
 sound_flags="0"
 visible="true"
 width="300">
  <string name="Creator">By [CREATOR]</string>
  <string name="CreatorAndOwner">
by [CREATOR]
owner [OWNER]
  </string>
  <!-- *TODO: Might need to change to [AMOUNT] if icon contains "L$" -->
  <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="SansSerifLargeBold"
     height="16"
     left="8"
     name="object_name"
     text_color="White"
     top="5"
     use_ellipses="true"
     value="Test Object Name That Is Really Long"
     width="291" />
  <text
   follows="all"
   font="SansSerif"
   height="30"
   left="8"
   name="object_creator"
   top_pad="0"
   use_ellipses="true"
   width="275">
by Longavatarname Johnsonlongstonnammer
owner James Linden
  </text>
  <!-- *TODO: Replace this icon -->
  <icon
  name="price_icon"
  image_name="Icon_For_Sale"
  left="7"
  width="16"
  height="16"
  top="52"
  follows="left|top"
  />
  <text
   follows="all"
   font="SansSerifSmallBold"
   height="16"
   left_pad="5"
   name="price_text"
   text_color="white"
   top="54"
   font_shadow="none"
   width="150">
L$300,000
  </text>
    <text
   follows="all"
   height="30"
   left="8"
   name="object_description"
   top_pad="0"
   width="291"
   use_ellipses="true"
   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. -->
  <button
     follows="top|left"
     font="SansSerif"
     height="23"
     label="Buy"
     left="10"
     name="buy_btn"
     top="114"
     width="100" />
  <button
   follows="top|left"
   font="SansSerif"
   height="23"
   label="Pay"
   left_delta="0"
   name="pay_btn"
   top_delta="0"
   width="100" />
  <button
   follows="top|left"
   font="SansSerif"
   height="23"
   label="Take Copy"
   left_delta="0"
   name="take_free_copy_btn"
   top_delta="0"
   width="100" />
  <button
   follows="top|left"
   font="SansSerifSmall"
   height="23"
   label="Touch"
   left_delta="0"
   name="touch_btn"
   top_delta="0"
   width="100" />
  <button
   follows="top|left"
   font="SansSerif"
   height="23"
   label="Sit"
   left_delta="0"
   name="sit_btn"
   top_delta="0"
   width="100" />
  <button
   follows="top|left"
   font="SansSerifSmall"
   height="23"
   label="Open"
   left_delta="0"
   name="open_btn"
   top_delta="0"
   width="100" />
  <!-- non-overlapping buttons here -->
    <menu_button
     follows="top|left"
     height="18"
     image_disabled="OptionsMenu_Disabled"
     image_selected="OptionsMenu_Press"
     image_unselected="OptionsMenu_Off"
     menu_filename="menu_inspect_object_gear.xml"
     name="gear_btn"
     picture_style="true"
     right="-10"
     top_delta="5"
     width="18" />
   <button
     follows="top|left"
     height="18"
     image_disabled="ForwardArrow_Disabled"
     image_selected="ForwardArrow_Press"
     image_unselected="ForwardArrow_Off"
     layout="topleft"
     name="more_info_btn"
     picture_style="true"
     right="-5"
     top="20"
     left_delta="110"
     tab_stop="false"
     width="18" />
</floater>