summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_camera.xml
blob: 520249c2a2136a56891e22cf72a39b5b7b5cc8dc (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
210
211
212
213
214
215
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 can_dock="true"
 can_minimize="true"
 can_close="true" 
 center_horiz="true"
 follows="top"
 height="110"
 layout="topleft"
 name="camera_floater"
 help_topic="camera_floater"
 save_rect="true"
 save_visibility="true"
 width="105">
    <floater.string
     name="rotate_tooltip">
        Rotate Camera Around Focus
    </floater.string>
    <floater.string
     name="zoom_tooltip">
        Zoom Camera Towards Focus
    </floater.string>
    <floater.string
     name="move_tooltip">
        Move Camera Up and Down, Left and Right
    </floater.string>
    <panel
     border="true"
     height="79"
     layout="topleft"
     left="0"
     top="0"
     mouse_opaque="false" 
     name="controls"
     width="105">
        <joystick_rotate
         follows="top|left"
         height="64"
         image_selected="cam_rotate_in.tga"
         image_unselected="cam_rotate_out.tga"
         layout="topleft"
         left="2"
         name="cam_rotate_stick"
         picture_style="true"
         quadrant="left"
         scale_image="false"
         sound_flags="3"
         tool_tip="Orbit camera around focus"
         top="15"
         width="64" />
        <joystick_track
         follows="top|left"
         height="64"
         image_selected="cam_tracking_in.tga"
         image_unselected="cam_tracking_out.tga"
         layout="topleft"
         left="2"
         name="cam_track_stick"
         picture_style="true"
         quadrant="left"
         scale_image="false"
         sound_flags="3"
         tool_tip="Move camera up and down, left and right"
         top="15"
         visible="false"
         width="64" />
        <joystick_zoom
         follows="top|left"
         height="64"
         image_unselected="cam_zoom_out.tga"
         layout="topleft"
         left_delta="70"
         minus_image="cam_zoom_minus_in.tga"
         name="zoom"
         picture_style="true"
         plus_image="cam_zoom_plus_in.tga"
         quadrant="left"
         scale_image="false"
         sound_flags="3"
         tool_tip="Zoom camera toward focus"
         top_delta="0"
         width="16" />
        <panel
         height="70"
         layout="topleft"
         left="15"
         name="camera_presets"
         top="15"
         visible="false"
         width="75">
            <button
             height="30"
             image_selected="CameraPreset_Rear"
             image_unselected="CameraPreset_Rear"
             layout="topleft"
             left="5"
             name="rear_view"
             picture_style="true"
             tool_tip="Rear View"
             top="2"
             width="30">
                <click_callback
                 function="CameraPresets.ChangeView"
                 parameter="rear_view" />
            </button>
            <button
             height="30"
             image_selected="CameraPreset_3_4"
             image_unselected="CameraPreset_3_4"
             layout="topleft"
             left_pad="5"
             name="group_view"
             picture_style="true"
             tool_tip="Group View"
             top="2"
             width="30">
                <click_callback
                 function="CameraPresets.ChangeView"
                 parameter="group_view" />
            </button>
            <button
             height="30"
             image_selected="CameraPreset_Front"
             image_unselected="CameraPreset_Front"
             layout="topleft"
             left="5"
             name="front_view"
             picture_style="true"
             tool_tip="Front View"
             top_pad="2"
             width="30">
                <click_callback
                 function="CameraPresets.ChangeView"
                 parameter="front_view" />
            </button>
            <button
             height="30"
             image_selected="CameraPreset_Mouselook"
             image_unselected="CameraPreset_Mouselook"
             layout="topleft"
             left_pad="5"
             name="mouselook_view"
             picture_style="true"
             tool_tip="Mouselook View"
             top_pad="-30"
             width="30">
                <click_callback
                 function="CameraPresets.ChangeView"
                 parameter="mouselook_view" />
            </button>
        </panel>
    </panel>
    <panel
     border="true"
     height="25"
     layout="topleft"
     left="0"
     top_pad="1"
     name="buttons"
     width="105">
        <button
         height="23"
         label=""
         layout="topleft"
         left="2"
         is_toggle="true"
         image_overlay="Cam_Orbit_Off"
         image_selected="PushButton_Selected_Press" 
         name="orbit_btn"
         tab_stop="false"
         tool_tip="Orbit camera"
         value="true"
         width="25">
        </button>
        <button
         height="23"
         label=""
         layout="topleft"
         left_pad="0"
         is_toggle="true"
         image_overlay="Cam_Pan_Off"
         image_selected="PushButton_Selected_Press" 
         name="pan_btn"
         tab_stop="false"
         tool_tip="Pan camera"
         width="25">
        </button>
        <button
         height="23"
         label=""
         layout="topleft"
         left_pad="0"
         image_overlay="Cam_Avatar_Off"
         image_selected="PushButton_Selected_Press" 
         name="avatarview_btn"
         tab_stop="false"
         tool_tip="See as avatar"
         width="25">
        </button>
        <button
         height="23"
         label=""
         layout="topleft"
         left_pad="0"
         is_toggle="true"
         image_overlay="Cam_FreeCam_Off"
         image_selected="PushButton_Selected_Press" 
         name="freecamera_btn"
         tab_stop="false"
         tool_tip="View object"
         width="25">
        </button>
        
    </panel>
</floater>