summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_quick_prefs.xml
blob: f5bdcf2156af619d099e7200bec5af62a647ef42 (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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!--
  floater_quick_prefs.xml
  Quick Preferences panel – ported from Firestorm Viewer.
  Provides on-the-fly access to avatar hover height and max bandwidth.
-->
<floater
    positioning="cascading"
    can_minimize="true"
    can_close="true"
    can_resize="false"
    height="240"
    width="320"
    layout="topleft"
    name="quick_prefs"
    single_instance="true"
    help_topic="quick_prefs"
    save_rect="true"
    save_visibility="false"
    title="QUICK PREFERENCES">

  <!-- ── Hover Height ─────────────────────────────────────────────────── -->
  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="10"
      top="28"
      width="100"
      name="HoverHeightLabel"
      tool_tip="Adjust your avatar's hover height above the ground">
    Hover Height:
  </text>

  <slider
      control_name="HoverHeightSlider"
      decimal_digits="3"
      enabled="false"
      can_edit_text="true"
      follows="left|right|top"
      height="16"
      increment="0.001"
      initial_value="0.0"
      label_width="0"
      layout="topleft"
      left="110"
      right="-10"
      top="30"
      name="HoverHeightSlider"
      tool_tip="Drag to set your avatar hover height (-3.0 to +3.0 m)" />

  <!-- ── Max Bandwidth ────────────────────────────────────────────────── -->
  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="10"
      top_pad="12"
      width="100"
      name="MaxBandwidthLabel"
      tool_tip="Set the maximum network bandwidth in Kbps">
    Max Bandwidth:
  </text>

  <slider
      control_name="ThrottleBandwidthKBPS"
      decimal_digits="0"
      can_edit_text="true"
      follows="left|right|top"
      height="16"
      increment="50"
      initial_value="500"
      max_val="3000"
      min_val="50"
      label_width="0"
      layout="topleft"
      left="110"
      right="-10"
      top_delta="-2"
      name="max_bandwidth"
      tool_tip="Network bandwidth in Kbps (50 – 3000)" />

  <view_border
      follows="left|right"
      layout="topleft"
      left="2"
      right="-2"
      top_pad="10"
      height="2"
      name="ots_divider" />

  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="5"
      top_pad="6"
      width="290"
      text_color="EmphasisColor"
      name="OTSLabel">
    Over-the-Shoulder Cam:
  </text>

  <check_box
      control_name="OTSEnabled"
      follows="left|top"
      height="16"
      label="Use Over-The-Shoulder Cam"
      layout="topleft"
      left="10"
      top_pad="4"
      width="290"
      name="ots_enabled"
      tool_tip="When checked, M enters shoulder cam instead of first-person mouselook" />

  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="10"
      top_pad="6"
      width="100"
      name="OTSDistLabel">
    Distance:
  </text>

  <slider
      control_name="OTSCameraDistance"
      decimal_digits="1"
      can_edit_text="true"
      follows="left|right|top"
      height="16"
      increment="0.1"
      initial_value="3.0"
      max_val="10.0"
      min_val="1.0"
      label_width="0"
      layout="topleft"
      left="110"
      right="-10"
      top_delta="-2"
      name="ots_distance"
      tool_tip="Camera distance behind avatar (1 – 10 m)" />

  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="10"
      top_pad="4"
      width="100"
      name="OTSSideLabel">
    Side offset:
  </text>

  <slider
      control_name="OTSCameraSide"
      decimal_digits="2"
      can_edit_text="true"
      follows="left|right|top"
      height="16"
      increment="0.05"
      initial_value="-0.5"
      max_val="1.0"
      min_val="-1.0"
      label_width="0"
      layout="topleft"
      left="110"
      right="-10"
      top_delta="-2"
      name="ots_side"
      tool_tip="Side offset: negative = right shoulder, positive = left shoulder" />

  <text
      type="string"
      follows="left|top"
      height="16"
      layout="topleft"
      left="10"
      top_pad="4"
      width="100"
      name="OTSHeightLabel">
    Height:
  </text>

  <slider
      control_name="OTSCameraHeight"
      decimal_digits="2"
      can_edit_text="true"
      follows="left|right|top"
      height="16"
      increment="0.05"
      initial_value="0.5"
      max_val="2.0"
      min_val="0.0"
      label_width="0"
      layout="topleft"
      left="110"
      right="-10"
      top_delta="-2"
      name="ots_height"
      tool_tip="Camera height above avatar root (0 – 2 m)" />

</floater>