PageRenderTime 42ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 16ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 271 lines | 265 code | 0 blank | 6 comment | 0 complexity | 33470405230f1998e72aab52e184ee34 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<floater
  3 open_positioning="specified"
  4 specified_left="320"
  5 specified_bottom="80"
  6 legacy_header_height="18"
  7 can_dock="false"
  8 can_minimize="true"
  9 can_close="true"
 10 height="110"
 11 layout="topleft"
 12 name="move_floater"
 13 help_topic="move_floater"
 14 save_rect="true"
 15 save_visibility="true"
 16 single_instance="true"
 17 chrome="true"
 18 title="WALK / RUN / FLY"
 19 width="133">
 20    <string
 21     name="walk_forward_tooltip">
 22        Walk Forward (press Up Arrow or W)
 23    </string>
 24    <string
 25     name="walk_back_tooltip">
 26        Walk Backwards (press Down Arrow or S)
 27    </string>
 28    <string
 29     name="walk_left_tooltip">
 30        Walk left (press Shift + Left Arrow or A)
 31    </string>
 32    <string
 33     name="walk_right_tooltip">
 34        Walk right (press Shift + Right Arrow or D)
 35    </string>
 36    <string
 37     name="run_forward_tooltip">
 38        Run Forward (press Up Arrow or W)
 39    </string>
 40    <string
 41     name="run_back_tooltip">
 42        Run Backwards (press Down Arrow or S)
 43    </string>
 44    <string
 45     name="run_left_tooltip">
 46        Run left (press Shift + Left Arrow or A)
 47    </string>
 48    <string
 49     name="run_right_tooltip">
 50        Run right (press Shift + Right Arrow or D)
 51    </string>
 52    <string
 53     name="fly_forward_tooltip">
 54        Fly Forward (press Up Arrow or W)
 55    </string>
 56    <string
 57     name="fly_back_tooltip">
 58        Fly Backwards (press Down Arrow or S)
 59    </string>
 60    <string
 61     name="fly_left_tooltip">
 62        Fly left (press Shift + Left Arrow or A)
 63    </string>
 64    <string
 65     name="fly_right_tooltip">
 66        Fly right (press Shift + Right Arrow or D)
 67    </string>
 68    <string
 69     name="fly_up_tooltip">
 70        Fly up (press E)
 71    </string>
 72    <string
 73     name="fly_down_tooltip">
 74        Fly down (press C)
 75    </string>
 76    <string
 77     name="jump_tooltip">
 78        Jump (press E)
 79    </string>
 80    <string
 81     name="crouch_tooltip">
 82        Crouch (press C)
 83    </string>
 84    <string
 85     name="walk_title">
 86        Walk
 87    </string>
 88    <string
 89     name="run_title">
 90        Run
 91    </string>
 92    <string
 93     name="fly_title">
 94        Fly
 95    </string>
 96    <panel
 97     border="false"
 98     height="83"
 99     follows="left|top"
100     layout="topleft"
101     left="0"
102     mouse_opaque="false"
103     name="panel_actions"
104     top="0"
105     width="133">
106        <!-- Buttons in panel are organized in 3 columns to enable their easy vertical adjustment via top_pad-->
107        <!-- Left column -->
108        <button
109         follows="left|bottom"
110         height="24"
111         image_selected="Movement_TurnLeft_On"
112         image_pressed_selected="Movement_TurnLeft_On"
113         image_unselected="Movement_TurnLeft_Off"
114         layout="topleft"
115         left="30"
116         name="turn left btn"
117         scale_image="false"
118         tool_tip="Turn left (press Left Arrow or A)"
119         top="34"
120         width="24" />
121        <joystick_slide
122         follows="left|bottom"
123         height="10"
124         image_selected="Movement_Left_On"
125         image_pressed_selected="Movement_Left_On"
126         image_unselected="Movement_Left_Off"
127         layout="topleft"
128         left_delta="4"
129         name="move left btn"
130         quadrant="left"
131         scale_image="false"
132         tool_tip="Walk left (press Shift + Left Arrow or A)"
133         top_pad="10"
134         width="19" />
135        <!-- Right column -->
136        <button
137         follows="left|bottom"
138         height="24"
139         image_selected="Movement_TurnRight_On"
140         image_pressed_selected="Movement_TurnRight_On"
141         image_unselected="Movement_TurnRight_Off"
142         layout="topleft"
143         right="-30"
144         name="turn right btn"
145         scale_image="false"
146         tool_tip="Turn right (press Right Arrow or D)"
147         top="34"
148         width="24" />
149        <joystick_slide
150         follows="left|bottom"
151         height="10"
152         image_selected="Movement_Right_On"
153         image_pressed_selected="Movement_Right_On"
154         image_unselected="Movement_Right_Off"
155         layout="topleft"
156         name="move right btn"
157         quadrant="right"
158         right_delta="4"
159         scale_image="false"
160         tool_tip="Walk right (press Shift + Right Arrow or D)"
161         top_pad="10"
162         width="19" />
163        <!-- Middle column -->
164        <joystick_turn
165         follows="left|bottom"
166         height="24"
167         image_selected="Movement_Forward_On"
168         image_pressed_selected="Movement_Forward_On"
169         image_unselected="Movement_Forward_Off"
170         layout="topleft"
171         left="54"
172         name="forward btn"
173         quadrant="up"
174         scale_image="false"
175         tool_tip="Walk forward (press up arrow or W)"
176         top="20"
177         width="24" />
178        <joystick_turn
179         follows="left|bottom"
180         height="24"
181         image_selected="Movement_Backward_On"
182         image_pressed_selected="Movement_Backward_On"
183         image_unselected="Movement_Backward_Off"
184         layout="topleft"
185         left_delta="0"
186         name="backward btn"
187         quadrant="down"
188         scale_image="false"
189         tool_tip="Walk backward (press down arrow or S)"
190         top_pad="5"
191         width="24" />
192        <!-- Fly up/down (jump/crouch) buttons -->
193        <button
194         follows="left|bottom"
195         height="19"
196         image_selected="Movement_Up_On"
197         image_pressed_selected="Movement_Up_On"
198         image_unselected="Movement_Up_Off"
199         layout="topleft"
200         right="-11"
201         name="move up btn"
202         scale_image="false"
203         tool_tip="Fly up (press E)"
204         top="22"
205         width="10" />
206        <button
207         follows="left|bottom"
208         height="19"
209         image_selected="Movement_Down_On"
210         image_pressed_selected="Movement_Down_On"
211         image_unselected="Movement_Down_Off"
212         layout="topleft"
213         right_delta="0"
214         name="move down btn"
215         scale_image="false"
216         tool_tip="Fly down (press C)"
217         top_pad="10"
218         width="10" />
219    </panel>
220<!-- Width and height of this panel should be synchronized with panel_stand_stop_flying.xml -->
221    <panel
222     border="false"
223     height="27"
224     layout="topleft"
225     left="0"
226     name="panel_modes"
227     top_pad="0"
228     width="133">
229        <button
230         follows="left|bottom"
231         height="23"
232         image_overlay="Move_Walk_Off"
233         image_selected="PushButton_Selected_Press"
234	 label=""
235         layout="topleft"
236         name="mode_walk_btn"
237         left="20"
238         pad_right="0"
239         tool_tip="Walking mode"
240         top="2"
241         width="31" />
242        <button
243         follows="left|bottom"
244         height="23"
245         image_overlay="Move_Run_Off"
246         image_selected="PushButton_Selected_Press"
247	 label=""
248         layout="topleft"
249         left_pad="0"
250         name="mode_run_btn"
251         pad_left="0"
252         pad_right="0"
253         tool_tip="Running mode"
254         top="2"
255         width="31" />
256        <button
257         follows="left|bottom"
258         height="23"
259         image_overlay="Move_Fly_Off"
260         image_selected="PushButton_Selected_Press"
261	 label=""
262         layout="topleft"
263         left_pad="0"
264         name="mode_fly_btn"
265         pad_left="0"
266         pad_right="0"
267         tool_tip="Flying mode"
268         top="2"
269         width="31" />
270    </panel>
271</floater>