PageRenderTime 625ms CodeModel.GetById 460ms app.highlight 4ms RepoModel.GetById 156ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 247 lines | 242 code | 1 blank | 4 comment | 0 complexity | c7a6970c77bc005eda92b93782883dc9 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<floater
  3 open_positioning="cascading"
  4 legacy_header_height="18"
  5 can_resize="true"
  6 height="350"
  7 layout="topleft"
  8 min_height="200"
  9 min_width="400"
 10 name="avatarpicker"
 11 help_topic="avatarpicker"
 12 title="CHOOSE RESIDENT"
 13 width="500">
 14    <floater.string
 15     name="not_found">
 16        &apos;[TEXT]&apos; not found
 17    </floater.string>
 18    <floater.string
 19     name="no_one_near">
 20        No one near
 21    </floater.string>
 22    <floater.string
 23     name="no_results">
 24        No results
 25    </floater.string>
 26    <floater.string
 27     name="searching">
 28        Searching...
 29    </floater.string>
 30    <!-- For multiple person selection, use "Select" and "Close" 
 31      instead of "OK" and "Cancel" because "Cancel" still keeps the ones 
 32      you have already selected.  The code will show the appropriate
 33      set of buttons. -->
 34    <string name="Select">Select</string>
 35    <string name="Close">Close</string>
 36    <tab_container
 37     follows="all"
 38     height="300"
 39     layout="topleft"
 40     left="0"
 41     name="ResidentChooserTabs"
 42     tab_position="top"
 43     top="20"
 44     width="500">
 45        <panel
 46         border="none"
 47         height="150"
 48         label="Search"
 49         layout="topleft"
 50         left="6"
 51         help_topic="avatarpicker"
 52         name="SearchPanel"
 53         top="150"
 54         width="132">
 55            <text
 56             type="string"
 57             length="1"
 58             follows="left|top"
 59             height="16"
 60             layout="topleft"
 61             left="10"
 62             name="InstructSearchResidentName"
 63             top="8"
 64             width="220">
 65                Type part of a person&apos;s name:
 66            </text>
 67            <line_editor
 68	     bevel_style="none"
 69	     border_style="line"
 70	     border.border_thickness="0"
 71	     commit_on_focus_lost="false"
 72             follows="left|top|right"
 73             height="23"
 74             left_delta="0"
 75             name="Edit"
 76             top_pad="0"
 77             width="65" />
 78            <button
 79             follows="top|right"
 80             height="23"
 81             label="Go"
 82             label_selected="Go"
 83             layout="topleft"
 84             left_pad="5"
 85             name="Find"
 86             width="45" />
 87          <scroll_list
 88            draw_heading="true" 
 89           follows="all"
 90           height="98"
 91           layout="topleft"
 92           left="0"
 93           name="SearchResults"
 94           top="52"
 95           width="132">
 96            <columns
 97              label="Name"
 98              name="name"
 99              width="150" />
100            <columns
101              label="Username"
102              name="username"
103              width="150" />
104          </scroll_list>
105        </panel>
106        <panel
107         border="none"
108         height="150"
109         label="Friends"
110         layout="topleft"
111         left="6"
112         help_topic="avatarpicker"
113         name="FriendsPanel"
114         top="150"
115         width="132">
116            <text
117             type="string"
118             length="1"
119             follows="left|top"
120             height="16"
121             layout="topleft"
122             left="10"
123             name="InstructSelectFriend"
124             top="5"
125             width="200">
126                Select a person:
127            </text>
128            <button
129             follows="top|right"
130             layout="topleft"
131             right="-5"
132             top ="5"
133             height="20"
134             width="20"
135             name="RefreshFriends"
136             image_overlay="Refresh_Off">
137             <button.commit_callback 
138              function="Refresh.FriendList"/>
139            </button>
140            <scroll_list
141             follows="all"
142             height="120"
143             border="false"
144             layout="topleft"
145             left="0"
146             name="Friends"
147             sort_column="0"
148             top_pad="5"
149             width="132" />
150        </panel>
151
152        <panel
153         border="none"
154         height="150"
155         label="Near Me"
156         layout="topleft"
157         left="6"
158         help_topic="avatarpicker"
159         name="NearMePanel"
160         top="150"
161         width="132">
162            <text
163             type="string"
164             length="1"
165             follows="left|top"
166             height="16"
167             layout="topleft"
168             left="10"
169             name="InstructSelectResident"
170             top="8"
171             width="220">
172                Select a person nearby:
173            </text>
174            <slider
175             control_name="NearMeRange"
176             decimal_digits="0"
177             follows="left|top"
178             height="18"
179             increment="1"
180             initial_value="20"
181             label="Range"
182             layout="topleft"
183             left="10"
184             max_val="130"
185             min_val="5"
186             name="near_me_range"
187             top_pad="0"
188             width="160" />
189            <text
190             type="string"
191             length="1"
192             follows="left|top"
193             height="18"
194             layout="topleft"
195             left_pad="0"
196             name="meters"
197             width="60">
198                Meters
199            </text>
200            <button
201             follows="top|left"
202             layout="topleft"
203             left_pad="0"
204             height="28"
205             width="28"
206             name="Refresh"
207             image_overlay="Refresh_Off" />
208          <scroll_list
209             draw_heading="true"
210             follows="all"
211             height="100"
212             border="false"
213             layout="topleft"
214             left="0"
215             name="NearMe"
216             sort_column="0"
217             top="52"
218             width="132">
219            <columns
220              label="Name"
221              name="name"
222              width="150" />
223            <columns
224              label="Username"
225              name="username"
226              width="150" />
227          </scroll_list>
228        </panel>
229    </tab_container>
230    <button
231     follows="left|bottom"
232     height="23"
233     label="OK"
234     label_selected="OK"
235     name="ok_btn"
236     top_pad="3"
237     left="10"
238     width="100" />
239    <button
240     follows="left|bottom"
241     height="23"
242     label="Cancel"
243     label_selected="Cancel"
244     name="cancel_btn"
245     width="100"
246     left_pad="5" />
247</floater>