summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/inspect_object.xml
blob: cc56f630b0fcfd239f17c338ab09cb968a986b57 (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
<?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_color="MouseGray"
 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]
Owned by [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="20"
     left="8"
     name="object_name"
     text_color="white"
     top="8"
     use_ellipses="true"
     value="Test Object Name That Is Really Long"
     width="268" />
  <text
   follows="all"
   font="SansSerif"
   height="30"
   left="10"
   name="object_creator"
   top_pad="0"
   width="280">
By Longavatarname Johnsonlongstonnammer
Owned by James Linden
  </text>
  <text
   follows="all"
   height="45"
   left="100"
   name="object_description"
   top_pad="4"
   width="200"
   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>
  <!-- *TODO: Replace this icon -->
  <icon
  name="price_icon"
  image_name="Favorite_Star_Active"
  left="5"
  width="16"
  height="16"
  top="79"
  follows="left|top"
  />
  <text
   follows="all"
   font="SansSerifSmallBold"
   height="45"
   left="22"
   name="price_text"
   text_color="white"
   top="80"
   font_shadow="none"
   width="80">
L$300,000
  </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="116"
     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="23"
     image_overlay="Icon_Gear_Foreground"
     image_overlay_alignment="center"
   right="-8"
     menu_filename="menu_inspect_object_gear.xml" 
     name="gear_btn"
     picture_style="true"
   top_delta="0"
     width="30" />
    <button
     follows="top|left"
     height="22"
     image_overlay="TabIcon_Close_Off"
     layout="topleft"
     name="more_info_btn"
     picture_style="true"
     right="-8"
     top="7"
     left_delta="110"
     tab_stop="false"
     width="20" />
</floater>