PageRenderTime 142ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 273 lines | 272 code | 0 blank | 1 comment | 0 complexity | 405829c925c868fc4eb0a4a3b861ab87 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. open_positioning="specified"
  4. specified_left="458"
  5. specified_bottom="80"
  6. legacy_header_height="18"
  7. can_minimize="true"
  8. can_close="true"
  9. height="164"
  10. layout="topleft"
  11. name="camera_floater"
  12. help_topic="camera_floater"
  13. save_visibility="true"
  14. single_instance="true"
  15. title="CAMERA CONTROLS"
  16. chrome="true"
  17. save_rect="true"
  18. width="228">
  19. <floater.string
  20. name="rotate_tooltip">
  21. Rotate Camera Around Focus
  22. </floater.string>
  23. <floater.string
  24. name="zoom_tooltip">
  25. Zoom Camera Towards Focus
  26. </floater.string>
  27. <floater.string
  28. name="move_tooltip">
  29. Move Camera Up and Down, Left and Right
  30. </floater.string>
  31. <floater.string
  32. name="free_mode_title">
  33. View Object
  34. </floater.string>
  35. <panel
  36. border="false"
  37. height="123"
  38. layout="topleft"
  39. left="2"
  40. top="0"
  41. mouse_opaque="false"
  42. name="controls"
  43. width="226">
  44. <panel
  45. color="Transparent"
  46. follows="all"
  47. height="102"
  48. layout="topleft"
  49. left="8"
  50. name="preset_views_list"
  51. opaque="true"
  52. top="24"
  53. width="212"
  54. visible="false">
  55. <panel_camera_item
  56. name="front_view">
  57. <panel_camera_item.mousedown_callback
  58. function="CameraPresets.ChangeView"
  59. parameter="front_view" />
  60. <panel_camera_item.picture
  61. image_name="Cam_Preset_Front_Off" />
  62. <panel_camera_item.selected_picture
  63. image_name="Cam_Preset_Front_On" />
  64. <panel_camera_item.text
  65. name="front_view_text">
  66. Front View
  67. </panel_camera_item.text>
  68. </panel_camera_item>
  69. <panel_camera_item
  70. name="group_view"
  71. top_pad="4">
  72. <panel_camera_item.mousedown_callback
  73. function="CameraPresets.ChangeView"
  74. parameter="group_view" />
  75. <panel_camera_item.picture
  76. image_name="Cam_Preset_Side_Off" />
  77. <panel_camera_item.selected_picture
  78. image_name="Cam_Preset_Side_On" />
  79. <panel_camera_item.text
  80. name="side_view_text">
  81. Side View
  82. </panel_camera_item.text>
  83. </panel_camera_item>
  84. <panel_camera_item
  85. name="rear_view"
  86. layout="topleft"
  87. top_pad="4">
  88. <panel_camera_item.mousedown_callback
  89. function="CameraPresets.ChangeView"
  90. parameter="rear_view" />
  91. <panel_camera_item.picture
  92. image_name="Cam_Preset_Back_Off" />
  93. <panel_camera_item.selected_picture
  94. image_name="Cam_Preset_Back_On" />
  95. <panel_camera_item.text
  96. name="rear_view_text">
  97. Rear View
  98. </panel_camera_item.text>
  99. </panel_camera_item>
  100. </panel>
  101. <panel
  102. color="Transparent"
  103. follows="all"
  104. height="68"
  105. item_pad="4"
  106. layout="topleft"
  107. left="8"
  108. name="camera_modes_list"
  109. opaque="true"
  110. top="24"
  111. width="212"
  112. visible="false">
  113. <panel_camera_item
  114. name="object_view">
  115. <panel_camera_item.mousedown_callback
  116. function="CameraPresets.ChangeView"
  117. parameter="object_view" />
  118. <panel_camera_item.text
  119. name="object_view_text">
  120. Object View
  121. </panel_camera_item.text>
  122. <panel_camera_item.picture
  123. image_name="Object_View_Off" />
  124. <panel_camera_item.selected_picture
  125. image_name="Object_View_On" />
  126. </panel_camera_item>
  127. <panel_camera_item
  128. name="mouselook_view"
  129. layout="topleft">
  130. <panel_camera_item.mousedown_callback
  131. function="CameraPresets.ChangeView"
  132. parameter="mouselook_view" />
  133. <panel_camera_item.text
  134. name="mouselook_view_text">
  135. Mouselook View
  136. </panel_camera_item.text>
  137. <panel_camera_item.picture
  138. image_name="MouseLook_View_Off" />
  139. <panel_camera_item.selected_picture
  140. image_name="MouseLook_View_On" />
  141. </panel_camera_item>
  142. </panel>
  143. <!--TODO: replace + - images -->
  144. <panel
  145. border="false"
  146. class="camera_zoom_panel"
  147. height="114"
  148. layout="topleft"
  149. left="0"
  150. mouse_opaque="false"
  151. name="zoom"
  152. top="20"
  153. width="226">
  154. <joystick_rotate
  155. follows="top|left"
  156. height="78"
  157. layout="topleft"
  158. left="7"
  159. name="cam_rotate_stick"
  160. quadrant="left"
  161. sound_flags="3"
  162. visible="true"
  163. tool_tip="Orbit camera around focus"
  164. top="20"
  165. width="78" />
  166. <button
  167. follows="top|left"
  168. height="18"
  169. image_disabled="AddItem_Disabled"
  170. image_selected="AddItem_Press"
  171. image_unselected="AddItem_Off"
  172. layout="topleft"
  173. left_pad="14"
  174. name="zoom_plus_btn"
  175. width="18"
  176. top="18">
  177. <commit_callback
  178. function="Zoom.plus" />
  179. <mouse_held_callback
  180. function="Zoom.plus" />
  181. </button>
  182. <slider_bar
  183. height="50"
  184. layout="topleft"
  185. name="zoom_slider"
  186. orientation="vertical"
  187. tool_tip="Zoom camera toward focus"
  188. top_pad="0"
  189. min_val="0"
  190. max_val="1"
  191. width="18">
  192. <commit_callback function="Slider.value_changed"/>
  193. </slider_bar>
  194. <button
  195. follows="top|left"
  196. height="18"
  197. image_disabled="MinusItem_Disabled"
  198. image_selected="MinusItem_Press"
  199. image_unselected="MinusItem_Off"
  200. layout="topleft"
  201. name="zoom_minus_btn"
  202. top_pad="0"
  203. width="18">
  204. <commit_callback
  205. function="Zoom.minus" />
  206. <mouse_held_callback
  207. function="Zoom.minus" />
  208. </button>
  209. <joystick_track
  210. follows="top|left"
  211. height="78"
  212. image_selected="Cam_Tracking_In"
  213. image_unselected="Cam_Tracking_Out"
  214. layout="topleft"
  215. left="133"
  216. name="cam_track_stick"
  217. quadrant="left"
  218. scale_image="false"
  219. sound_flags="3"
  220. tool_tip="Move camera up and down, left and right"
  221. top="20"
  222. width="78"/>
  223. </panel>
  224. </panel>
  225. <panel
  226. border="false"
  227. height="42"
  228. layout="topleft"
  229. left="2"
  230. top_pad="0"
  231. name="buttons"
  232. width="226">
  233. <button
  234. height="23"
  235. label=""
  236. layout="topleft"
  237. left="70"
  238. is_toggle="true"
  239. image_overlay="Cam_Avatar_Off"
  240. image_selected="PushButton_Selected_Press"
  241. name="presets_btn"
  242. tab_stop="false"
  243. tool_tip="Preset Views"
  244. top="13"
  245. width="25">
  246. </button>
  247. <button
  248. height="23"
  249. label=""
  250. layout="topleft"
  251. left_pad="1"
  252. is_toggle="true"
  253. image_overlay="PanOrbit_Off"
  254. image_selected="PushButton_Selected_Press"
  255. name="pan_btn"
  256. tab_stop="false"
  257. tool_tip="Orbit Zoom Pan"
  258. width="25">
  259. </button>
  260. <button
  261. height="23"
  262. label=""
  263. layout="topleft"
  264. left_pad="1"
  265. image_overlay="Cam_FreeCam_Off"
  266. image_selected="PushButton_Selected_Press"
  267. name="avatarview_btn"
  268. tab_stop="false"
  269. tool_tip="Camera modes"
  270. width="25">
  271. </button>
  272. </panel>
  273. </floater>