Fix
[ryzomcore.git] / ryzom / client / data / gamedev / interfaces_v3 / ryzhome_toolbar.xml
blobc70f3712d8547ee32204a271da4bd9d0350ad1ad
1 <interface_config>
2 <root id="interface" x="0" y="0" w="800" h="600" active="true" />
4  <lua file="ryzhome_toolbar.lua" />
6  <style style="button_over"
7         type="button"
8         id="button_over"
9         button_type="push_button"
10         posref="TR TR"
11         x="0"
12         y="0"
13         h="39"
14         w="44"
15         scale="true"
16         tx_over="W_button_32_over.tga"
17         global_color_normal="false"
18         global_color_pushed="false" />
20 <group type="container"
21         id="webig_ryzhome_toolbar"
22         x="0" y="0" w="200" h="56" posref="MM MM"
23         max_w="1600" pop_max_w="1600"
24         max_h="1600" pop_max_h="1600"
25         min_w="26" pop_min_w="26"
26         min_h="26" pop_min_h="26"
27         title=""
28         global_color="true"
29         global_color_over="true"
30         header_active="false"
31         right_button="false"
32         options="layer0_pad"
33         movable="true"
34         active="true"
35         opened="true"
36         openable="false"
37         resizer="false">
39         <group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
40         <group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
42         <group id="content" x="0#" y="0#" w="200" h="56" posref="TL TL">
44                 <view id="action_title"
45                         type="text"
46                         posref="TL TL"
47                         x="2"
48                         y="-2"
49                         color="255 255 255 255"
50                         fontsize="12"
51                         shadow="true"
52                         global_color="false"
53                         hardtext="Ryzhome" />
55                 <ctrl id="close"
56                         type="button"
57                         style="button_close"
58                         button_type="push_button"
59                         posref="TR TR"
60                         x="1"
61                         y="1"
62                         tx_normal="w_win_close.tga"
63                         tx_pushed="w_win_close.tga"
64                         tooltip="uiNoteClose"
65                         onclick_l="lua"
66                         params_l="RyzhomeBar:close()"/>
68                 <ctrl id="config"
69                         type="button"
70                         style="button_close"
71                         button_type="push_button"
72                         posref="TL TR"
73                         posparent="close"
74                         x="-2"
75                         y="-1"
76                         tx_normal="r2ed_permanent_pins.tga"
77                         tx_pushed="r2ed_permanent_pins.tga"
78                         tooltip="uiCreateUserLM"
79                         onclick_l="lua"
80                         params_l="RyzhomeBar:saveConfig()"/>
82                 <ctrl id="add"
83                         type="button"
84                         style="button_over"
85                         button_type="toggle_button"
86                         posref="BL BL"
87                         x="3"
88                         y="0"
89                         tx_normal="ryzhome_add_item.png"
90                         tx_pushed="ryzhome_add_item.png"
91                         tx_over="W_button_32_over.tga"
92                         tooltip="uiPeopleAdd"
93                         onclick_l="lua"
94                         params_l="RyzhomeBar:addItems()"/>
96                 <view id="new_items_quantity"
97                         type="text"
98                         posref="BL BL"
99                         posparent="add"
100                         x="-1"
101                         y="-1"
102                         color="255 200 0 255"
103                         global_color="false"
104                         fontsize="16"
105                         shadow="true"
106                         hardtext="" />
108                 <ctrl id="move"
109                         type="button"
110                         style="button_over"
111                         button_type="toggle_button"
112                         posref="BR BL"
113                         posparent="add"
114                         x="3"
115                         y="0"
116                         tx_normal="ryzhome_move_item.png"
117                         tx_pushed="ryzhome_move_item.png"
118                         tx_over="W_button_32_over.tga"
119                         tooltip="uimMoveTo"
120                         onclick_l="lua"
121                         params_l="RyzhomeBar:moveItems()"/>
123                 <ctrl id="remove"
124                         type="button"
125                         style="button_over"
126                         posref="BR BL"
127                         posparent="move"
128                         x="3"
129                         tx_normal="ryzhome_remove_item.png"
130                         tx_pushed="ryzhome_remove_item.png"
131                         tx_over="W_button_32_over.tga"
132                         tooltip="uimRemove"
133                         onclick_l="lua"
134                         params_l="RyzhomeBar:removeItems()"/>
136                 <ctrl id="invite"
137                         type="button"
138                         style="button_over"
139                         posref="BR BL"
140                         posparent="remove"
141                         x="3"
142                         tx_normal="ryzhome_invite.png"
143                         tx_pushed="ryzhome_invite.png"
144                         tx_over="W_button_32_over.tga"
145                         tooltip="uiRAP_Invite"
146                         onclick_l="lua"
147                         params_l="RyzhomeBar:inviteFriend()"/>
149         </group>
150 </group>
152 <tree node="webig_ryzhome_toolbar"></tree>
155 <style style="button_over"
156         id="over"
157         posref="TL TL"
158         render_layer="-1"
159         y="1" w="600" h="44" scale="true"
160         button_type="push_button"
161         tx_normal="blank.tga"
162         tx_pushed="blank.tga"
163         tx_over="blank.tga"
164         color="255 255 255 0"
165         col_over="255 255 255 64"
166         col_pushed="255 255 255 128"
167         global_color_over="false" />
169 <group id="webig_ryzhome_list_item"
170         style="bot_chat_window"
171         posref="MM MM"
172         min_w="316"
173         max_w="316"
174         max_h="420"
175         min_h="420"
176         w="316"
177         h="420"
178         x="0"
179         y="0"
180         pop_max_h="700"
181         active="false"
182         title=""
183         modal_parent="gestionsets">
185         <group id="header_opened"
186                 child_resize_hmargin="24"
187                 w="600"
188                 h="420"
189                 x="0"
190                 y="0"
191                 posref="TL TL">
193                 <view id="action_title"
194                         type="text"
195                         posref="TL TL"
196                         x="2"
197                         y="-25"
198                         color="255 255 255 255"
199                         fontsize="12"
200                         shadow="true"
201                         hardtext="uiSelectMission" />
203                 <ctrl id="page_next"
204                         type="button"
205                         posref="TR TR"
206                         x="-2"
207                         y="-20"
208                         tx_normal="W_arrow_right_0.tga"
209                         tx_pushed="W_arrow_right_0.tga"
210                         tooltip="uiKeyNEXT"
211                         onclick_l="lua"
212                         params_l="RyzhomeBar:movePage(1)" />
214                 <view id="page"
215                         type="text"
216                         posref="TL TR"
217                         posparent="page_next"
218                         x="-2"
219                         y="0"
220                         color="255 255 255 255"
221                         fontsize="12"
222                         shadow="true"
223                         hardtext="1/1" />
225                 <ctrl id="page_previous"
226                         type="button"
227                         posref="TL TR"
228                         posparent="page"
229                         x="-2"
230                         y="0"
231                         tx_normal="w_arrow_left_0.tga"
232                         tx_pushed="w_arrow_left_0.tga"
233                         tooltip="uiKeyPRIOR"
234                         onclick_l="lua"
235                         params_l="RyzhomeBar:movePage(-1)" />
237                 <group id="scroll_text"
238                         sizeref="w"
239                         posref="TL TL"
240                         w="0"
241                         y="-40"
242                         child_resize_h="false"
243                         child_resize_hmargin="8">
245                 <instance template="inner_thin_border_group" />
247                 <group id="text_list"
248                         posref="TL TL"
249                         x="12"
250                         y="-4"
251                         sizeref="w"
252                         max_h="380"
253                         child_resize_h="true" >
255                         <view type="bitmap" id="icon1" posref="TL TL" texture="r2ed_toolbar_freeze.tga" global_color="false" />
256                         <view type="text" id="text1" posref="TR TL" posparent="icon1" fontsize="10" x="5" y="-5" hardtext="" />
257                         <view type="text" id="info1" posref="BL TL" color="55 205 55 205" posparent="text1" fontsize="10" x="10" y="-5" hardtext="" />
258                         <ctrl type="button" id="but1" posparent="icon1" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(1)" onclick_l="lua" params_l="RyzhomeBar:useItem(1)" />
260                         <view type="bitmap" id="icon2" posparent="but1" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
261                         <view type="text" id="text2" posref="TR TL" posparent="icon2" fontsize="10" x="5" y="-5" hardtext="" />
262                         <view type="text" id="info2" posref="BL TL" color="55 205 55 205" posparent="text2" fontsize="10" x="10" y="-5" hardtext="" />
263                         <ctrl type="button" id="but2" posparent="icon2" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(2)" onclick_l="lua" params_l="RyzhomeBar:useItem(2)" />
265                         <view type="bitmap" id="icon3" posparent="but2" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
266                         <view type="text" id="text3" posref="TR TL" posparent="icon3" fontsize="10" x="5" y="-5" hardtext="" />
267                         <view type="text" id="info3" posref="BL TL" color="55 205 55 205" posparent="text3" fontsize="10" x="10" y="-5" hardtext="" />
268                         <ctrl type="button" id="but3" posparent="icon3" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(3)" onclick_l="lua" params_l="RyzhomeBar:useItem(3)" />
270                         <view type="bitmap" id="icon4" posparent="but3" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
271                         <view type="text" id="text4" posref="TR TL" posparent="icon4" fontsize="10" x="5" y="-5" hardtext="" />
272                         <view type="text" id="info4" posref="BL TL" color="55 205 55 205" posparent="text4" fontsize="10" x="10" y="-5" hardtext="" />
273                         <ctrl type="button" id="but4" posparent="icon4" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(4)" onclick_l="lua" params_l="RyzhomeBar:useItem(4)" />
275                         <view type="bitmap" id="icon5" posparent="but4" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
276                         <view type="text" id="text5" posref="TR TL" posparent="icon5" fontsize="10" x="5" y="-5" hardtext="" />
277                         <view type="text" id="info5" posref="BL TL" color="55 205 55 205" posparent="text5" fontsize="10" x="10" y="-5" hardtext="" />
278                         <ctrl type="button" id="but5" posparent="icon5" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(5)" onclick_l="lua" params_l="RyzhomeBar:useItem(5)" />
280                         <view type="bitmap" id="icon6" posparent="but5" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
281                         <view type="text" id="text6" posref="TR TL" posparent="icon6" fontsize="10" x="5" y="-5" hardtext="" />
282                         <view type="text" id="info6" posref="BL TL" color="55 205 55 205" posparent="text6" fontsize="10" x="10" y="-5" hardtext="" />
283                         <ctrl type="button" id="but6" posparent="icon6" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(6)" onclick_l="lua" params_l="RyzhomeBar:useItem(6)" />
285                         <view type="bitmap" id="icon7" posparent="but6" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
286                         <view type="text" id="text7" posref="TR TL" posparent="icon7" fontsize="10" x="5" y="-5" hardtext="" />
287                         <view type="text" id="info7" posref="BL TL" color="55 205 55 205" posparent="text7" fontsize="10" x="10" y="-5" hardtext="" />
288                         <ctrl type="button" id="but7" posparent="icon7" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(7)" onclick_l="lua" params_l="RyzhomeBar:useItem(7)" />
290                         <view type="bitmap" id="icon8" posparent="but7" posref="BL TL" y="-4" texture="r2ed_toolbar_freeze.tga" global_color="false" />
291                         <view type="text" id="text8" posref="TR TL" posparent="icon8" fontsize="10" x="5" y="-5" hardtext="" />
292                         <view type="text" id="info8" posref="BL TL" color="55 205 55 205" posparent="text8" fontsize="10" x="10" y="-5" hardtext="" />
293                         <ctrl type="button" id="but8" posparent="icon8" style="button_over" onover="lua" params_over="RyzhomeBar:highlightItem(8)" onclick_l="lua" params_l="RyzhomeBar:useItem(8)" />
296                 </group>
298                 <ctrl style="skin_scroll"
299                         id="scroll_row"
300                         posref="TL TL"
301                         target_stepy="44"
302                         target="text_list" />
304                 <group id="list"
305                         max_sizeref="h"
306                         max_sizeparent="parent"
307                         max_h="0"
308                         sizeref="w"
309                         posref="TL TL"
310                         x="8"
311                         y="0"
312                         w="-16" />
313                 </group>
314         </group>
315 </group>
317 <tree node="webig_ryzhome_list_item"></tree>
319 <template name="t_webig_ryzhome_button">
320         <ctrl type="button"
321                   button_type="push_button"
322                   id="#id"
323                   posref="TL TL"
324                   x="#x"
325                   y="#y"
326                   tx_normal="#tx_normal"
327                   global_color="false"
328                   tooltip="#tooltip"
329                   onclick_l="lua"
330                   params_l="#params_l"/>
331         <view type="bitmap"
332                   id="i_#id"
333                   posref="TL TL"
334                   x="#x"
335                   y="#y"
336                   rot="#rot"
337                   texture="#texture"
338                   global_color="false"/>
339 </template>
341 <group type="container"
342        id="webig_ryzhome_place_item"
343        x="0" y="0" w="200" h="140" posref="TL TL"
344        title=""
345        global_color="true"
346        global_color_over="true"
347        header_active="false"
348        right_button="false"
349        options="layer0_pad"
350        movable="true"
351        active="true"
352        opened="true"
353        openable="false"
354        resizer="false">
356     <group id="header_closed" x="0" y="0" w="0" h="0" posref="TL TL"></group>
357     <group id="header_opened" x="0" y="0" w="0" h="0" wmin="5" sizeref="w" posref="TL TL"></group>
359     <group id="content" x="0" y="0" w="400" h="140" posref="TL TL">
360                 <view type="text"
361                         id="item"
362                         posref="TL TL"
363                         x="2"
364                         y="-4"
365                         color="255 255 255 255"
366                         shadow="true"
367                         global_color="false"
368                         fontsize="10"
369                         hardtext="" />
371                 <ctrl style="text_button_16"
372                         id="quit"
373                         posref="TR TR"
374                         x="-2"
375                         y="-2"
376                         hardtext="uiClose"
377                         onclick_l="lua"
378                         params_l="RyzhomePlace:close()" />
380                 <group id="movers" x="0" y="-4" w="182" h="140" posref="MM MM">
381                         <instance template="t_webig_ryzhome_button" id="previous_x2" rot="2" x="2" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.1, 0, 0)"  />
382                         <instance template="t_webig_ryzhome_button" id="previous_x" rot="2" x="32" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(-0.01, 0, 0)" />
383                         <view type="text" id="x" posref="TL TL" x="76" y="-20" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe X" />
384                         <instance template="t_webig_ryzhome_button" id="next_x" rot="0" x="130" y="-16" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.01, 0, 0)"     />
385                         <instance template="t_webig_ryzhome_button" id="next_x2" rot="0" x="160" y="-16" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0.1, 0, 0)"     />
387                         <instance template="t_webig_ryzhome_button" id="previous_y2" rot="2" x="2" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.1, 0)"  />
388                         <instance template="t_webig_ryzhome_button" id="previous_y" rot="2" x="32" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, -0.01, 0)" />
389                         <view type="text" id="y" posref="TL TL" x="76" y="-38" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Y" />
390                         <instance template="t_webig_ryzhome_button" id="next_y" rot="0" x="130" y="-34" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.01, 0)"     />
391                         <instance template="t_webig_ryzhome_button" id="next_y2" rot="0" x="160" y="-34" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0.1, 0)"     />
393                         <instance template="t_webig_ryzhome_button" id="previous_z2" rot="2" x="2" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.1, 0)"       />
394                         <instance template="t_webig_ryzhome_button" id="previous_z" rot="2" x="32" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, -0.01, 0)"      />
395                         <view type="text" id="z"  posref="TL TL"        x="76" y="-58" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Axe Z" />
396                         <instance template="t_webig_ryzhome_button" id="next_z" rot="0" x="130" y="-52" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.01, 0)"  />
397                         <instance template="t_webig_ryzhome_button" id="next_z2" rot="0" x="160" y="-52" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:move(0, 0, 0.1, 0)"  />
399                         <instance template="t_webig_ryzhome_button" id="previous_a2" rot="2" x="2" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.1)" />
400                         <instance template="t_webig_ryzhome_button" id="previous_a" rot="2" x="32" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(-0.01)"        />
401                         <view type="text" id="a"  posref="TL TL"        x="76" y="-76" color="255 255 255 255" shadow="true" global_color="false" fontsize="10" hardtext="Angle" />
402                         <instance template="t_webig_ryzhome_button" id="next_a" rot="0" x="130" y="-70" tooltip="ll" texture="mp3_button_play.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.01)"    />
403                         <instance template="t_webig_ryzhome_button" id="next_a2" rot="0" x="160" y="-70" tooltip="ll" texture="mp3_button_next.tga" tx_normal="mp3_button_play.tga" params_l="RyzhomePlace:rot(0.1)"    />
404                 </group>
406                 <ctrl style="text_button_16"
407                         id="validate"
408                         posref="BR BR"
409                         x="-2"
410                         y="2"
411                         hardtext="reset"
412                         onclick_l="lua"
413                         params_l="RyzhomePlace:apply()" />
415                 <ctrl style="text_button_16"
416                         id="reset"
417                         posref="ML MR"
418                         posparent="validate"
419                         x="-2"
420                         y="0"
421                         hardtext="reset"
422                         onclick_l="lua"
423                         params_l="RyzhomePlace:reset()" />
424         </group>
425 </group>
427 <tree node="webig_ryzhome_place_item"></tree>
429 </interface_config>