8 <variable entry="UI:SAVE:RADARZOOM"
11 <variable entry="UI:SAVE:MP3_VOLUME"
14 <variable entry="UI:SAVE:MP3_REPEAT"
17 <variable entry="UI:SAVE:MP3_SHUFFLE"
20 <variable entry="UI:TEMP:MP3_PLAYING"
24 <!--******************-->
26 <!--******************-->
27 <proc id="mp3_player_active">
29 params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=1" />
31 <proc id="mp3_player_deactive">
33 params="dblink=UI:VARIABLES:ISACTIVE:MP3PLAYER|value=0" />
37 extends="base_menu_with_color"></group>
39 <template name="playlist_song" keep="true" id="" posparent="parent" posref="TL TL" w="206" h="20" line_maxw="160" index="0">
40 <group id="#id" w="#w" child_resize_h="true" posparent="#posparent" posref="#posref" group_onclick_r="" group_params_r="">
41 <ctrl type="button" id="btn" button_type="toggle_button" sizeref="wh" tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" scale="true"
42 color="255 255 255 0" col_pushed="255 255 255 0" col_over="255 255 255 90"
43 global_color_normal="true" global_color_pushed="true" global_color_over="true"
44 ondblclick_l="music_player" params_dblclick_l="song=#index" />
46 <view type="bitmap" id="bg" posref="MM MM" sizeref="wh" color="200 200 200 50" texture="blank.tga" scale="true" active="false" />
47 <view type="text" id="title" posref="ML ML" x="0" line_maxw="#line_maxw" fontsize="8" shadow="true" multi_line="true" multi_line_space="0" />
48 <view type="text" id="duration" posref="MR MR" x="0" fontsize="8" shadow="true" color="255 255 255 150" />
52 <proc id="proc_mp3_toggle_shuffle">
53 <action handler="set" params="dblink=UI:SAVE:MP3_SHUFFLE|value=not(@UI:SAVE:MP3_SHUFFLE)" />
54 <action handler="music_player" params="update_playlist" />
57 <proc id="proc_mp3_update_tooltip">
58 <action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Play')" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
59 <action handler="lua" params="getUI('ui:interface:mp3_player:controls:but_play').tooltip = i18n.get('uiMP3Pause')" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
62 <proc id="proc_mp3_but_play">
63 <action handler="set" params="dblink=UI:TEMP:MP3_PLAYING|value=not(@UI:TEMP:MP3_PLAYING)" />
64 <action handler="music_player" params="play" cond="eq(@UI:TEMP:MP3_PLAYING,1)" />
65 <action handler="music_player" params="pause" cond="eq(@UI:TEMP:MP3_PLAYING,0)" />
70 posparent="mp3_player"
75 child_resize_hmargin="10"
89 color="255 255 255 255"
93 button_type="push_button"
97 tx_normal="w_win_close.tga"
98 tx_pushed="w_win_close.tga"
99 tx_over="W_button_14_over.tga"
100 onclick_l="leave_modal"
102 <ctrl style="text_button_header"
103 button_type="push_button"
109 hardtext="uiPlaylistRefresh"
110 onclick_l="music_player"
111 params_l="play_songs" />
112 <ctrl style="text_button_header"
113 button_type="toggle_button"
121 params_l="proc_mp3_toggle_shuffle" />
122 <ctrl style="text_button_header"
123 button_type="toggle_button"
131 params_l="dblink=UI:SAVE:MP3_REPEAT|value=not(@UI:SAVE:MP3_REPEAT)" />
133 <!-- change button state when variable chaanged -->
134 <link expr="@UI:SAVE:MP3_REPEAT" target="repeat:pushed" />
135 <link expr="@UI:SAVE:MP3_SHUFFLE" target="shuffle:pushed" />
137 <group id="content" x="8" y="-24" over="true" sizeref="w" posref="TL TL" child_resize_h="true" child_resize_hmargin="4">
138 <group id="songs" x="10" y="0" sizeref="w" posref="TL TL" child_resize_h="true" max_h="215">
139 <group id="list" type="list" x="0" y="0" posref="TL TL" />
141 <ctrl style="skin_scroll" id="sv" posref="TL TL" target="songs" />
144 <tree node="playlist" />
146 <link expr="@UI:SAVE:MP3_VOLUME"
147 action="music_player"
148 params="volume=@UI:SAVE:MP3_VOLUME" />
149 <group id="mp3_player"
150 type="container_windows"
153 header_active="false"
159 win_priority="%win_priority_lowest"
161 group_onclick_r="active_menu"
162 group_params_r="menu=ui:interface:mp3_player_menu"
164 on_deactive_params="mp3_player_deactive"
166 on_active_params="mp3_player_active">
167 <group id="header_closed"
179 <!-- Slots of Prev/Play/Pause/Next buttons -->
185 texture="mp3_button_slot.tga" />
192 texture="mp3_button_slot.tga" />
199 texture="mp3_button_slot.tga" />
206 texture="mp3_button_slot.tga" />
207 <!-- Prev/Play/Pause/Next Buttons -->
210 button_type="push_button"
213 tx_normal="mp3_button_previous.tga"
214 tx_pushed="mp3_button_previous.tga"
215 tx_over="mp3_button_over.tga"
216 onclick_l="music_player"
218 tooltip="uiMP3Prev" />
221 button_type="toggle_button"
224 tx_normal="mp3_button_play.tga"
225 tx_pushed="mp3_button_pause.tga"
226 tx_over="mp3_button_over.tga"
228 params_l="proc_mp3_but_play"
229 tooltip="uiMP3Play" />
230 <!-- TODO: but_stop is using placeholder texture -->
233 button_type="push_button"
236 tx_normal="w_button_10_choice.tga"
237 tx_pushed="w_button_10_choice.tga"
238 tx_over="mp3_button_over.tga"
242 onclick_l="music_player"
244 tooltip="uiMP3Stop" />
247 button_type="push_button"
250 tx_normal="mp3_button_next.tga"
251 tx_pushed="mp3_button_next.tga"
252 tx_over="mp3_button_over.tga"
253 onclick_l="music_player"
255 tooltip="uiMP3Next" />
262 texture="mp3_vol_jauge.tga" />
263 <group id="volume_control"
277 texture="W_line_hor2.tga" />
291 value="UI:SAVE:MP3_VOLUME"
292 tx_topright="w_scroll_R.tga"
293 tx_middle="w_scroll_l123_m.tga"
294 tx_bottomleft="w_scroll_L.tga"
298 <!-- Slots of Open/Playlist buttons -->
302 posparent="volume_control"
305 texture="mp3_button_slot.tga" />
307 <view id="slot6" type="bitmap" posref="TR TL" posparent="slot5" x="2" y="0" texture="mp3_button_slot.tga" />
309 <!-- Open/Playlist buttons -->
312 button_type="push_button"
315 tx_normal="mp3_button_list.tga"
316 tx_pushed="mp3_button_list.tga"
317 tx_over="mp3_button_over.tga"
318 onclick_l="enter_modal"
319 params_l="group=ui:interface:playlist"
320 tooltip="uiMP3Playlist" />
322 <ctrl type="button" id="but_list" button_type="push_button" posref="MM MM" posparent="slot6"
323 tx_normal="mp3_button_list.tga" tx_pushed="mp3_button_list.tga" tx_over="mp3_button_over.tga"
324 onclick_l="enter_modal" params_l="group=ui:interface:playlist" tooltip="uiMP3Playlist" />
329 tooltip="uiMP3Volume"
330 posparent="volume_control"
335 <link expr="@UI:TEMP:MP3_PLAYING" target="but_play:pushed" action="proc" params="proc_mp3_update_tooltip" />
343 <instance template="box_widget"
354 color="255 255 255 255"
359 hardtext="uiNoFiles" />
362 <tree node="mp3_player" />
363 <!--***************-->
365 <!--***************-->
366 <variable type="float"
367 entry="UI:VARIABLES:DIRECTION" />
368 <proc id="compass_proc_active">
369 <action handler="set"
370 params="target_property=ui:interface:compass:arrow3d:cam:posx|value=0.0" />
371 <action handler="set"
372 params="target_property=ui:interface:compass:arrow3d:cam:posy|value=-0.01" />
373 <action handler="set"
374 params="target_property=ui:interface:compass:arrow3d:cam:posz|value=2.5" />
375 <action handler="set"
376 params="target_property=ui:interface:compass:arrow3d:cam:tgtx|value=0.0" />
377 <action handler="set"
378 params="target_property=ui:interface:compass:arrow3d:cam:tgty|value=0.0" />
379 <action handler="set"
380 params="target_property=ui:interface:compass:arrow3d:cam:tgtz|value=0.0" />
381 <action handler="set"
382 params="target_property=ui:interface:compass:arrow3d:cam:fov|value=30.0" />
383 <action handler="set"
384 params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=1" />
385 <!--<action handler="set" params="target_property=ui:interface:compass:arrow3d:arrow:diffuse|value=135.0" />-->
387 <proc id="compas_proc_deactive">
388 <action handler="set"
389 params="dblink=UI:VARIABLES:ISACTIVE:COMPAS|value=0" />
391 <proc id="radar_proc_zoom_in">
392 <action handler="set"
393 cond="ne(@UI:SAVE:RADARZOOM,0)"
394 params="dblink=UI:SAVE:RADARZOOM|value=sub(@UI:SAVE:RADARZOOM,1)"
395 icon="w_button_radar_plus.tga" />
397 <proc id="radar_proc_zoom_out">
398 <action handler="set"
399 cond="ne(@UI:SAVE:RADARZOOM,3)"
400 params="dblink=UI:SAVE:RADARZOOM|value=add(@UI:SAVE:RADARZOOM,1)"
401 icon="w_button_radar_moins.tga" />
403 <proc id="radar_proc_zoom">
404 <action handler="set"
405 params="target_property=ui:interface:compass:visuel:range:hardtext|
406 value=switch(@0, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')" />
407 <action handler="set"
408 params="target_property=ui:interface:compass:visuel:radar:world_size|
409 value=switch(@0, 50.0, 100.0, 250.0, 500.0)" />
412 <define id="landmark_menu_max_visible" value="25" />
413 <group id="compass_menu"
415 extends="base_menu_with_color"
421 force_inside_screen="true"
422 compass="ui:interface:compass">
423 <!-- SubMenus. Add dummy entries first -->
425 name="uimCompassMissions"
426 icon="mission_available.tga">
428 name="DUMMY-ERROR" />
430 <action id="land_mark"
431 name="uimCompassLandMarks"
433 <action id="land_mark_misc"
434 max_visible_line="%landmark_menu_max_visible"
435 name="uiLMMiscColor">
437 name="DUMMY-ERROR" />
439 <action id="land_mark_tribe"
440 max_visible_line="%landmark_menu_max_visible"
441 name="uiLMTribeColor">
443 name="DUMMY-ERROR" />
445 <action id="land_mark_bandit"
446 max_visible_line="%landmark_menu_max_visible"
447 name="uiLMBanditColor">
449 name="DUMMY-ERROR" />
451 <action id="land_mark_citizen"
452 max_visible_line="%landmark_menu_max_visible"
453 name="uiLMCitizenColor">
455 name="DUMMY-ERROR" />
457 <action id="land_mark_fauna"
458 max_visible_line="%landmark_menu_max_visible"
459 name="uiLMFaunaColor">
461 name="DUMMY-ERROR" />
463 <action id="land_mark_faunaexcel"
464 max_visible_line="%landmark_menu_max_visible"
465 name="uiLMFaunaExcelColor">
467 name="DUMMY-ERROR" />
469 <action id="land_mark_faunasup"
470 max_visible_line="%landmark_menu_max_visible"
471 name="uiLMFaunaSupColor">
473 name="DUMMY-ERROR" />
475 <action id="land_mark_forage"
476 max_visible_line="%landmark_menu_max_visible"
477 name="uiLMForageColor">
479 name="DUMMY-ERROR" />
481 <action id="land_mark_forageexcel"
482 name="uiLMForageExcelColor">
484 name="DUMMY-ERROR" />
486 <action id="land_mark_foragesup"
487 max_visible_line="%landmark_menu_max_visible"
488 name="uiLMForageSupColor">
490 name="DUMMY-ERROR" />
492 <action id="land_mark_sap"
493 max_visible_line="%landmark_menu_max_visible"
496 name="DUMMY-ERROR" />
498 <action id="land_mark_amber"
499 max_visible_line="%landmark_menu_max_visible"
500 name="uiLMAmberColor">
502 name="DUMMY-ERROR" />
504 <action id="land_mark_node"
505 max_visible_line="%landmark_menu_max_visible"
506 name="uiLMNodeColor">
508 name="DUMMY-ERROR" />
510 <action id="land_mark_fiber"
511 max_visible_line="%landmark_menu_max_visible"
512 name="uiLMFiberColor">
514 name="DUMMY-ERROR" />
516 <action id="land_mark_bark"
517 max_visible_line="%landmark_menu_max_visible"
518 name="uiLMBarkColor">
520 name="DUMMY-ERROR" />
522 <action id="land_mark_seed"
523 max_visible_line="%landmark_menu_max_visible"
524 name="uiLMSeedColor">
526 name="DUMMY-ERROR" />
528 <action id="land_mark_shell"
529 max_visible_line="%landmark_menu_max_visible"
530 name="uiLMShellColor">
532 name="DUMMY-ERROR" />
534 <action id="land_mark_resin"
535 max_visible_line="%landmark_menu_max_visible"
536 name="uiLMResinColor">
538 name="DUMMY-ERROR" />
540 <action id="land_mark_wood"
541 max_visible_line="%landmark_menu_max_visible"
542 name="uiLMWoodColor">
544 name="DUMMY-ERROR" />
546 <action id="land_mark_oil"
547 max_visible_line="%landmark_menu_max_visible"
550 name="DUMMY-ERROR" />
552 <action id="land_mark_mission"
553 max_visible_line="%landmark_menu_max_visible"
554 name="uiLMMissionColor">
556 name="DUMMY-ERROR" />
558 <action id="land_mark_food"
559 max_visible_line="%landmark_menu_max_visible"
560 name="uiLMFoodColor">
562 name="DUMMY-ERROR" />
564 <action id="land_mark_construction"
565 max_visible_line="%landmark_menu_max_visible"
566 name="uiLMConstructionColor">
568 name="DUMMY-ERROR" />
570 <action id="land_mark_goo"
571 max_visible_line="%landmark_menu_max_visible"
574 name="DUMMY-ERROR" />
576 <action id="land_mark_insect"
577 max_visible_line="%landmark_menu_max_visible"
578 name="uiLMInsectColor">
580 name="DUMMY-ERROR" />
582 <action id="land_mark_kitin"
583 max_visible_line="%landmark_menu_max_visible"
584 name="uiLMKitinColor">
586 name="DUMMY-ERROR" />
588 <action id="land_mark_nocive"
589 max_visible_line="%landmark_menu_max_visible"
590 name="uiLMNociveColor">
592 name="DUMMY-ERROR" />
594 <action id="land_mark_preservative"
595 max_visible_line="%landmark_menu_max_visible"
596 name="uiLMPreservativeColor">
598 name="DUMMY-ERROR" />
600 <action id="land_mark_passage"
601 max_visible_line="%landmark_menu_max_visible"
602 name="uiLMPassageColor">
604 name="DUMMY-ERROR" />
606 <action id="land_mark_teleporter"
607 max_visible_line="%landmark_menu_max_visible"
608 name="uiLMTeleporterColor">
610 name="DUMMY-ERROR" />
614 name="uimCompassTeam"
615 icon="teammate_map.tga">
617 name="DUMMY-ERROR" />
620 name="uimCompassAnimal"
621 icon="mektoub_map.tga">
623 name="DUMMY-ERROR" />
626 name="uimCompassDialogs"
627 icon="r2ed_create_dialog.tga">
629 name="DUMMY-ERROR" />
631 <!-- Common Container menu actions -->
636 params="radar_proc_zoom_in"
637 icon="arbo_close_just_one.tga" />
641 params="radar_proc_zoom_out"
642 icon="arbo_open_first.tga" />
645 <action id="lock_unlock" name="uimLockUnlock" handler="lock_unlock" cond="eq(@UI:VARIABLES:GC_POPUP, 1)"/>
646 <action id="help" name="uimHelp" handler="ic_help" cond="eq(@UI:VARIABLES:GC_HAS_HELP, 1)"/>
657 header_active="false"
659 group_onclick_r="active_menu"
663 on_active_params="compass_proc_active"
665 on_deactive_params="compas_proc_deactive"
666 group_params_r="menu=ui:interface:compass_menu"
667 north_color="255 255 255 255"
668 selection_color="0 0 255 255"
669 respawn_color="66 66 77 255"
670 home_color="255 0 255 255"
671 continent_landmark_color="0 255 0 255"
672 mission_landmark_color="255 0 255 255"
673 user_landmark_color="255 255 0 255"
674 new_target_selected_color="255 0 0 255"
675 help_page="interf_compass.html">
676 <group id="header_closed"
685 texture="Compas_L.tga" />
693 texture="Compas_M.tga" />
697 texture="Compas_R.tga" />
699 <!-- compass clock -->
711 color="255 255 255 255"
717 <link expr="@UI:SAVE:SHOW_CLOCK"
718 target="clock:active" />
719 <!-- new mail message notifier -->
722 group_onclick_l="show_hide"
723 group_params_l="mailbox"
724 tooltip="uiMk_interaction5"
732 global_color="false" />
738 color="255 255 255 255"
743 <!-- <view type="text" id="mail_nb2" posparent="mail_nb" posref="BL BR" x="-2" y="0" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="x" /> -->
745 <link expr="@UI:VARIABLES:MAIL_WAITING"
746 target="mail:active" />
747 <!-- new guild forum message notifier -->
750 group_onclick_l="show_hide"
751 group_params_l="guild_forum"
752 tooltip="uiMk_interaction3"
761 texture="r2ed_create_dialog.tga"
762 global_color="false" />
768 color="255 255 255 255"
774 <link expr="@UI:VARIABLES:FORUM_UPDATED"
775 target="forum:active" />
777 <!-- show/hide webig calendar -->
780 group_onclick_l="lua"
781 group_params_l="game:displayCalendar()"
789 texture="calendar.tga"
790 global_color="false" />
796 color="255 255 255 255"
804 <!-- show/hide map -->
807 group_onclick_l="show_hide"
809 tooltip="uiMk_window5"
816 texture="ico_hatred.tga"
817 global_color="false" />
820 <!-- show/hide dynE -->
823 group_onclick_l="lua"
824 group_params_l="game:displayDynE()"
833 texture="dyn_event_compass.tga"
834 global_color="false" />
840 color="255 255 255 255"
847 <!-- show/hide whatsup -->
850 group_onclick_l="lua"
851 group_params_l="game:displayWhatsUp()"
852 tooltip="uiTalkMemMsg10"
860 texture="whatsup_mini.tga"
861 global_color="false" />
864 <!-- show/hide help -->
867 group_onclick_l="show_hide"
868 group_params_l="cs_browser"
869 tooltip="uiMk_window8"
876 texture="tb_help2.tga"
877 global_color="false" />
885 hardtext="uiRadarZoom0"
887 color="255 255 255 255"
891 over_extend_view_text="false" />
894 button_type="push_button"
902 tx_normal="blank.tga"
903 tx_pushed="blank.tga"
905 color="255 255 255 0"
906 col_over="255 255 255 50"
907 col_pushed="255 255 255 100"
908 tooltip="uittCompassDistance"
910 onclick_l="active_menu"
911 params_l="menu=ui:interface:compass_menu" />
912 <scene3d id="arrow3d"
920 sun_ambient="20 20 20"
923 sun_direction="2.0 1.0 -1.0">
930 pos="-20.0 -30.0 100.0"
948 texture="w_radar.tga" />
954 hardtext="uiRadarZoom0"
956 color="255 255 255 255"
959 <ctrl type="button" id="zoom_in" button_type="push_button" posref="BL BL" x="94" y="26" h="18" w="18" scale="true"
960 tx_normal="w_radar_zoomin.tga" tx_pushed="w_radar_zoomin.tga"
961 color="255 255 255 255" col_pushed="255 255 255 255"
962 onclick_l="proc" params_l="radar_proc_zoom_in" render_layer="4" />
963 <ctrl type="button" id="zoom_out" button_type="push_button" posref="BL BL" x="15" y="26" h="18" w="18" scale="true"
964 tx_normal="w_radar_zoomout.tga" tx_pushed="w_radar_zoomout.tga"
965 color="255 255 255 255" col_pushed="255 255 255 255"
966 onclick_l="proc" params_l="radar_proc_zoom_out" render_layer="4" />
970 texture_std="w_radar_point.tga"
971 texture_missionlist="radar_mission_16.tga"
972 texture_missionauto="radar_mission3_16.tga"
973 texture_missionstep="radar_mission2_16.tga"
974 mini_texture_missionlist="radar_mission_mini_16.tga"
975 mini_texture_missionauto="radar_mission3_mini_16.tga"
976 mini_texture_missionstep="radar_mission2_mini_16.tga"
983 global_color="false" />
985 <link expr="ne(@UI:SAVE:RADARZOOM,0)" target="zoom_in:active" />
986 <link expr="ne(@UI:SAVE:RADARZOOM,3)" target="zoom_out:active" />
991 tooltip="uittCompassRange"
999 <tree node="compass" />
1000 <link expr="switch(@UI:SAVE:RADARZOOM, 'uiRadarZoom0', 'uiRadarZoom1', 'uiRadarZoom2', 'uiRadarZoom3')"
1001 target="ui:interface:compass:visuel:range:hardtext" />
1002 <link expr="switch(@UI:SAVE:RADARZOOM, 50.0, 100.0, 250.0, 500.0)"
1003 target="ui:interface:compass:visuel:radar:world_size" />
1004 <!--******************-->
1005 <!--* CONNECTION *-->
1006 <!--******************-->
1007 <proc id="proc_connection_close">
1008 <action handler="set"
1009 params="target_property=ui:interface:connection:w|value=64" />
1010 <action handler="set"
1011 params="target_property=ui:interface:connection:header_closed:w|value=64" />
1013 <group id="connection"
1015 title="uiConnectionTitle_short"
1016 title_opened="uiConnectionTitle"
1018 global_color="false"
1024 header_color="UI:SAVE:WIN:COLORS:OPT"
1026 on_active_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=1"
1028 on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:CONNECTION|value=0"
1030 on_open_params="target_property=ui:interface:connection:w|value=192"
1032 on_close_params="target_property=ui:interface:connection:w|value=64">
1034 <group id="header_closed"
1039 group_onclick_r="active_menu"
1040 group_params_r="menu=ui:interface:base_menu_with_color">
1042 <group id="server_state" posref="TM TM" w="28" h="16" x="0" >
1043 <view type="text" id="server0" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState0" />
1044 <view type="text" id="server1" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState1" />
1045 <view type="text" id="server2" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState2" />
1046 <view type="text" id="server3" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState3" />
1047 <view type="text" id="server4" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState4" />
1048 <view type="text" id="server5" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState5" />
1049 <view type="text" id="server6" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState6" />
1050 <view type="text" id="server7" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState7" />
1051 <view type="text" id="server8" posref="ML ML" color="255 255 255 255" fontsize="10" shadow="true" global_color="false" hardtext="uiServerState8" />
1052 <view type="text" id="server9" posref="TR TR" x="0" y="-68" color="255 255 255 255" fontsize="11" shadow="true" global_color="false" hardtext="uiServerState9" />
1055 <view type="text_number"
1060 color="255 255 255 255"
1063 value="UI:VARIABLES:UPLOAD"
1064 global_color="false"
1066 <view type="text_number"
1072 color="255 255 255 255"
1075 value="UI:VARIABLES:DOWNLOAD"
1076 global_color="false"
1078 <view type="text_number"
1081 posparent="download"
1084 color="255 255 255 255"
1087 value="UI:VARIABLES:PING"
1088 global_color="false"
1090 <view type="text_number"
1096 color="255 255 255 255"
1099 value="UI:VARIABLES:PACKETLOST"
1100 global_color="false"
1103 <group id="header_opened"
1108 group_onclick_r="active_menu"
1109 group_params_r="menu=ui:interface:base_menu_with_color">
1119 color="255 255 255 255"
1122 hardtext="uiUpload" />
1128 color="255 255 255 255"
1131 hardtext="uiDownload" />
1137 color="255 255 255 255"
1140 hardtext="uiPing" />
1146 color="255 255 255 255"
1149 hardtext="uiPacketLost" />
1155 color="255 255 255 255"
1158 hardtext="uiServerState" />
1159 <view type="text_number"
1164 color="255 255 255 255"
1167 value="UI:VARIABLES:UPLOAD"
1168 global_color="false"
1170 <view type="text_number"
1175 color="255 255 255 255"
1178 value="UI:VARIABLES:DOWNLOAD"
1179 global_color="false"
1181 <view type="text_number"
1186 color="255 255 255 255"
1189 value="UI:VARIABLES:PING"
1190 global_color="false"
1192 <view type="text_number"
1197 color="255 255 255 255"
1200 value="UI:VARIABLES:PACKETLOST"
1201 global_color="false"
1208 color="255 255 255 255"
1211 global_color="false"
1212 hardtext="uiServerState0" />
1218 color="255 255 255 255"
1221 global_color="false"
1222 hardtext="uiServerState1" />
1228 color="255 255 255 255"
1231 global_color="false"
1232 hardtext="uiServerState2" />
1238 color="255 255 255 255"
1241 global_color="false"
1242 hardtext="uiServerState3" />
1248 color="255 255 255 255"
1251 global_color="false"
1252 hardtext="uiServerState4" />
1258 color="255 255 255 255"
1261 global_color="false"
1262 hardtext="uiServerState5" />
1268 color="255 255 255 255"
1271 global_color="false"
1272 hardtext="uiServerState6" />
1278 color="255 255 255 255"
1281 global_color="false"
1282 hardtext="uiServerState7" />
1288 color="255 255 255 255"
1291 global_color="false"
1292 hardtext="uiServerState8" />
1298 color="255 255 255 255"
1301 global_color="false"
1302 hardtext="uiServerState9" />
1305 <tree node="connection" />
1306 <link expr="eq(@UI:VARIABLES:SERVERSTATE,0)"
1307 target="connection:content:server0:active" />
1308 <link expr="eq(@UI:VARIABLES:SERVERSTATE,1)"
1309 target="connection:content:server1:active" />
1310 <link expr="eq(@UI:VARIABLES:SERVERSTATE,2)"
1311 target="connection:content:server2:active" />
1312 <link expr="eq(@UI:VARIABLES:SERVERSTATE,3)"
1313 target="connection:content:server3:active" />
1314 <link expr="eq(@UI:VARIABLES:SERVERSTATE,4)"
1315 target="connection:content:server4:active" />
1316 <link expr="and(ne(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))"
1317 target="connection:content:server5:active" />
1318 <link expr="and(eq(@UI:VARIABLES:CONNECTION_QUALITY,0),eq(@UI:VARIABLES:SERVERSTATE,5))"
1319 target="connection:content:server9:active" />
1320 <link expr="eq(@UI:VARIABLES:SERVERSTATE,6)"
1321 target="connection:content:server6:active" />
1322 <link expr="eq(@UI:VARIABLES:SERVERSTATE,7)"
1323 target="connection:content:server7:active" />
1324 <link expr="eq(@UI:VARIABLES:SERVERSTATE,8)"
1325 target="connection:content:server8:active" />
1327 <lua file="compass.lua" />