Fix
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / bg_downloader.xml
blob914b4f2ff93c9db1c3bac0957af0e0254c5b466f
1 <interface_config>
3 <root id="interface" x="0" y="0" w="800" h="600" active="true" />
6 <lua file="bg_downloader.lua" />
8 <proc id="bg_downloader_active">
9         <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" />
10         
11 </proc>
13 <proc id="bg_downloader_deactive">
14         <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
15 </proc>
18 <!-- Window for the background downloader -->
19 <group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false"
20         movable="true" opened="true" openable="false"   
21         pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" 
22         h="100"
23         w="410"
24         active="false"  
25         savable="true"
26         header_color="UI:SAVE:WIN:COLORS:OPT"
27         on_deactive="proc"      on_deactive_params="bg_downloader_deactive"
28         on_active="proc" on_active_params="bg_downloader_active"
29 >       
30         <group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" 
31          group_onclick_r="active_menu"
32          group_params_r="menu=ui:interface:base_menu_with_color"        
33         >
34         </group>
35         
36         <group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL" 
37          group_onclick_r="active_menu"
38          group_params_r="menu=ui:interface:base_menu_with_color"
39         >               
40         </group>
41         <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >                               
42                 <view type="text" id="text"     active="true" y="-12" posref="TM TM"    hardtext="" fontsize="10" color="255 255 255 255"
43                  auto_clamp="true"
44                  global_color="false"
45                 />
46                 <view type="text" id="ellipsis" active="true" y="0" posref="BR BL"      posparent="text" hardtext="" fontsize="13" color="255 255 255 255"
47                  global_color="false"
48                 />
50                 <view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"
51                  global_color="false"
52                 />
53                 <view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2"
54                  global_color="false"
55                 />      
57                 <group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" 
58                  posref="BM TM"
59                  posparent="progress"
60                  on_change="lua:bgdownloader:onChangePriority()" on_change_params=""
61                  tooltip="uiBGD_PriorityTooltip"
62                  global_color="false"
63                 >               
64                         <instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>                   
65                         <combo_text name="uiBGD_Paused" />
66                         <combo_text name="uiBGD_LowPriority" />
67                         <combo_text name="uiBGD_NormalPriority" />                      
68                 </group>
69         </group>
70 </group>
72 <tree node="bg_downloader"/>
74 </interface_config>