Fix
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / r2ed_acts.xml
blobbacc3a881676a7bc92112708b89375a21fbaff6e
1 <interface_config>
3 <root id="interface" x="0" y="0" w="800" h="600" active="true" />
6 <!-- ecosystem template -->
7 <template name="ecosystem_template" keep="true" id="" h="0" x="0" y="0" 
8  posparent="" posref="" w="0" params_l="" hardtext="" wmin="160" tx_ecosystem="" tx_ecosystem_pushed="" 
9  text_color="" col_over="" tooltip="" > 
11         <group id="#id" sizeref="w" y="#y" x="#x" w="#w" h="#h" posparent="#posparent" posref="#posref" 
12          child_resize_h="true" child_resize_hmargin="0" >
14                 <ctrl type="text_button" button_type="toggle_button" id="eco_button" x="10" y="0" posref="TL TL" 
15                  text_y="0" onclick_l="lua" params_l="#params_l" hardtext="#hardtext" wmin="#wmin" 
16                  tx_normal="#tx_ecosystem" tx_pushed="#tx_ecosystem_pushed" tx_over="#tx_ecosystem"
17                  fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
18                  global_color_normal="false" global_color_over="false" global_color_pushed="false" 
19                  text_color_normal="#text_color" text_color_pushed="#text_color" text_color_over="#text_color"
20                  color="255 255 255 255" col_over="#col_over" over_when_pushed="false"
21                  tooltip="#tooltip"
22                 />
24                 <group id="two_lists" active="true" posparent="eco_button" posref="BL TL" x="0" y="-8" sizeparent="eco_button" sizeref="w" w="0" h="0" child_resize_h="true" child_resize_hmargin="1">
25         
26                         <group id="islands_list1" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" >
27                 
28                         </group>
30                         <group id="islands_list2" type="list" posparent="parent" posref="TR TR" x="0" y="0" sizeparent="parent" sizeref="w5h" w="0" h="0" >
31                 
32                         </group>
34                 </group>
36         </group>
37 </template>
39 <template name="template_line" id="" h="" >
41         <group id="#id" type="list" addelt="R" align="L" posparent="parent" posref="TL TL" sizeref="w" 
42          w="0" h="#h" x="0" y="0" >                     
43                 
44         </group>
46 </template>
48 <template name="template_lines" id="" posref="TL TL" >
50         <group id="#id" type="list" posparent="parent" posref="TL TL" sizeref="w" w="0" h="500" child_resize_h="true" 
51          child_resize_hmargin="1"   >   
53         </group>
55 </template>
57 <template name="act_button_template" keep="true" id="" active="true" h="" w="0" posparent="" posref="" sizeref="w"
58  h_button="" w_button="" x_button="" y_button="" x="0" y="0"
59  h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" 
60  tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" 
61  group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" >     
63         <group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
64                 
65                 <group id="button" active="#active" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent"
66                  w="#w_button" h="#h_button" group_onclick_l="lua" group_params_l="#group_params_l" >   
68                         <view type="bitmap" id="bl" w="8" h="8" posref="BL BL" texture="r2ed_island_corner.tga" rot="3" color="#color" global_color="false" />
69                         <view type="bitmap" id="tl" w="8" h="8" posref="TL TL" texture="r2ed_island_corner.tga" rot="0" color="#color" global_color="false" />
70                         <view type="bitmap" id="tr" w="8" h="8" posref="TR TR" texture="r2ed_island_corner.tga" rot="1" color="#color" global_color="false" />
71                         <view type="bitmap" id="br" w="8" h="8" posref="BR BR" texture="r2ed_island_corner.tga" rot="2" color="#color" global_color="false" />
73                         <view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />    
75                         <view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="2" scale="true" color="#color" global_color="false" />                                              
76                         <view type="bitmap" id="top" posref="TL TL" x="8" sizeref="w" w="-16" h="8" texture="r2ed_island_border.tga" rot="0" scale="true" color="#color" global_color="false" />                        
77                         <view type="bitmap" id="left" posref="BL BL" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="3" scale="true" color="#color" global_color="false" />
78                         <view type="bitmap" id="right" posref="BR BR" y="8" sizeref="h" w="8" h="-16" texture="r2ed_island_border.tga" rot="1" scale="true" color="#color" global_color="false" />                      
79                         
80                         <ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" 
81                          w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture"
82                          tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" 
83                          global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
84                          onclick_l="lua" params_l="#params_l" col_over="#col_over" over_when_pushed="true" scale="#scale"
85                     />
87                         <ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" 
88                          x="5" y="-5" sizeref="wh" w="-10" h="-10" 
89                          tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" 
90                          global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
91                          over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over"
92                          onclick_l="lua" params_l="#params_l" />                
93                                         
94                 </group>
95                 
96                 
97                 <group id="selected_button" active="false" sizeref="wh" x="#x_button" y="#y_button" posref="TL TL" posparent="parent"
98                  w="#w_button" h="#h_button" >  
100                         <view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="#selected_color" global_color="false" />
101                         <view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="#selected_color" global_color="false" />
102                         <view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="#selected_color" global_color="false" />
103                         <view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="#selected_color" global_color="false" />
105                         <view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" tile="true" posparent="parent" posref="TL TL" texture="#back_texture" color="#back_color" global_color="false" />    
107                         <view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="#selected_color" global_color="false" />                                              
108                         <view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="#selected_color" global_color="false" />                        
109                         <view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="#selected_color" global_color="false" />
110                         <view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="#selected_color" global_color="false" />                      
111                         
112                         <ctrl type="button" id="center_button" button_type="push_button" posref="TL TL" posparent="parent" 
113                          w="#w_button_texture" h="#h_button_texture" x="#x_button_texture" y="#y_button_texture"
114                          tx_normal="#icon" tx_pushed="#icon" tx_over="#icon" tooltip="#tooltip" 
115                          global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
116                          onclick_l="lua" params_l="" over_when_pushed="false" scale="#scale" col_over="#col_over" />
117                          
118                         <ctrl type="button" id="over_center_button" active="#over_active" button_type="push_button" posref="TL TL" posparent="parent" 
119                          x="6" y="-6" sizeref="wh" w="-12" h="-12" 
120                          tx_normal="blank.tga" tx_pushed="blank.tga" tx_over="blank.tga" tooltip="#tooltip" 
121                          global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
122                          over_when_pushed="true" scale="#scale_over" color="0 0 0 0" col_over="#col_over" col_pushed="#col_over"
123                          onclick_l="lua" params_l="" />         
124                                         
125                 </group>        
126         </group>
128 </template>
130 <template name="previous_loc_template" keep="true" id="" active="true" x="0" y="0" h="" w="0" posparent="" posref="" sizeref="w"
131  x_act="" y_act="" h_act="" w_act="" sizeref_act=""
132  h_button="" w_button="" x_button="" y_button="" h_button_texture="" w_button_texture="" x_button_texture="" y_button_texture="" icon="" 
133  tooltip="" scale="" scale_over="true" color="0 0 0 255" selected_color="255 0 0 255" col_over="" 
134  group_params_l="" params_l="" over_active="true" back_texture="blank.tga" back_color="0 0 0 255" 
135  w_text="" x_text="" h_text="" y_text="" >      
136         
137         <group id="#id" y="#y" x="#x" sizeref="#sizeref" h="#h" w="#w" posparent="#posparent" posref="#posref" >
139                 <instance template="act_button_template" id="act_button" h="#h_act" w="#w_act" posparent="parent" 
140                  posref="TL TL" sizeref="#sizeref_act" x="#x_act" y="#y_act"
141                  h_button="#h_button" w_button="#w_button" x_button="#x_button" y_button="#y_button" 
142                  h_button_texture="#h_button_texture" w_button_texture="#w_button_texture" 
143                  x_button_texture="#x_button_texture" y_button_texture="#y_button_texture" icon="#icon" 
144                  tooltip="#tooltip" scale="#scale" scale_over="#scale_over" 
145                  color="#color" selected_color="#selected_color" col_over="#col_over" 
146                  group_params_l="#group_params_l" params_l="#params_l" over_active="#over_active" 
147                  back_texture="#back_texture" back_color="0#back_color" />
148                  
149                 <group id="" x="#x_text" y="#y_text" posparent="act_button" posref="TR TL" sizeparent="parent" sizeref="wh" h="#h_text" w="#w_text" >
151                         <group id="text_list" posparent="parent" sizeref="wh" w="0" h="" posref="TL TL" x="0" y="0">
152                                 <group id="crop" posparent="parent" posref="TL TL" x="4" y="-4" sizeref="wh" w="-8" h="-8" />
154                                 <group id="list" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" child_resize_h="true" 
155                                  child_resize_hmargin="1" w="-15" max_sizeparent="crop" max_sizeref="h" max_h="0" >
156                         
157                                         <group type="scroll_text" id="list_txt" sizeref="w" child_resize_h="true" child_resize_wmargin="1" 
158                                          child_resize_hmargin="0" posref="TL TL" x="0" y="0">
160                                                 <group type="list" id="previous_text" hardtext="" shadow="true" fontsize="12" 
161                                                  justification="justified" color="255 255 255 160" space="3" 
162                                                  global_color="true" posref="TL TL" x="0" y="0" sizeref="hw" w="0" h="0" />
163                                         </group>
164                                 </group>
166                                 <ctrl style="skin_scroll" id="scroll_previous" align="T" target="list" posparent="crop" posref="TR TR" 
167                                  x="-5" y="0" />
168                         </group>
170                         <instance template="inner_thin_border_group" />
172                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" 
173                          scale="true" texture="blank.tga" color="100 0 0 255" />
174                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" 
175                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
176                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" 
177                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
178                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" 
179                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
181                 </group>
183         </group>
185 </template>
189 <template name="entry_point_template" keep="true" id="" h="0" posparent="" >
191         <group id="#id" active="true" sizeref="wh" w="0" h="0" x="0" y="0" posref="TL TL" posparent="#posparent">
192                 <ctrl type="button" id="flag" button_type="push_button" posref="TL TL" posparent="parent" 
193                  w="10" h="10" x="0" y="0"
194                  tx_normal="r2ed_entry_point.tga" tx_pushed="r2ed_entry_point_pushed.tga" tx_over="r2ed_entry_point_over.tga" tooltip="" 
195                  global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
196                  onclick_l="lua" params_l="r2.acts:selectEntryPoint()" over_when_pushed="false" render_layer="1" />     
197         </group>                                                                
198 </template>
200 <template name="image_island_template" keep="true" id="" h="0" w="0" x="0" y="0" espace="" posref="TL TL" posparent="parent"
201  params_l="" >  
203         <group id="#id" active="true" w="#w" h="#h" x="#x" y="#y" posref="#posref" posparent="#posparent">
204                 <group id="decal" sizeref="wh" h="0" w="-10" x="0" y="0" posref="TL TL" posparent="parent">     
205                         <view type="bitmap" id="bl" w="4" h="4" posref="BL BL" texture="r2ed_little_island_corner_select.tga" rot="3" color="255 0 0 255" />
206                         <view type="bitmap" id="tl" w="4" h="4" posref="TL TL" texture="r2ed_little_island_corner_select.tga" rot="0" color="255 0 0 255" />
207                         <view type="bitmap" id="tr" w="4" h="4" posref="TR TR" texture="r2ed_little_island_corner_select.tga" rot="1" color="255 0 0 255" />
208                         <view type="bitmap" id="br" w="4" h="4" posref="BR BR" texture="r2ed_little_island_corner_select.tga" rot="2" color="255 0 0 255" />
210                         <view type="bitmap" id="bg" x="4" y="-4" sizeref="wh" w="-8" h="-8" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0"/>        
212                         <view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" />                                         
213                         <view type="bitmap" id="top" posref="TL TL" x="4" sizeref="w" w="-8" h="4" texture="r2ed_little_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" />                   
214                         <view type="bitmap" id="left" posref="BL BL" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" />
215                         <view type="bitmap" id="right" posref="BR BR" y="4" sizeref="h" w="4" h="-8" texture="r2ed_little_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" />                 
216                         
217                         <ctrl type="button" id="island_bitmap" button_type="push_button" posref="TL TL" posparent="parent" 
218                          w="" h="" x="" y=""
219                          tx_normal="" tx_pushed="" tx_over="" tooltip="" 
220                          global_color="false" global_color_normal="false" global_color_over="false" global_color_pushed="false"
221                          onclick_l="lua" params_l="#params_l" over_when_pushed = "true" col_over="" />
222                          
223                 </group>        
224         </group>
226 </template>
229 <style style="style_ok_act" type="text_button" button_type="push_button" 
230                 tx_normal="qh_off" tx_pushed="qh_on" tx_over="qh_off" wmin="208" wmargin="8"
231                 global_color_normal="false" global_color_over="false" global_color_pushed="false" 
232                 color="255 255 255 128" col_over="255 255 255 0" col_pushed="255 128 0 192"
233                 text_y="-2" fontsize="12" shadow="true"
234                 text_color_normal="255 255 255 255"
235             text_color_pushed="255 255 255 255" 
236             text_color_over="255 255 255 255" 
237             text_shadow_color_normal="0 0 0 255"
238             text_shadow_color_pushed="0 0 0 255" 
239             text_shadow_color_over="0 0 0 255" 
240             text_global_color_normal="false" 
241             text_global_color_pushed="false"
242             text_global_color_over="false" force_text_over="true" />
245 <group id="r2ed_acts" active="true" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" 
246  on_enter="lua" on_enter_params="r2.acts:openPopupName()" >
248         <view type="bitmap" id="back" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" texture="Skin_Blank.tga" 
249          scale="true" tile="true" color="200 200 200 255" />
250                         
251         <group id="content" x="0" y="-5" sizeref="wh" w="0" h="-5" posref="TL TL" >
253                 <!-- PREVIOUS LOCATION -->
254                 <group id="previous_location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
256                         <group id="previous_location_gr" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="wh" w="-20" h="-15" >
258                                 <ctrl type="text_button" button_type="toggle_button" id="new_previous_title" x="0" y="0" posref="TL TL" 
259                                  text_y="0" hardtext="Choose new or previous location" wmin="170" 
260                                  tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
261                                  fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
262                                  global_color_normal="false" global_color_over="false" global_color_pushed="false" 
263                                  text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
264                                  color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
265                                  tooltip="uiR2EDTooltipChooseIsland"
266                                 />
268                                 <group id="new _previous_island" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" h="-53" w="0" >
270                                         <group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
271                                                 <instance template="inner_thin_border_group" /> 
273                                                 <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" 
274                                                  scale="true" texture="blank.tga" color="100 0 0 255" />
275                                                 <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" 
276                                                  y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
277                                                 <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" 
278                                                  y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
279                                                 <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" 
280                                                  y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
281                                                 <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" 
282                                                  y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
283                                                 
284                                         </group>
286                                         <group id="create_island" posparent="parent" posref="TL TL" x="10" y="-10" sizeref="w" h="160" w="-20" >
287                                 
288                                                 <instance template="act_button_template" id="new_location_mode_2" sizeref="" h="150" w="150" 
289                                                  x="8" y="0" posparent="parent" posref="TL TL" tooltip="uiR2EDCreateLocation"
290                                                  h_button="0" w_button="0" x_button="0" y_button="0" 
291                                                  h_button_texture="138" w_button_texture="138" 
292                                                  x_button_texture="6" y_button_texture="-6" icon="r2ed_create_location.tga" 
293                                                  scale="true" color="255 255 0 255" back_color="255 255 0 255" selected_color="255 255 0 255" col_over="255 200 0 100" 
294                                                  group_params_l="r2.acts:locationIsland(getUICaller())" params_l="r2.acts:locationIsland()" 
295                                                  over_active="false" />
297                                         </group>
299                                         <group id="choose_previous_island" posparent="create_island" posref="BL TL" x="0" y="0" sizeparent="parent" sizeref="wh" h="-180" w="-20" >
300                                 
301                                                 <group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" >
302                                                         <instance template="inner_thin_border_group" /> 
304                                                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" 
305                                                          scale="true" texture="blank.tga" color="100 0 0 255" />
306                                                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" 
307                                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
308                                                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" 
309                                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
310                                                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" 
311                                                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
312                                                         
313                                                 </group>
314                                                 
315                                                 <group id="crop_previous" posparent="parent" posref="TL TL" x="8" y="-8" 
316                                                  sizeref="wh" w="-8" h="-16" />
317                                                         
318                                                 <group id="previous_location_list" posparent="crop_previous" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" 
319                                                  child_resize_hmargin="1" max_sizeparent="crop_previous" max_sizeref="h" max_h="0" >
320                                         
321                                                         <group id="location_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
322                 
323                                                         </group>
325                                                 </group>
327                                                 <ctrl style="skin_scroll" id="scroll_previous_islands" align="T" target="previous_location_list" posparent="crop_previous" posref="TR TR" 
328                                                  x="0" y="0" step_value="10" />
330                                         </group>
331                                 </group>
333                                 <ctrl style="style_ok_act" id="previous_loc_ok" active="true" posparent="parent" posref="BR BR" x="0" y="0" hardtext="uiR2EDValidateForm"
334                                  color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
335                                  wmin="50" onclick_l="lua" params_l="r2.acts:createLocationOrCreateAct()" />
337                                 <ctrl style="style_ok_act" id="previous_loc_cancel" active="true" posparent="previous_loc_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
338                                  color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
339                                  wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
341                         </group>
342                 </group>
344                 <!-- LOCATION -->
345                 <group id="location" active="false" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
347                         <group id="choose_island" posparent="parent" posref="TL TL" x="10" y="-5" sizeref="w" w="-20" h="203" >
349                                 <ctrl type="text_button" button_type="toggle_button" id="choose_island_title" x="0" y="0" posref="TL TL" 
350                                  text_y="0" hardtext="Choose island" wmin="170" 
351                                  tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
352                                  fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
353                                  global_color_normal="false" global_color_over="false" global_color_pushed="false" 
354                                  text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
355                                  color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
356                                  tooltip="uiR2EDTooltipChooseIsland"
357                                 />
359                                 <group id="choose_island_gr" posparent="parent" posref="TL TL" x="0" y="-23" sizeref="wh" w="0" h="-23" >
360                                         
361                                         <instance template="inner_thin_border_group" /> 
362                                         
363                                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" 
364                                          scale="true" texture="blank.tga" color="100 0 0 255" />
365                                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" 
366                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
367                                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" 
368                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
369                                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" 
370                                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
371                                         <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" 
372                                          y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
374                                         <group id="choose_ecosystem" posparent="parent" posref="TL TL" x="0" y="0" sizeref="h" w="190" h="0" >
375                                         
376                                                 <group id="crop" posparent="parent" posref="TL TL" x="0" y="-10" sizeref="wh" w="0" h="-10" />
377                                                                 
378                                                 <group id="islands_list_gr" posparent="crop" posref="TL TL" x="0" y="0" sizeref="w" w="0" child_resize_h="true" 
379                                                  child_resize_hmargin="1" max_sizeparent="crop" max_sizeref="h" max_h="0" >
380                                         
381                                                         <group id="ecosystem_list" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
383                                                                 <instance template="ecosystem_template" id="r2_desert" posparent="parent" posref="TL TL" x="10" y ="0" 
384                                                                  hardtext="uiR2EDEcosystemDesert" params_l="r2.acts:openEcosystemIslands('r2_desert')" 
385                                                                  tx_ecosystem="r2ed_desert" tx_ecosystem_pushed="r2ed_desert_pushed" text_color="152 60 39 255" 
386                                                                  col_over="127 48 33 80" />
387                                                                  
388                                                                 <instance template="ecosystem_template" id="r2_jungle" posparent="r2_desert" posref="BL TL" x="0" y ="0" 
389                                                                  hardtext="uiR2EDEcosystemJungle" params_l="r2.acts:openEcosystemIslands('r2_jungle')" 
390                                                                  tx_ecosystem="r2ed_jungle" tx_ecosystem_pushed="r2ed_jungle_pushed" text_color="18 156 51 255" 
391                                                                  col_over="0 150 80 80" />
392                                                                  
393                                                                 <instance template="ecosystem_template" id="r2_lakes" posparent="r2_jungle" posref="BL TL" x="0" y ="0" 
394                                                                  hardtext="uiR2EDEcosystemLacustre" params_l="r2.acts:openEcosystemIslands('r2_lakes')" 
395                                                                  tx_ecosystem="r2ed_lakes" tx_ecosystem_pushed="r2ed_lakes_pushed" text_color="66 93 82 255" 
396                                                                  col_over="73 148 150 80" />    
397                                                          
398                                                                 <instance template="ecosystem_template" id="r2_forest" posparent="r2_lakes" posref="BL TL" x="0" y ="0" 
399                                                                  hardtext="uiR2EDEcosystemForest" params_l="r2.acts:openEcosystemIslands('r2_forest')" 
400                                                                  tx_ecosystem="r2ed_forest" tx_ecosystem_pushed="r2ed_forest_pushed" text_color="163 66 43 255" 
401                                                                  col_over="170 0 0 80" />
402                                          
403                                                                 <instance template="ecosystem_template" id="r2_roots" posparent="r2_forest" posref="BL TL" x="0" y ="0" 
404                                                                  hardtext="uiR2EDEcosystemPrimeRoots" params_l="r2.acts:openEcosystemIslands('r2_roots')" 
405                                                                  tx_ecosystem="r2ed_prime_roots" tx_ecosystem_pushed="r2ed_prime_roots_pushed" text_color="93 168 142 255" 
406                                                                  col_over="86 150 180 80" />                    
407                         
408                                                         </group>
410                                                 </group>
412                                                 <ctrl style="skin_scroll" id="scroll_islands" align="T" target="islands_list_gr" posparent="crop" posref="TR TR" 
413                                                  x="-5" y="0"/>
415                                         </group>
417                                         <group id="choose_island_2" posparent="parent" posref="TR TR" x="0" y="-8" sizeref="wh" h="-18" w="-180" >
418                                 
419                                                 <group id="crop_2" posparent="parent" posref="TL TL" x="4" y="-2" sizeref="wh" w="-4" h="-4" />
421                                                 
422                                                 <group id="back_gr" posparent="parent" posref="TL TL" x="0" y="0" sizeref="wh" w="-15" h="0" >
423                                                         <instance template="inner_thin_border_group" /> 
425                                                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="1" 
426                                                          scale="true" texture="blank.tga" color="100 0 0 255" />
427                                                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="1" 
428                                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
429                                                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="1" 
430                                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
431                                                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="1" 
432                                                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
433                                                         
434                                                 </group>
435                                                 
436                                                                 
437                                                 <group id="islands_list_gr_2" posparent="crop_2" posref="TL TL" x="0" y="0" sizeref="w" w="-20" child_resize_h="true" 
438                                                  child_resize_hmargin="1" max_sizeparent="crop_2" max_sizeref="h" max_h="0" >
439                                         
440                                                         <group id="ecosystem_list_2" type="list" posparent="parent" posref="TL TL" x="0" y="0" sizeparent="parent" sizeref="wh" w="0" h="0" >
441                 
442                                                         </group>
444                                                 </group>
446                                                 <ctrl style="skin_scroll" id="scroll_islands_2" align="T" target="islands_list_gr_2" posparent="crop_2" posref="TR TR" 
447                                                  x="-5" y="0" step_value="10" />
449                                         </group>
450                                 </group>
452                         </group>
455                         <!-- ISLAND IMAGES -->
456                         <group id="island_images" x="190" y="-218" w="-200" sizeref="wh" h="-218" posref="TL TL" >
458                                 <ctrl type="text_button" button_type="toggle_button" id="card_title" x="0" y="0" posref="TL TL" 
459                                  text_y="0" hardtext="Island zoom" wmin="170" 
460                                  tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
461                                  fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
462                                  global_color_normal="false" global_color_over="false" global_color_pushed="false" 
463                                  text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
464                                  color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
465                                  tooltip="uiR2EDTooltipIslandZoom"
466                                 />
468                                 <group id="island_current_image_gr" x="0" y="-23" w="0" sizeref="wh" h="-63" posref="TL TL" >
469                                         
470                                         <instance template="inner_thin_border_group" /> 
471                                         
472                                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" 
473                                          scale="true" texture="blank.tga" color="100 0 0 255" />
474                                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" 
475                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
476                                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" 
477                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
478                                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" 
479                                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
480                                         <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" 
481                                          y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
483                                         <group id="island_current_image" x="5" y="-5" sizeref="wh" h="-10" w="-10" posref="TL TL" win_priority="2" >
484                                 
485                                                 <group id="selected_button" active="true" sizeref="wh" x="0" y="0" posref="TL TL" posparent="parent">   
486         
487                                                         <view type="bitmap" id="bl" w="6" h="6" posref="BL BL" texture="r2ed_island_corner_select.tga" rot="3" color="255 0 0 255" global_color="false" />
488                                                         <view type="bitmap" id="tl" w="6" h="6" posref="TL TL" texture="r2ed_island_corner_select.tga" rot="0" color="255 0 0 255" global_color="false" />
489                                                         <view type="bitmap" id="tr" w="6" h="6" posref="TR TR" texture="r2ed_island_corner_select.tga" rot="1" color="255 0 0 255" global_color="false" />
490                                                         <view type="bitmap" id="br" w="6" h="6" posref="BR BR" texture="r2ed_island_corner_select.tga" rot="2" color="255 0 0 255" global_color="false" />
492                                                         <view type="bitmap" id="bg" x="6" y="-6" sizeref="wh" w="-12" h="-12" scale="true" posparent="parent" posref="TL TL" texture="blank.tga" color="0 0 0 0" global_color="false" />        
494                                                         <view type="bitmap" id="bottom" posparent="parent" posref="BL BL" sizeparent="parent" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="2" scale="true" color="255 0 0 255" global_color="false" />                                          
495                                                         <view type="bitmap" id="top" posref="TL TL" x="6" sizeref="w" w="-12" h="6" texture="r2ed_island_border_select.tga" rot="0" scale="true" color="255 0 0 255" global_color="false" />                    
496                                                         <view type="bitmap" id="left" posref="BL BL" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="3" scale="true" color="255 0 0 255" global_color="false" />
497                                                         <view type="bitmap" id="right" posref="BR BR" y="6" sizeref="h" w="6" h="-12" texture="r2ed_island_border_select.tga" rot="1" scale="true" color="255 0 0 255" global_color="false" />                  
498                                                         
499                                                         <view type="bitmap" id="island_bitmap" posref="TL TL" posparent="parent" 
500                                                          w="" h="" x="" y=""
501                                                          texture="blank.tga" scale="true" color="255 255 255 255" global_color="false" />
502                                                         
503                                                         <group id="entry_points" posparent="island_bitmap" posref="TL TL" sizeparent="parent" sizeref="wh" >                    
504                                                                 <vector template="entry_point_template" _size="10"
505                                                                  _firstpos="TL TL" _nextpos="BL TL" id="entrypoint$i" active="true"
506                                                                 />              
507                                                         </group>
508                                                         
509                                                 </group>
510                                         </group>
511                                 </group>
513                                 <group id="island_cancel_ok" x="0" y="0" w="0" sizeref="w" h="40" posref="BL BL" posparent="parent" >
515                                         <view type="text" render_layer="2" id="ring_level" auto_clamp="true" posref="TL TL" x="10" y="-15" posparent="parent" 
516                                          global_color="false" hardtext="RING LEVEL" over_extend_view_text="true" over_extend_parent_rect="true"/>
518                                         <ctrl style="style_ok_act" id="island_ok" active="false" posparent="parent" posref="BR BR" x="0" y="10" hardtext="uiR2EDEnterMap"
519                                          color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
520                                          wmin="50" onclick_l="lua" params_l="r2.acts:openLocationName()" />
522                                         <ctrl style="style_ok_act" id="island_precedent" active="false" posparent="island_ok" posref="BL BR" x="-10" y="0" hardtext="uiR2EDBack"
523                                          color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
524                                          wmin="50" onclick_l="lua" params_l="r2.acts:backPreviousLocations()" />
526                                         <ctrl style="style_ok_act" id="island_cancel" active="false" posparent="island_precedent" posref="BL BR" x="-10" y="0" hardtext="uiR2EDCancelForm"
527                                          color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
528                                          wmin="50" onclick_l="lua" params_l="r2.acts:cancelActCreation()" />
530                                 </group>
532                         </group>
534                         <!-- SEASONS -->
535                         <group id="island_season" x="10" y="-218" w="170" sizeref="h" h="-258" posref="TL TL" >
537                                 <ctrl type="text_button" button_type="toggle_button" id="season_title" x="0" y="0" posref="TL TL" 
538                                  text_y="0" hardtext="uiR2EDSeason" wmin="170" 
539                                  tx_normal="Quit_button_normal" tx_pushed="Quit_button_normal" tx_over="Quit_button_normal"
540                                  fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" global_color="false" force_text_over="true"
541                                  global_color_normal="false" global_color_over="false" global_color_pushed="false" 
542                                  text_color_normal="255 255 255 255" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255"
543                                  color="255 0 0 255" col_over="255 0 0 255" col_pushed="255 0 0 255"
544                                  tooltip="uiR2EDTooltipSeason"
545                                 />
547                                 <group id="season_gr" x="0" y="-23" sizeref="wh" w="0" h="-23" posref="TL TL" >
548                                         
549                                         <instance template="inner_thin_border_group" /> 
550                                         
551                                         <view type="bitmap" id="sep_top" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="w" w="0" h="3" 
552                                          scale="true" texture="blank.tga" color="100 0 0 255" />
553                                         <view type="bitmap" id="sep_left" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="h" h="0" w="3" 
554                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
555                                         <view type="bitmap" id="sep_right" posparent="parent" posref="TR TR" sizeparent="parent" sizeref="h" h="0" w="3" 
556                                          y="0" x="0" scale="true" texture="blank.tga" color="100 0 0 255" />
557                                         <view type="bitmap" id="sep_bottom" posparent="parent" posref="BL BL" sizeparent="parent" sizeref="w" w="0" h="3" 
558                                          y="0" scale="true" texture="blank.tga" color="100 0 0 255" />
559                                         <view type="bitmap" id="back" posparent="parent" posref="TL TL" sizeparent="parent" sizeref="wh" w="0" h="0" 
560                                          y="0" scale="true" texture="blank.tga" color="100 0 0 120" />
562                                         <instance template="label_toggle_button" id="manual_season_2" posparent="parent" 
563                                          x="30" y="-30" posref="TL TL" w="150" hardtext="uiR2EDManualSeason" fontsize="12" y_text="-5" params_l="r2.acts:manualSeason()"/>      
565                                         <group id="season_list_2" type="list" posparent="manual_season_2" posref="BL TL" x="10" y="-30" 
566                                          sizeparent="parent" sizeref="wh" w="0" h="0" >
568                                                 <instance template="act_button_template" id="Spring" sizeref="" h="90" w="80" 
569                                                  x="10" y="-10" posparent="parent" posref="TL TL" tooltip="uiR2EDSpring"
570                                                  h_button="-10" w_button="0" x_button="0" y_button="0" 
571                                                  h_button_texture="68" w_button_texture="68" 
572                                                  x_button_texture="6" y_button_texture="-6" icon="r2ed_spring.tga" 
573                                                  scale="true" color="254 254 95 255" back_color="254 254 95 255" selected_color="255 255 0 255" col_over="255 255 0 255" 
574                                                  group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" 
575                                                  over_active="false" />
576                                                  
577                                                 <instance template="act_button_template" id="Summer" sizeref="" h="90" w="80" 
578                                                  x="0" y="-15" posparent="Spring" posref="BL TL" tooltip="uiR2EDSummer"
579                                                  h_button="-10" w_button="0" x_button="0" y_button="0" 
580                                                  h_button_texture="68" w_button_texture="68" 
581                                                  x_button_texture="6" y_button_texture="-6" icon="r2ed_summer.tga" 
582                                                  scale="true" color="13 92 3 255" back_color="13 92 3 255" selected_color="106 250 94 255" col_over="13 92 3 100" 
583                                                  group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" 
584                                                  over_active="false" />
585                                                  
586                                                 <instance template="act_button_template" id="Autumn" sizeref="" h="90" w="80" 
587                                                  x="0" y="-15" posparent="Summer" posref="BL TL" tooltip="uiR2EDAutumn"
588                                                  h_button="-10" w_button="0" x_button="0" y_button="0" 
589                                                  h_button_texture="68" w_button_texture="68" 
590                                                  x_button_texture="6" y_button_texture="-6" icon="r2ed_fall.tga" 
591                                                  scale="true" color="255 60 20 255" back_color="255 60 20 255" selected_color="250 50 25 255" col_over="255 60 20 100" 
592                                                  group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" 
593                                                  over_active="false" />
594                                                  
595                                                 <instance template="act_button_template" id="Winter" sizeref="" h="80" w="80" 
596                                                  x="0" y="-15" posparent="Autumn" posref="BL TL" tooltip="uiR2EDWinter"
597                                                  h_button="0" w_button="0" x_button="0" y_button="0" 
598                                                  h_button_texture="68" w_button_texture="68" 
599                                                  x_button_texture="6" y_button_texture="-6" icon="r2ed_winter.tga" 
600                                                  scale="true" color="0 6 114 255" back_color="0 6 114 255" selected_color="25 107 250 255" col_over="0 6 114 100" 
601                                                  group_params_l="r2.acts:locationSeason(getUICaller())" params_l="r2.acts:locationSeason()" 
602                                                  over_active="false" /> 
603                                                 
604                                         </group>
605                                 </group>
606                         </group>
607                 </group>
608         </group>
609 </group>
611 <!-- ********************************* scenario/act names ********************** -->
612 <group type="modal" id="r2ed_choose_scenario_act_name" exit_click_out="false" posref="ML ML" x="0" y="0" 
613  w="350" child_resize_h="true" child_resize_hmargin="15" on_enter="lua" on_enter_params="r2.acts:chooseScenarioActName()"
614  options="skin_modal">
615         
616         <group id="scenario_name" x="20" y="0" sizeref="w" w="-10" h="60" posparent="parent" posref="TL TL" >
617                 
618                 <!-- label -->
619                 <group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >            
620                         <view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" 
621                          global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDScenarioName" />
622                 </group>
624                 <!-- edit box -->
625                 <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-30"
626                  posparent="label" posref="BL TL" x="0" y="-6" h="20"
627                  max_num_chars="30" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" 
628                  onenter="lua" params="r2.acts:chooseScenarioActName()" >
629                                                                         
630                         <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
631                         <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" 
632                          fontsize="12" shadow="true" hardtext="" global_color="false"/>
633                 </group>
635         </group>
637         <group id="act_name" x="0" y="0" sizeparent="parent" sizeref="w" w="-40" h="60" posparent="scenario_name" posref="BL TL" >
638                 
639                 <!-- label -->
640                 <group id="label" sizeref="w" w="0" h="12" x="0" y="-20" posref="TL TL" posparent="parent" >            
641                         <view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" 
642                          global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDActName" />
643                 </group>
645                 <!-- edit box -->
646                 <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="0"
647                  posparent="label" posref="BL TL" x="0" y="-6" h="20"
648                  max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" 
649                  onenter="lua" params="r2.acts:chooseScenarioActName()" >
650                                                                         
651                         <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
652                         <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" 
653                          fontsize="12" shadow="true" hardtext="" global_color="false"/>
654                 </group>
656         </group>
658         <ctrl style="style_ok_act" id="name_ok" active="true" posparent="act_name" posref="BR TR" x="0" y="-10" 
659          hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
660          wmin="50" onclick_l="lua" params_l="r2.acts:chooseScenarioActName()" />
661 </group>
664 <!-- ********************************* location name ************************* -->
665 <group type="modal" id="r2ed_choose_location_name" exit_click_out="false" posref="ML ML" x="0" y="0" w="350" h="85" 
666  options="skin_modal" on_enter="lua" on_enter_params="r2.acts:chooseLocationName()" >
667         
668         <group id="name_group" x="20" y="-20" sizeref="wh" w="-40" h="-40" posparent="parent" posref="TL TL" >
669                 
670                 <!-- label -->
671                 <group id="label" sizeref="w" w="0" h="12" x="0" y="0" posref="TL TL" posparent="parent" >              
672                         <view type="text" id="name_text" posref="TL TL" x="2" y="0" color="255 255 255 255" 
673                          global_color="true" fontsize="12" shadow="true" hardtext="uiR2EDLocationName" />
674                 </group>
676                 <!-- edit box -->
677                 <group type="edit_box" id="edit_box_group" sizeparent="parent" sizeref="w" w="-70"
678                  posparent="label" posref="BL TL" x="0" y="-6" h="20"
679                  max_num_chars="50" prompt="" entry_type="text" reset_focus_on_hide="true" menu_r="" 
680                  onenter="lua" params="r2.acts:chooseLocationName()" >
681                                                                         
682                         <instance template="box_widget" id="back_edit_box" posref="TL TL" sizeref="w" h="20" />
683                         <view type="text" id="edit_text" x="4" y="-5" posref="TL TL" multi_line="false" 
684                          fontsize="12" shadow="true" hardtext="" global_color="false"/>
685                 </group>
687                 <ctrl style="style_ok_act" id="name_ok" active="true" posparent="edit_box_group" posref="BR BL" x="20" y="0" 
688                  hardtext="uiR2EDValidateForm" color="255 0 0 255" col_over="255 100 0 255" col_pushed="255 255 255 255"
689                  wmin="50" onclick_l="lua" params_l="r2.acts:chooseLocationName()" />
690         </group>
691 </group>
694 <tree node="r2ed_acts">
695 </tree>
697 </interface_config>