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

https://bitbucket.org/lindenlab/viewer-beta/ · XML · 693 lines · 686 code · 7 blank · 0 comment · 0 complexity · f6d615c4bcb91380de27e6882a25225b MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <floater
  3. legacy_header_height="18"
  4. can_resize="true"
  5. open_positioning="centered"
  6. height="600"
  7. layout="topleft"
  8. min_height="520"
  9. min_width="520"
  10. name="worldmap"
  11. help_topic="worldmap"
  12. save_rect="true"
  13. save_visibility="true"
  14. single_instance="true"
  15. title="WORLD MAP"
  16. width="650">
  17. <panel
  18. filename="panel_world_map.xml"
  19. follows="all"
  20. height="555"
  21. layout="topleft"
  22. left="10"
  23. name="objects_mapview"
  24. top="25"
  25. width="375" />
  26. <panel
  27. name="layout_panel_1"
  28. height="22"
  29. width="238"
  30. follows="right|top"
  31. top="25"
  32. left_pad="5"
  33. background_visible="true"
  34. bg_alpha_color="DkGray2">
  35. <text
  36. text_color="White"
  37. font="SansSerifLarge"
  38. type="string"
  39. length="1"
  40. follows="top|right"
  41. halign="left"
  42. height="16"
  43. layout="topleft"
  44. left="15"
  45. name="events_label"
  46. top="3"
  47. width="215">
  48. Legend
  49. </text>
  50. </panel>
  51. <panel
  52. follows="right|top"
  53. height="126"
  54. top_pad="0"
  55. width="238"
  56. name="layout_panel_2">
  57. <button
  58. follows="right|top"
  59. height="22"
  60. image_overlay="map_avatar_16.tga"
  61. scale_image="true"
  62. left="4"
  63. layout="topleft"
  64. name="Show My Location"
  65. tool_tip="Center map on my avatar&apos;s location"
  66. top="6"
  67. width="24" >
  68. <button.commit_callback
  69. function="WMap.ShowAgent" />
  70. </button>
  71. <text
  72. type="string"
  73. length="1"
  74. follows="top|right"
  75. halign="left"
  76. height="13"
  77. top_delta="6"
  78. left_pad="5"
  79. layout="topleft"
  80. name="me_label"
  81. width="90">
  82. Me
  83. </text>
  84. <check_box
  85. control_name="MapShowPeople"
  86. follows="top|right"
  87. height="16"
  88. layout="topleft"
  89. left="3"
  90. name="people_chk"
  91. top_pad="9"
  92. width="22" />
  93. <icon
  94. color="0 1 0 1"
  95. follows="top|right"
  96. height="8"
  97. image_name="map_avatar_8.tga"
  98. layout="topleft"
  99. left_pad="3"
  100. mouse_opaque="true"
  101. name="person"
  102. top_delta="3"
  103. width="8" />
  104. <text
  105. type="string"
  106. length="1"
  107. follows="top|right"
  108. halign="left"
  109. height="16"
  110. top_delta="-2"
  111. left_pad="7"
  112. layout="topleft"
  113. name="person_label"
  114. width="90">
  115. Person
  116. </text>
  117. <check_box
  118. control_name="MapShowInfohubs"
  119. follows="top|right"
  120. height="16"
  121. layout="topleft"
  122. left="3"
  123. name="infohub_chk"
  124. top_pad="3"
  125. width="22" />
  126. <icon
  127. follows="top|right"
  128. height="16"
  129. image_name="map_infohub.tga"
  130. layout="topleft"
  131. left_pad="0"
  132. mouse_opaque="true"
  133. name="infohub"
  134. top_delta="0"
  135. width="16" />
  136. <text
  137. type="string"
  138. length="1"
  139. follows="top|right"
  140. halign="left"
  141. height="16"
  142. top_delta="2"
  143. left_pad="3"
  144. layout="topleft"
  145. name="infohub_label"
  146. width="90">
  147. Infohub
  148. </text>
  149. <check_box
  150. control_name="MapShowLandForSale"
  151. follows="top|right"
  152. height="16"
  153. layout="topleft"
  154. left="3"
  155. name="land_for_sale_chk"
  156. top_pad="2"
  157. width="22" />
  158. <icon
  159. follows="top|right"
  160. height="16"
  161. image_name="icon_for_sale.tga"
  162. layout="topleft"
  163. mouse_opaque="true"
  164. name="landforsale"
  165. top_delta="0"
  166. left_pad="0"
  167. width="16" />
  168. <text
  169. type="string"
  170. length="1"
  171. follows="top|right"
  172. halign="left"
  173. height="16"
  174. top_delta="2"
  175. left_pad="3"
  176. layout="topleft"
  177. name="land_sale_label"
  178. width="90">
  179. Land Sale
  180. </text>
  181. <icon
  182. color="0.5 0.25 1 1"
  183. follows="top|right"
  184. height="16"
  185. image_name="legend.tga"
  186. layout="topleft"
  187. mouse_opaque="true"
  188. name="square2"
  189. left="20"
  190. top_pad="2"
  191. width="16" />
  192. <text
  193. type="string"
  194. length="1"
  195. follows="top|right"
  196. height="16"
  197. layout="topleft"
  198. left_pad="0"
  199. name="auction_label"
  200. top_delta="3"
  201. width="170">
  202. land auction
  203. </text>
  204. <icon
  205. color="1 1 0.25 1"
  206. follows="top|right"
  207. height="16"
  208. image_name="legend.tga"
  209. layout="topleft"
  210. mouse_opaque="true"
  211. name="square2"
  212. left="20"
  213. top_pad="-5"
  214. width="16" />
  215. <text
  216. type="string"
  217. length="1"
  218. follows="top|right"
  219. height="16"
  220. layout="topleft"
  221. left_pad="0"
  222. name="by_owner_label"
  223. top_delta="3"
  224. width="100">
  225. by owner
  226. </text>
  227. <button
  228. follows="top|right"
  229. height="22"
  230. image_overlay="map_home.tga"
  231. scale_image="true"
  232. label_color="White"
  233. layout="topleft"
  234. left="136"
  235. top="6"
  236. name="Go Home"
  237. tool_tip="Teleport to my home location"
  238. width="24" >
  239. <button.commit_callback
  240. function="WMap.GoHome" />
  241. </button>
  242. <text
  243. type="string"
  244. length="1"
  245. follows="top|right"
  246. halign="left"
  247. height="13"
  248. top_delta="6"
  249. left_pad="5"
  250. layout="topleft"
  251. name="Home_label"
  252. width="70">
  253. Home
  254. </text>
  255. <text
  256. type="string"
  257. length="1"
  258. follows="top|right"
  259. halign="left"
  260. height="16"
  261. layout="topleft"
  262. left="137"
  263. name="events_label"
  264. top_pad="9"
  265. width="66">
  266. Events:
  267. </text>
  268. <check_box
  269. control_name="MapShowEvents"
  270. follows="top|right"
  271. height="16"
  272. layout="topleft"
  273. left="135"
  274. top_pad="1"
  275. name="event_chk"
  276. width="22" />
  277. <icon
  278. follows="top|right"
  279. height="16"
  280. image_name="Parcel_PG_Dark"
  281. layout="topleft"
  282. mouse_opaque="true"
  283. name="event"
  284. left_pad="0"
  285. width="18" />
  286. <text
  287. type="string"
  288. length="1"
  289. follows="top|right"
  290. halign="left"
  291. height="16"
  292. top_delta="2"
  293. left_pad="3"
  294. layout="topleft"
  295. name="pg_label"
  296. width="60">
  297. General
  298. </text>
  299. <check_box
  300. control_name="ShowMatureEvents"
  301. follows="top|right"
  302. height="16"
  303. initial_value="true"
  304. layout="topleft"
  305. left="135"
  306. name="events_mature_chk"
  307. top_pad="3"
  308. width="22" />
  309. <icon
  310. follows="top|right"
  311. height="16"
  312. image_name="Parcel_M_Dark"
  313. layout="topleft"
  314. mouse_opaque="true"
  315. name="events_mature_icon"
  316. top_delta="0"
  317. left_pad="0"
  318. width="18" />
  319. <text
  320. type="string"
  321. length="1"
  322. follows="top|right"
  323. halign="left"
  324. height="16"
  325. top_delta="2"
  326. left_pad="3"
  327. layout="topleft"
  328. name="events_mature_label"
  329. width="66">
  330. Moderate
  331. </text>
  332. <check_box
  333. control_name="ShowAdultEvents"
  334. follows="top|right"
  335. height="16"
  336. layout="topleft"
  337. left="135"
  338. name="events_adult_chk"
  339. top_pad="3"
  340. width="22" />
  341. <icon
  342. follows="top|right"
  343. height="16"
  344. image_name="Parcel_R_Dark"
  345. layout="topleft"
  346. left_pad="0"
  347. mouse_opaque="true"
  348. name="events_adult_icon"
  349. top_delta="0"
  350. width="18" />
  351. <text
  352. type="string"
  353. length="1"
  354. follows="top|right"
  355. halign="left"
  356. height="16"
  357. top_delta="2"
  358. left_pad="3"
  359. layout="topleft"
  360. name="events_adult_label"
  361. width="66">
  362. Adult
  363. </text>
  364. </panel>
  365. <panel
  366. follows="right|top"
  367. height="22"
  368. top_pad="0"
  369. width="238"
  370. background_visible="true"
  371. bg_alpha_color="DkGray2"
  372. name="layout_panel_3">
  373. <text
  374. text_color="White"
  375. font="SansSerifLarge"
  376. type="string"
  377. length="1"
  378. follows="top|right"
  379. halign="left"
  380. height="16"
  381. layout="topleft"
  382. left="15"
  383. name="find_on_map_label"
  384. top="3"
  385. width="215">
  386. Find on Map
  387. </text>
  388. </panel>
  389. <panel
  390. follows="right|top|bottom"
  391. height="330"
  392. top_pad="0"
  393. width="238"
  394. name="layout_panel_4">
  395. <icon
  396. color="0.5 0 0 1"
  397. follows="top|right"
  398. height="16"
  399. image_name="map_track_16.tga"
  400. layout="topleft"
  401. left="3"
  402. top="11"
  403. mouse_opaque="true"
  404. name="friends_icon"
  405. width="16" />
  406. <combo_box
  407. allow_text_entry="true"
  408. follows="top|right"
  409. height="23"
  410. label="Online Friends"
  411. layout="topleft"
  412. top_delta="-4"
  413. left_pad="7"
  414. max_chars="60"
  415. name="friend combo"
  416. tool_tip="Show friends on map"
  417. width="182">
  418. <combo_box.item
  419. label="My Friends Online"
  420. name="item1"
  421. value="None" />
  422. <combo_box.commit_callback
  423. function="WMap.AvatarCombo"/>
  424. </combo_box>
  425. <icon
  426. color="0.5 0 0 1"
  427. follows="top|right"
  428. height="16"
  429. image_name="map_track_16.tga"
  430. layout="topleft"
  431. left="3"
  432. top_pad="8"
  433. mouse_opaque="true"
  434. name="landmark_icon"
  435. width="16" />
  436. <combo_box
  437. allow_text_entry="true"
  438. follows="top|right"
  439. height="23"
  440. label="My Landmarks"
  441. layout="topleft"
  442. top_delta="-3"
  443. left_pad="7"
  444. max_chars="64"
  445. name="landmark combo"
  446. tool_tip="Landmark to show on map"
  447. width="182">
  448. <combo_box.item
  449. label="My Landmarks"
  450. name="item1"
  451. value="None" />
  452. <combo_box.commit_callback
  453. function="WMap.Landmark"/>
  454. </combo_box>
  455. <icon
  456. color="0.5 0 0 1"
  457. follows="top|right"
  458. height="16"
  459. image_name="map_track_16.tga"
  460. layout="topleft"
  461. left="3"
  462. top_pad="7"
  463. mouse_opaque="true"
  464. name="location_icon"
  465. width="16" />
  466. <search_editor
  467. follows="top|right"
  468. search_button_visible="false"
  469. height="22"
  470. text_readonly_color="DkGray"
  471. label="Regions by Name"
  472. layout="topleft"
  473. top_delta="-2"
  474. left_pad="7"
  475. name="location"
  476. select_on_focus="true"
  477. tool_tip="Type the name of a region"
  478. width="152">
  479. <search_editor.commit_callback
  480. function="WMap.Location" />
  481. </search_editor>
  482. <button
  483. follows="top|right"
  484. height="23"
  485. label="Find"
  486. layout="topleft"
  487. left_pad="2"
  488. top_delta="-1"
  489. name="DoSearch"
  490. tool_tip="Search for region"
  491. width="62">
  492. <button.commit_callback
  493. function="WMap.Location" />
  494. </button>
  495. <button
  496. image_overlay="Refresh_Off"
  497. follows="top|right"
  498. height="23"
  499. layout="topleft"
  500. left="0"
  501. name="Clear"
  502. tool_tip="Clear tracking lines and reset map"
  503. top_pad="5"
  504. width="23">
  505. <button.commit_callback
  506. function="WMap.Clear" />
  507. </button>
  508. <scroll_list
  509. draw_stripes="false"
  510. bg_writeable_color="MouseGray"
  511. follows="all"
  512. height="145"
  513. layout="topleft"
  514. left="28"
  515. name="search_results"
  516. top_pad="-23"
  517. width="209"
  518. sort_column="1">
  519. <scroll_list.columns
  520. label=""
  521. name="icon"
  522. width="16" />
  523. <scroll_list.columns
  524. label=""
  525. name="sim_name"
  526. width="193" />
  527. <scroll_list.commit_callback
  528. function="WMap.SearchResult" />
  529. </scroll_list>
  530. <text
  531. type="string"
  532. length="1"
  533. follows="right|bottom"
  534. halign="right"
  535. height="16"
  536. layout="topleft"
  537. left="15"
  538. name="events_label"
  539. top_pad="16"
  540. width="70">
  541. Location:
  542. </text>
  543. <spinner
  544. control_name="Teleport_Coordinate_X"
  545. decimal_digits="0"
  546. follows="right|bottom"
  547. height="23"
  548. increment="1"
  549. initial_value="128"
  550. layout="topleft"
  551. left_delta="74"
  552. max_val="255"
  553. min_val="0"
  554. name="teleport_coordinate_x"
  555. width="44" >
  556. <spinner.commit_callback
  557. function="WMap.Coordinates" />
  558. </spinner>
  559. <spinner
  560. control_name="Teleport_Coordinate_Y"
  561. decimal_digits="0"
  562. follows="right|bottom"
  563. height="23"
  564. increment="1"
  565. initial_value="128"
  566. layout="topleft"
  567. left_delta="47"
  568. max_val="255"
  569. min_val="0"
  570. name="teleport_coordinate_y"
  571. width="44" >
  572. <spinner.commit_callback
  573. function="WMap.Coordinates" />
  574. </spinner>
  575. <spinner
  576. control_name="Teleport_Coordinate_Z"
  577. decimal_digits="0"
  578. follows="right|bottom"
  579. height="23"
  580. increment="1"
  581. initial_value="23"
  582. layout="topleft"
  583. left_delta="47"
  584. max_val="4096"
  585. min_val="0"
  586. name="teleport_coordinate_z"
  587. width="55" >
  588. <spinner.commit_callback
  589. function="WMap.Coordinates" />
  590. </spinner>
  591. <button
  592. follows="right|bottom"
  593. height="23"
  594. image_unselected="PushButton_On"
  595. label="Teleport"
  596. layout="topleft"
  597. left="25"
  598. name="Teleport"
  599. tool_tip="Teleport to selected location"
  600. top_pad="7"
  601. width="104">
  602. <button.commit_callback
  603. function="WMap.Teleport" />
  604. </button>
  605. <button
  606. follows="right|bottom"
  607. height="23"
  608. label="Copy SLurl"
  609. layout="topleft"
  610. left_pad="5"
  611. name="copy_slurl"
  612. tool_tip="Copies current location as SLurl to be used on the web."
  613. top_delta="0"
  614. width="104">
  615. <button.commit_callback
  616. function="WMap.CopySLURL" />
  617. </button>
  618. <button
  619. enabled="false"
  620. follows="right|bottom"
  621. height="23"
  622. label="Show Selection"
  623. left="25"
  624. top_pad="5"
  625. name="Show Destination"
  626. tool_tip="Center map on selected location"
  627. width="213">
  628. <button.commit_callback
  629. function="WMap.ShowTarget" />
  630. </button>
  631. </panel>
  632. <panel
  633. follows="right|bottom"
  634. height="22"
  635. top_pad="0"
  636. width="238"
  637. background_visible="true"
  638. bg_alpha_color="DkGray2"
  639. name="layout_panel_5">
  640. <text
  641. text_color="White"
  642. font="SansSerifLarge"
  643. type="string"
  644. length="1"
  645. follows="top|right"
  646. halign="left"
  647. height="16"
  648. layout="topleft"
  649. left="15"
  650. name="zoom_label"
  651. top="3"
  652. width="210">
  653. Zoom
  654. </text>
  655. </panel>
  656. <panel
  657. follows="right|bottom"
  658. height="30"
  659. min_height="30"
  660. top_pad="0"
  661. width="238"
  662. name="layout_panel_6">
  663. <icon
  664. follows="left|bottom"
  665. height="16"
  666. image_name="Zoom_Off"
  667. layout="topleft"
  668. left="20"
  669. mouse_opaque="true"
  670. name="zoom_icon"
  671. top_pad="7"
  672. width="16" ></icon>
  673. <slider
  674. follows="left|bottom"
  675. height="16"
  676. increment="0.2"
  677. initial_value="-2"
  678. left_pad="0"
  679. layout="topleft"
  680. max_val="0"
  681. min_val="-8"
  682. name="zoom slider"
  683. show_text="false"
  684. width="200" />
  685. </panel>
  686. </floater>