Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / ryzom / client / mods / syui_v3 / syui / guild.xml
blob54003827a22c015fa149e0c5857a55e76cf268c4
1 <interface_config>
2   <root id="interface"
3         x="0"
4         y="0"
5         w="800"
6         h="600"
7         active="true" />
8   <variable entry="UI:TEMP:GUILD_SHEET:ICON"
9             type="sint64"
10             value="1" />
11   <variable entry="UI:TEMP:GUILD_SHEET:NAME"
12             type="sint64"
13             value="1" />
14   <!-- Variable to store the guild symbol and name for each entity in game -->
15   <variable entry="UI:ENTITY:GUILD:$i:ICON"
16             type="sint64"
17             value="0"
18             size="256" />
19   <variable entry="UI:ENTITY:GUILD:$i:NAME"
20             type="sint64"
21             value="0"
22             size="256" />
23   <proc id="guild_proc_active">
24     <action handler="set"
25             params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=1" />
26     <action handler="guild_sheet_open"
27             params="update_members=1" />
28     <action handler="set"
29             cond="not(%is_guild_present)"
30             params="target='ui:interface:guild:active'|value=0" />
31   </proc>
32   <proc id="guild_proc_deactive">
33     <action handler="set"
34             params="dblink=UI:VARIABLES:ISACTIVE:GUILD|value=0" />
35   </proc>
36   <proc id="guild_tell_member_proc">
37     <action handler="guild_tell_member"
38             params="" />
39   </proc>
40   <!-- ******************* -->
41   <!-- * TEMPLATE MEMBER * -->
42   <!-- ******************* -->
43   <group type="menu"
44          id="menu_member"
45          extends="base_menu"
46          on_active="guild_member_menu_open">
47     <action id="sort" name="uimSort" handler="sort_guild_list" params="" />
48         <separator />
49     <action id="lead"
50             name="uimGuildLeader"
51             handler="guild_member_chg_to_leader" />
52     <action id="hiof"
53             name="uimGuildHighOfficer"
54             handler="guild_member_chg_to_high_officer" />
55     <action id="offi"
56             name="uimGuildOfficer"
57             handler="guild_member_chg_to_officer" />
58     <action id="memb"
59             name="uimGuildMember"
60             handler="guild_member_chg_to_member" />
61     <action id="kick"
62             name="uimGuildKick"
63             handler="guild_member_kick" />
64   </group>
65   <!--
66         <action id="recr" name="uimGuildRecruiter"              handler="guild_member_chg_to_recruiter" />
67         <action id="bear" name="uimGuildBearer"                 handler="guild_member_chg_to_bearer" />
68 -->
69   <template name="member_template"
70             keep="true"
71             posparent="parent"
72             posref="TL TL"
73             h="16"
74             id="">
75     <group type="container"
76            id="#id"
77            w="294"
78            h="#h"
79                    y="2"
80            posparent="#posparent"
81            posref="#posref"
82                    openable="false"
83            popable="false"
84            open_when_popup="true"
85                    group_onclick_l="proc"
86            group_params_l="guild_tell_member_proc"
87            group_onclick_r="active_menu"
88            group_params_r="menu=ui:interface:menu_member">
89       <view type="text"
90             id="name"
91             x="4"
92             y="2"
93             fontsize="10"
94             shadow="true"
95                         hardtext="nil"
96             case_mode="%case_first_word_letter_up" />
97           <view type="text"
98             id="grade"
99             x="142"
100             y="2"
101             fontsize="10"
102             shadow="true" />
103       <view type="bitmap"
104             id="online"
105             x="-6"
106             y="0"
107             posref="MR MR"
108             texture="w_online.tga"
109             global_color="false" />
110           <!-- add team invite button -->
111           <ctrl type="button"
112             id="invite_button"
113             button_type="push_button"
114             posref="MR MR"
115             x="-22"
116             tx_normal=""
117             tx_pushed="invt.tga"
118             tx_over="invto.tga"
119             global_color_normal="false"
120             global_color_over="false"
121             global_color_pushed="false"
122             onclick_l="lua:game:teamInviteFromGuild('#id')"
123             tooltip="uimGcmInvit"
124             tooltip_parent="win" />
125       <ctrl type="tooltip"
126             id="tt_online"
127             posparent="online"
128             posref="MR MR"
129             x="0"
130             y="0"
131             sizeref="wh"
132             w="0"
133             h="0"
134             tooltip="uittFriendsOnline"
135             tooltip_parent="win" />
136     </group>
137   </template>
138   <!-- **************** -->
139   <!-- *  GUILD MAIN  * -->
140   <!-- **************** -->
141   <group type="container"
142          id="guild"
143          title="uiGuildTitle"
144          w="330"
145          h="350"
146          pop_max_h="700"
147          resizer="false"
148          global_color="false"
149          header_color="UI:SAVE:WIN:COLORS:MEM"
150          openable="true"
151          opened="true"
152          movable="true"
153          active="false"
154          savable="false"
155          on_active="proc"
156          on_active_params="guild_proc_active"
157          on_deactive="proc"
158          on_deactive_params="guild_proc_deactive">
159     <group id="bstatus"
160            x="0"
161            y="0"
162            h="0"
163            value=""
164            posref="TL TL">
165            <link expr="depends(@UI:VARIABLES:PING)" action="lua" params="game:updateGLinvB()" />
166     </group>
167     <group id="header_closed"
168            x="0"
169            y="0"
170            h="12"
171            posref="TL TL"></group>
172     <group id="header_opened"
173            x="0"
174            y="0"
175            w="100"
176            h="48"
177            posref="TL TL"
178            group_onclick_r="active_menu"
179            group_params_r="menu=ui:interface:base_menu_with_color">
180       <group type="tab"
181              id="guild_select"
182              child_resize_w="true"
183              h="24"
184              posref="TL TL"
185              x="0"
186              y="-24">
187         <ctrl style="tab_button_new"
188               id="tab0"
189               x="0"
190               posref="TL TL"
191               group="content:tab_guild_i"
192               hardtext="uiGuildTabGuild"
193               onclick_r=""
194               params_r=""
195               onclick_l="set"
196               params_l="target='ui:interface:guild:w'|value=330" />
197         <ctrl style="tab_button_new"
198               id="tab1"
199               posparent="tab0"
200               group="content:tab_guild"
201               hardtext="uiGuildMembers"
202               onclick_r=""
203               params_r=""
204               onclick_l="set"
205               params_l="target='ui:interface:guild:w'|value=330" />
206         <ctrl style="tab_button_new"
207               id="tab2"
208               posparent="tab1"
209               group="content:tab_outpost"
210               hardtext="uiGuildTabOutpost"
211               onclick_r=""
212               params_r=""
213               onclick_l="set"
214               params_l="target='ui:interface:guild:w'|value=450" />
215       </group>
216       <view type="bitmap"
217             id="sep"
218             posparent="guild_select"
219             posref="BR BL"
220             sizeparent="parent"
221             sizeref="w"
222             w="0"
223             h="1"
224             scale="true"
225             texture="blank.tga"
226             color="166 166 166 255" />
227     </group>
228     <group id="content"
229            posref="TL TL"
230            x="0"
231            y="0"
232            w="0"
233            h="0"
234            child_resize_h="true"
235            child_resize_hmargin="4">
236       <group id="tab_guild_i"
237              posref="TL TL"
238              x="0"
239              y="0"
240              h="0"
241              sizeref="w"
242              w="0"
243              child_resize_h="true"
244              child_resize_hmargin="8">
245         <!-- LOGO & NAME -->
246         <ctrl type="sheet"
247               id="blason"
248               posref="TL TL"
249               x="2"
250               y="-8"
251               nature="guild_flag"
252               slot="false"
253               value="SERVER:GUILD"
254               dragable="false"
255               color="255 255 255 255" />
256         <view type="text_id"
257               id="name"
258               posparent="blason"
259               posref="TR TL"
260               x="8"
261               w="200"
262               y="-2"
263               h="20"
264               shadow="true"
265               global_color="false"
266               fontsize="16"
267               textid="SERVER:GUILD:NAME"
268               dynamic_string="false" />
269         <!-- Age / Effectif -->
270         <view type="text_number"
271               id="age"
272               posparent="blason"
273               posref="BR BL"
274               x="8"
275               y="0"
276               fontsize="10"
277               shadow="true"
278               value="SERVER:GUILD:CREATION_DATE"
279               positive="true" />
280         <view type="text"
281               id="days"
282               posparent="age"
283               posref="MR ML"
284               x="2"
285               y="0"
286               fontsize="10"
287               shadow="true"
288               hardtext="uiGuildInfoAge" />
289         <view type="text"
290               id="sep"
291               posparent="days"
292               posref="MR ML"
293               x="2"
294               y="0"
295               fontsize="10"
296               shadow="true"
297               hardtext="/" />
298         <view type="text"
299               id="member_count"
300               posparent="sep"
301               posref="MR ML"
302               x="2"
303               y="0"
304               fontsize="10"
305               shadow="true"
306               value=""
307               positive="true" />
308                 <link expr="depends(@UI:VARIABLES:PING)" action="lua" params="game:updateMemberCount()" />
309         <view type="text"
310               id="members"
311               posparent="member_count"
312               posref="MR ML"
313               x="2"
314               y="0"
315               fontsize="10"
316               shadow="true"
317               hardtext="uiGuildInfoEff" />
318         <!-- DESCRIPTION -->
319         <view type="text"
320               id="desc_title"
321               posparent="blason"
322               shadow="true"
323               posref="BL TL"
324               x="0"
325               y="-6"
326               fontsize="12"
327               hardtext="uiGuildInfoDes"
328               global_color="false"
329               case_mode="%case_upper" />
330         <view type="text_id"
331               id="desc"
332               posparent="desc_title"
333               posref="BL TL"
334               x="0"
335               y="-2"
336               shadow="true"
337               fontsize="10"
338               multi_line="true"
339               multi_line_space="0"
340               textid="SERVER:GUILD:DESCRIPTION"
341               dynamic_string="false" />
342         <!-- HEADQUARTERS -->
343         <view type="text"
344               id="head_title"
345               posparent="desc"
346               shadow="true"
347               posref="BL TL"
348               x="0"
349               y="-4"
350               fontsize="12"
351               hardtext="uiGuildInfoHead"
352               global_color="false"
353               case_mode="%case_upper" />
354         <view type="text_id"
355               id="head"
356               posparent="head_title"
357               posref="MR ML"
358               x="0"
359               y="-1"
360               fontsize="10"
361               shadow="true"
362               hardtext="uiGuildInfoHead2"
363               textid="SERVER:GUILD:VILLAGE"
364               dynamic_string="true" />
365         <!--
366                 <view type="text" id="fame_title" posparent="head_title" shadow="true" posref="BL TL" x="0" y="-2" fontsize="12" hardtext="uiGuildInfoFame" global_color="false" case_mode="%case_upper" />
367                 <view type="text_number" id="fame" posparent="fame_title" posref="MR ML" x="0" y="-1" fontsize="10" shadow="true" value="SERVER:GUILD:FAME" positive="false" />
369         <!-- XP Score -->
370         <view type="text"
371               id="XP_title"
372               posparent="head_title"
373               shadow="true"
374               posref="BL TL"
375               x="0"
376               y="-2"
377               fontsize="12"
378               hardtext="uiGuildInfoScore"
379               global_color="false"
380               case_mode="%case_upper" />
381         <view type="text_number"
382               id="xp"
383               posparent="XP_title"
384               posref="MR ML"
385               x="0"
386               y="-1"
387               fontsize="10"
388               shadow="true"
389               value="SERVER:GUILD:XP"
390               positive="true" />
391         <!-- Money -->
392         <instance template="argent"
393                   id="money"
394                   tooltip="uittGuildMoney"
395                   posparent="XP_title"
396                   posref="BL TL"
397                   x="0"
398                   y="-4"
399                   w="130"
400                   h="16"
401                   value="SERVER:GUILD:INVENTORY:MONEY" />
402         <!-- QUIT GUILD BUTTON -->
403         <ctrl style="text_button_16"
404               id="quit_guild"
405               posparent="money"
406               posref="BR TR"
407               x="178"
408               y="-6"
409               hardtext="uiQuitGuild"
410               color="255 255 255 255"
411               col_over="255 255 255 255"
412               col_pushed="255 255 255 255"
413               global_color_normal="true"
414               global_color_over="true"
415               global_color_pushed="true"
416               onclick_l="context_quit_guild"
417               params_l="" />
418                 <!-- invite to guild button -->
419                 <ctrl style="text_button_16"
420               id="invite"
421                           active="false"
422                           posparent="money"
423               posref="BR TR"
424               x="96"
425               y="-6"
426               hardtext="uiInviteToRingSession"
427                           color="255 255 255 255"
428               col_over="255 255 255 255"
429               col_pushed="255 255 255 255"
430               global_color_normal="true"
431               global_color_over="true"
432               global_color_pushed="true"
433               onclick_l="add_contact_begin"
434               params_l="group=ui:interface:add_guild" />
435           </group>
436           <group id="tab_guild"
437              posref="TL TL"
438              x="0"
439              y="0"
440              h="0"
441              sizeref="w"
442              w="0"
443              child_resize_h="true"
444              child_resize_hmargin="8">
445                 <!-- LOGO & NAME -->
446         <ctrl type="sheet"
447               id="blason"
448               posref="TL TL"
449               x="-50"
450               y="-8"
451               nature="guild_flag"
452               slot="false"
453               value="SERVER:GUILD"
454               dragable="false"
455               color="255 255 255 0" />
456         
457         <!-- MEMBERS LIST -->
458         <group id="list_member"
459                posref="TL TL"
460                            posparent="blason"
461                x="50"
462                y="0"
463                sizeparent="parent"
464                sizeref="w"
465                w="-10"
466                h="390">
467           <view type="text"
468                 id="title"
469                 posref="TL TL"
470                 x="15"
471                 y="-8"
472                 fontsize="10"
473                 shadow="true"
474                 global_color="false"
475                 hardtext="uiGuildMembers" />
476           <view type="text"
477                 id="rank"
478                 posref="TL TL"
479                 x="154"
480                 y="-8"
481                 fontsize="10"
482                 shadow="true"
483                 global_color="false"
484                 hardtext="uiGuildMemberRank" />
485           <view type="text"
486                 id="online"
487                 posref="TR TR"
488                 x="-10"
489                 y="-8"
490                 fontsize="10"
491                 shadow="true"
492                 global_color="false"
493                 hardtext="uiGuildMemberOnline" />
494           <group type="list"
495                  id="guild_members"
496                  posref="TL TL"
497                  x="12"
498                  y="-24"
499                  sizeref="h"
500                  h="-30"
501                  w="310"
502                  over="true"
503                  child_resize_hmargin="2"></group>
504           <ctrl style="skin_scroll"
505                 id="scroll_bar_guild"
506                 posref="TL TL"
507                 x="0"
508                 y="-24"
509                 target="guild_members"
510                 target_stepy="16" />
511           <group id="black"
512                  posref="TL TL"
513                  sizeparent="guild_members"
514                  x="0"
515                  y="2"
516                  sizeref="w"
517                  w="0"
518                  h="363"
519                  posparent="guild_members"
520                  inherit_gc_alpha="true" />
521           <instance template="inner_thin_border"
522                     posparent="black"
523                                         color="255 255 255 20"
524                     inherit_gc_alpha="true" />
525             </group>
526           </group>
527       <group id="tab_outpost"
528              posref="TL TL"
529              x="0"
530              y="0"
531              h="0"
532              sizeref="w"
533              w="0"
534              child_resize_h="true"
535              child_resize_hmargin="0">
536         <instance template="t_outpost_manager"
537                   id="outpost_manager" />
538       </group>
539     </group>
540   </group>
541   <tree node="guild" />
542   <!-- add a player to guild -->
543   <group type="modal"
544          id="add_guild"
545          exit_click_out="true"
546          posref="MM MR"
547          w="212"
548          child_resize_h="true"
549          child_resize_hmargin="14"
550          options="skin_modal"
551          on_active="set_keyboard_focus"
552          on_active_params="target=ui:interface:add_guild:add_contact_eb:eb|select_all=false">
553     <view type="text"
554           id="text"
555           case_mode="%case_first_word_letter_up"
556           posref="TL TL"
557           x="8"
558           y="-8"
559           color="255 255 255 255"
560           global_color="false"
561           fontsize="12"
562           shadow="true"
563           hardtext="uimGcmGuildInvit" />
564     <instance template="edit_box_widget"
565               id="add_contact_eb"
566               posref="TL TL"
567               x="6"
568               y="-24"
569               child_resize_h="true"
570               w="200"
571               onenter="lua:game:invToGuild()"
572               max_num_chars="255"
573               entry_type="playername" />
574     <instance template="button_ok_cancel"
575               posparent="add_contact_eb"
576               posref="BR TR"
577               x="0"
578               y="-2"
579               onclick_ok="lua"
580               onclick_ok_param="game:invToGuild()"
581               onclick_cancel="leave_modal"
582               onclick_cancel_param="" />
583   </group>
584   
585   
586   <!-- ***************** -->
587   <!-- *  GUILD FORUM  * -->
588   <!-- ***************** -->
590   <group type="container"
591          id="guild_forum"
592          w="480"
593          h="400"
594          title=""
595          global_color="false"
596          open_button="false"
597          force_open_out="true"
598          header_color="UI:SAVE:WIN:COLORS:MEM"
599          resizer="true"
600          pop_min_w="220"
601          pop_min_h="96"
602          pop_max_w="2000"
603          pop_max_h="1600"
604          title_bar_open="false"
605          lockable="true"
606          openable="false"
607          opened="true"
608          movable="true"
609          active="true"
610          on_active="proc"
611          on_active_params="guild_forum_proc_active"
612          on_deactive="proc"
613          on_deactive_params="guild_forum_proc_deactive">
614     <group id="header_closed"
615            x="0"
616            y="0"
617            h="12"
618            posref="TL TL"
619            group_onclick_r="active_menu"
620            group_params_r="menu=ui:interface:base_menu_with_color">
621            </group>
622     <group id="header_opened"
623            x="0"
624            y="0"
625            w="480"
626            h="13"
627            posref="TL TL"
628            group_onclick_r="active_menu"
629            group_params_r="menu=ui:interface:guild_forum_menu">
630            </group>
631     <group id="content"
632            x="0"
633            y="0"
634            w="0"
635            h="0"
636            posref="TL TL">
637       <group type="html"
638              id="html"
639              posref="TL TL"
640              url="home"
641              title_prefix="uiGuildForumTitle"
642              sizeref="wh"
643              x="0"
644              y="0"
645              w="0"
646              h="0"
647              background_color="0 0 0 255"
648              error_color="255 240 48 255"
649              link_color="240 155 100 255"
650              text_color="210 210 210 255"
651              h1_color="255 255 255 255"
652              h2_color="255 255 255 255"
653              h3_color="255 255 255 255"
654              h4_color="255 255 255 255"
655              h5_color="255 255 255 255"
656              h6_color="255 255 255 255"
657              text_font_size="10"
658              h1_font_size="20"
659              h2_font_size="18"
660              h3_font_size="16"
661              h4_font_size="14"
662              h5_font_size="12"
663              h6_font_size="12"
664              paragraph_begin_space="12"
665              multi_line_space_factor="0.25"
666              td_begin_space="0"
667              li_begin_space="4"
668              ul_begin_space="12"
669              li_indent="-10"
670              ul_indent="30"
671              checkbox_bitmap_normal="w_slot_on.tga"
672              checkbox_bitmap_pushed="w_opacity_on.tga"
673              checkbox_bitmap_over=""
674              background_bitmap_view="black2"
675              browse_next_time="false"
676              form_text_area_group="edit_box_widget_multiline">
677         <group id="black"
678                posref="BR BR"
679                sizeref="hw"
680                w="-10"
681                h="-12"
682                inherit_gc_alpha="true" />
683         <instance template="inner_thin_border"
684                   posparent="black"
685                   inherit_gc_alpha="true" />
686         <view type="bitmap"
687               id="black2"
688               posparent="black"
689               posref="MM MM"
690               sizeref="wh"
691               w="-2"
692               h="-2"
693               inherit_gc_alpha="true"
694               scale="true"
695               texture="blank.tga"
696               global_color="false" />
697         <group type="list"
698                id="text_list"
699                fontsize="9"
700                posref="TL TL"
701                posparent="black"
702                x="2"
703                y="-2"
704                space="0"
705                sizeref="hw"
706                w="-4"
707                h="-4"
708                maxelements="2000" />
709         <ctrl style="skin_scroll"
710               id="scroll_bar" />
711       </group>
712     </group>
713   </group>
714   <tree node="guild_forum" />
715   <!-- **************** -->
716   <!-- *  GUILD CHAT  * -->
717   <!-- **************** -->
718   <proc id="guild_chat_proc_close">
719     <action handler="set"
720             params="dblink=UI:SAVE:ISDETACHED:GUILD_CHAT|value=0" />
721   </proc>
722   <!-- container is c++ generated (people_interraction.cpp) -->
723   <!-- ********************* -->
724   <!-- *  GUILD INVENTORY  * -->
725   <!-- ********************* -->
726   <proc id="guild_inv_activated">
727     <!--    <action handler="proc" params="memorize_inventory_state"/>-->
728     <action handler="context_help_html"
729             params="inventory" />
730   </proc>
731   <proc id="guild_get_money">
732     <action handler="set"
733             params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyFromGuild'" />
734     <action handler="set"
735             params="target_property=ui:interface:guild_inv_money:box1:active|value=0" />
736     <action handler="set"
737             params="target_property=ui:interface:guild_inv_money:box2:active|value=1" />
738     <action handler="set"
739             params="target_property=ui:interface:guild_inv_money:ok1:active|value=0" />
740     <action handler="set"
741             params="target_property=ui:interface:guild_inv_money:ok2:active|value=1" />
742     <action handler="set"
743             params="target_property=ui:interface:guild_inv_money:box2:eb:input_string|value=100" />
744     <action handler="set"
745             params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
746     <action handler="set_keyboard_focus"
747             params="select_all=true|target=ui:interface:guild_inv_money:box2:eb" />
748     <action handler="enter_modal"
749             params="group=ui:interface:guild_inv_money" />
750   </proc>
751   <proc id="guild_put_money">
752     <action handler="set"
753             params="target_property=ui:interface:guild_inv_money:title:hardtext|value='uiMoneyToGuild'" />
754     <action handler="set"
755             params="target_property=ui:interface:guild_inv_money:box1:active|value=1" />
756     <action handler="set"
757             params="target_property=ui:interface:guild_inv_money:box2:active|value=0" />
758     <action handler="set"
759             params="target_property=ui:interface:guild_inv_money:ok1:active|value=1" />
760     <action handler="set"
761             params="target_property=ui:interface:guild_inv_money:ok2:active|value=0" />
762     <action handler="set"
763             params="target_property=ui:interface:guild_inv_money:box1:eb:input_string|value=100" />
764     <action handler="set"
765             params="dblink=UI:VARIABLES:CHOOSE_MONEY|value=100" />
766     <action handler="set_keyboard_focus"
767             params="select_all=true|target=ui:interface:guild_inv_money:box1:eb" />
768     <action handler="enter_modal"
769             params="group=ui:interface:guild_inv_money" />
770   </proc>
771   <!-- see what to do with that 
772  on_active="proc" on_active_params="guild_inv_activated" 
773  on_deactive="" on_deactive_params="" -->
774   <group style="inv_container_guild"
775          id="inv_guild"
776          header_color="UI:SAVE:WIN:COLORS:TRADE"
777          title="uitabInvGuild"
778          on_close_button="set"
779          on_close_button_params="dblink=UI:SAVE:INVENTORY_GUILD_WANT_POPUP|value=0">
781     <group id="header_closed"
782            x="0"
783            y="0"
784            h="12"
785            posref="TL TL"></group>
786     <group id="header_opened"
787            x="0"
788            y="0"
789            h="16"
790            posref="TL TL"
791            group_onclick_r="active_menu"
792            group_params_r="menu=ui:interface:base_menu_with_color">
793       <instance template="tinv_nbslots_bulk_weight"
794                 id="ibw"
795                 x="-16"
796                 inv_branch="%guild_inv_dbentry"
797                 inv_bulk_max="%guild_inv_bulk_max" />
798     </group>
799     <group id="content"
800            h="214"
801            posref="TR TR">
802       <instance template="tinv_item_list"
803                 id="iil"
804                 y="-8"
805                 sizeref="wh"
806                 h="-8"
807                 inv_branch="%guild_inv_dbentry"
808                 inv_branch_nb="%max_guild_invslot"
809                 inv_type="INV_GUILD" />
810       <instance template="argent"
811                 id="money"
812                 posref="BL BL"
813                 x="4"
814                 y="1"
815                 value="%guild_inv_money" />
816       <ctrl style="new_element_header"
817             id="getmoney_but"
818             posref="MR ML"
819             posparent="money"
820             x="4"
821             wmargin="8"
822             hardtext="uittGetMoney"
823             onclick_l="proc"
824             params_l="guild_get_money" />
825       <ctrl style="new_element_header"
826             id="putmoney_but"
827             posref="MR ML"
828             posparent="getmoney_but"
829             x="4"
830             wmargin="8"
831             hardtext="uittPutMoney"
832             onclick_l="proc"
833             params_l="guild_put_money" />
834     </group>
835   </group>
836   <link expr="and(%is_guild_present, @UI:SAVE:INVENTORY_GUILD_WANT_POPUP, @UI:TEMP:INVENTORY_GUILD_OPENED)"
837         target="inv_guild:active" />
838   <tree node="inv_guild" />
839   <!-- QUANTITY OF MONEY MODAL BOX -->
840   <group type="modal"
841          id="guild_inv_money"
842          exit_click_out="true"
843          posref="MM BL"
844          w="170"
845          h="64"
846          options="skin_modal">
847     <!-- info text -->
848     <view type="text"
849           id="title"
850           posref="TL TL"
851           x="4"
852           y="-4"
853           color="255 255 255 255"
854           fontsize="12"
855           shadow="true"
856           hardtext="uiSelMoney2Give"
857           global_color="false" />
858     <!-- bitmap for the seeds -->
859     <view type="bitmap"
860           id="money"
861           posref="BL TL"
862           posparent="title"
863           x="20"
864           y="-4"
865           texture="money_seve.tga"
866           global_color="false" />
867     <!-- edit box for the seeds -->
868     <instance template="edit_box_widget"
869               id="box1"
870               posparent="money"
871               text_ref="TR TR"
872               text_y="-1"
873               posref="MR ML"
874               w="92"
875               h="16"
876               fontsize="10"
877               x="2"
878               y="0"
879               reset_focus_on_hide="true"
880               max_historic="0"
881               onenter="guild_inv_put_money"
882               onchange="editbox_number"
883               onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%money|update_text=false"
884               prompt=""
885               enter_loose_focus="false"
886               multi_line="false"
887               max_num_chars="12"
888               color="135 243 28 255" />
889     <instance template="edit_box_widget"
890               id="box2"
891               posparent="money"
892               text_ref="TR TR"
893               text_y="-1"
894               posref="MR ML"
895               w="92"
896               h="16"
897               fontsize="10"
898               x="2"
899               y="0"
900               reset_focus_on_hide="true"
901               max_historic="0"
902               onenter="guild_inv_get_money"
903               params="confirm_money_quantity"
904               onchange="editbox_number"
905               onchange_params="value=UI:VARIABLES:CHOOSE_MONEY|max_value=@%guild_inv_money|update_text=false"
906               prompt=""
907               enter_loose_focus="false"
908               multi_line="false"
909               max_num_chars="12"
910               color="135 243 28 255" />
911     <!-- ok / cancel -->
912     <instance template="button_ok_cancel"
913               id="ok1"
914               posref="BR BR"
915               x="-4"
916               y="4"
917               onclick_ok="guild_inv_put_money"
918               onclick_ok_param=""
919               onclick_cancel="leave_modal"
920               onclick_cancel_param="" />
921     <instance template="button_ok_cancel"
922               id="ok2"
923               posref="BR BR"
924               x="-4"
925               y="4"
926               onclick_ok="guild_inv_get_money"
927               onclick_ok_param=""
928               onclick_cancel="leave_modal"
929               onclick_cancel_param="" />
930   </group>
931   <!-- ************** -->
932   <!-- *  MAIL BOX  * -->
933   <!-- ************** -->
935   <group type="container"
936          id="mailbox"
937          w="480"
938          h="400"
939          title=""
940          global_color="false"
941          open_button="false"
942          force_open_out="true"
943          header_color="UI:SAVE:WIN:COLORS:COM"
944          resizer="true"
945          pop_min_w="220"
946          pop_min_h="96"
947          pop_max_w="2000"
948          pop_max_h="1600"
949          title_bar_open="false"
950          lockable="true"
951          openable="false"
952          opened="true"
953          movable="true"
954          active="true"
955          on_active="proc"
956          on_active_params="mailbox_proc_active"
957          on_deactive="proc"
958          on_deactive_params="mailbox_proc_deactive">
959     <group id="header_closed"
960            x="0"
961            y="0"
962            h="12"
963            posref="TL TL"
964            group_onclick_r="active_menu"
965            group_params_r="menu=ui:interface:base_menu_with_color">
966            </group>
967     <group id="header_opened"
968            x="0"
969            y="0"
970            w="480"
971            h="13"
972            posref="TL TL"
973            group_onclick_r="active_menu"
974            group_params_r="menu=ui:interface:mailbox_menu"></group>
975     <group id="content"
976            x="0"
977            y="0"
978            w="0"
979            h="0"
980            posref="TL TL">
981       <group type="html"
982              id="html"
983              posref="TL TL"
984              url="home"
985              title_prefix="uiMailboxTitle"
986              sizeref="wh"
987              x="0"
988              y="0"
989              w="0"
990              h="0"
991              background_color="0 0 0 255"
992              error_color="255 240 48 255"
993              link_color="240 155 100 255"
994              text_color="210 210 210 255"
995              h1_color="255 255 255 255"
996              h2_color="255 255 255 255"
997              h3_color="255 255 255 255"
998              h4_color="255 255 255 255"
999              h5_color="255 255 255 255"
1000              h6_color="255 255 255 255"
1001              text_font_size="10"
1002              h1_font_size="20"
1003              h2_font_size="18"
1004              h3_font_size="16"
1005              h4_font_size="14"
1006              h5_font_size="12"
1007              h6_font_size="12"
1008              paragraph_begin_space="12"
1009              multi_line_space_factor="0.25"
1010              td_begin_space="0"
1011              li_begin_space="4"
1012              ul_begin_space="12"
1013              li_indent="-10"
1014              ul_indent="30"
1015              checkbox_bitmap_normal="w_slot_on.tga"
1016              checkbox_bitmap_pushed="w_opacity_on.tga"
1017              checkbox_bitmap_over=""
1018              background_bitmap_view="black2"
1019              browse_next_time="false"
1020              form_text_area_group="edit_box_widget_multiline">
1021         <group id="black"
1022                posref="BR BR"
1023                sizeref="hw"
1024                w="-10"
1025                h="-12"
1026                inherit_gc_alpha="true" />
1027         <instance template="inner_thin_border"
1028                   posparent="black"
1029                   inherit_gc_alpha="true" />
1030         <view type="bitmap"
1031               id="black2"
1032               posparent="black"
1033               posref="MM MM"
1034               sizeref="wh"
1035               w="-2"
1036               h="-2"
1037               inherit_gc_alpha="true"
1038               scale="true"
1039               texture="blank.tga"
1040               global_color="false" />
1041         <group type="list"
1042                id="text_list"
1043                fontsize="9"
1044                posref="TL TL"
1045                posparent="black"
1046                x="2"
1047                y="-2"
1048                space="0"
1049                sizeref="hw"
1050                w="-4"
1051                h="-4"
1052                maxelements="2000" />
1053         <ctrl style="skin_scroll"
1054               id="scroll_bar" />
1055       </group>
1056     </group>
1057   </group>
1058   <tree node="mailbox" />
1059   <!-- ************** -->
1060   <!-- *  WEB IG  * -->
1061   <!-- ************** -->
1062   <proc id="webig_proc_active">
1063     <action handler="set"
1064             params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=1" />
1065   </proc>
1066   <proc id="webig_proc_deactive">
1067     <action handler="set"
1068             params="dblink=UI:VARIABLES:ISACTIVE:WEBIG|value=0" />
1069   </proc>
1070   <group type="menu"
1071          id="webig_menu"
1072          extends="base_menu_with_color">
1073     <action id="home"
1074             name="uiHOME"
1075             handler="browse"
1076             params="name=ui:interface:webig:content:html|url=home" />
1077   </group>
1078   <group type="container"
1079          id="webig"
1080          w="480"
1081          h="400"
1082          title=""
1083          global_color="false"
1084          open_button="false"
1085          force_open_out="true"
1086          header_color="UI:SAVE:WIN:COLORS:COM"
1087          resizer="true"
1088          pop_min_w="220"
1089          pop_min_h="96"
1090          pop_max_w="2000"
1091          pop_max_h="1600"
1092          title_bar_open="false"
1093          lockable="true"
1094          openable="true"
1095          opened="true"
1096          movable="true"
1097          active="true"
1098          on_active="proc"
1099          on_active_params="webig_proc_active"
1100          on_deactive="proc"
1101          on_deactive_params="webig_proc_deactive">
1102     <group id="header_closed"
1103            x="0"
1104            y="0"
1105            h="12"
1106            posref="TL TL"
1107            group_onclick_r="active_menu"
1108            group_params_r="menu=ui:interface:webig_menu"
1109            on_active="lua" on_active_params="game:closeWebIGBrowserHeader()"></group>
1110     <group id="header_opened"
1111            x="0"
1112            y="0"
1113            w="480"
1114            h="16"
1115            posref="TL TL"
1116            group_onclick_r="active_menu"
1117            group_params_r="menu=ui:interface:webig_menu"
1118            on_active="lua" on_active_params="game:openWebIGBrowserHeader()">
1119       <!-- must be frozen by default cause no undo/redo at start -->
1120       <ctrl style="text_button_header"
1121             button_type="push_button"
1122             id="browse_redo"
1123             posref="MR MR"
1124             x="-16"
1125             y="0"
1126             hardtext="uiBrowseRedoButton"
1127             tooltip="uittBrowseRedo"
1128             onclick_l="browse_redo"
1129             params_l="name=ui:interface:webig:content:html"
1130             frozen="true" />
1131       <ctrl style="text_button_header"
1132             button_type="push_button"
1133             id="browse_undo"
1134             posparent="browse_redo"
1135             posref="ML MR"
1136             x="-4"
1137             y="0"
1138             hardtext="uiBrowseUndoButton"
1139             tooltip="uittBrowseUndo"
1140             onclick_l="browse_undo"
1141             params_l="name=ui:interface:webig:content:html"
1142             frozen="true" />
1143       <ctrl style="text_button_header"
1144             button_type="push_button"
1145             id="browse_refresh"
1146             posparent="browse_undo"
1147             posref="ML MR"
1148             x="-4"
1149             y="0"
1150             hardtext="uiBrowseRefresh"
1151             tooltip="uittBrowseRefresh"
1152             onclick_l="browse_refresh"
1153             params_l="name=ui:interface:webig:content:html" />
1154       <ctrl style="text_button_header"
1155             button_type="push_button"
1156             id="browse_home"
1157             posparent="browse_refresh"
1158             posref="ML MR"
1159             x="-4"
1160             y="0"
1161             hardtext="uiBrowseHome"
1162             tooltip="uittBrowseHome"
1163             onclick_l="browse_home"
1164             params_l="name=ui:interface:webig:content:html" />
1165     </group>
1166     <group id="content"
1167            x="0"
1168            y="0"
1169            w="0"
1170            h="0"
1171            posref="TL TL">
1172       <group type="webig_html"
1173              id="html"
1174              posref="TL TL"
1175              url=""
1176              home="http://app.ryzom.com/index.php"
1177              sizeref="wh"
1178              x="0"
1179              y="0"
1180              w="0"
1181              h="0"
1182              background_color="0 0 0 255"
1183              error_color="255 240 48 255"
1184              link_color="240 155 100 255"
1185              text_color="210 210 210 255"
1186              h1_color="255 255 255 255"
1187              h2_color="255 255 255 255"
1188              h3_color="255 255 255 255"
1189              h4_color="255 255 255 255"
1190              h5_color="255 255 255 255"
1191              h6_color="255 255 255 255"
1192              text_font_size="10"
1193              h1_font_size="20"
1194              h2_font_size="18"
1195              h3_font_size="16"
1196              h4_font_size="14"
1197              h5_font_size="12"
1198              h6_font_size="12"
1199              paragraph_begin_space="12"
1200              multi_line_space_factor="0.25"
1201              td_begin_space="0"
1202              li_begin_space="4"
1203              ul_begin_space="12"
1204              li_indent="-10"
1205              ul_indent="30"
1206              checkbox_bitmap_normal="w_slot_on.tga"
1207              checkbox_bitmap_pushed="w_opacity_on.tga"
1208              checkbox_bitmap_over=""
1209              background_bitmap_view="black2"
1210              browse_next_time="false"
1211              form_text_area_group="edit_box_widget_multiline"
1212              browse_refresh="ui:interface:webig:header_opened:browse_refresh"
1213              browse_undo="ui:interface:webig:header_opened:browse_undo"
1214              browse_redo="ui:interface:webig:header_opened:browse_redo">
1215              
1216         <group id="black"
1217                posref="BR BR"
1218                sizeref="hw"
1219                w="-10"
1220                h="-12"
1221                inherit_gc_alpha="true" />
1222         <instance template="inner_thin_border"
1223                   posparent="black"
1224                   inherit_gc_alpha="true" />
1225         <view type="bitmap"
1226               id="black2"
1227               posparent="black"
1228               posref="MM MM"
1229               sizeref="wh"
1230               w="-2"
1231               h="-2"
1232               inherit_gc_alpha="true"
1233               scale="true"
1234               texture="blank.tga"
1235               global_color="false" />
1236         <group type="list"
1237                id="text_list"
1238                fontsize="9"
1239                posref="TL TL"
1240                posparent="black"
1241                x="2"
1242                y="-2"
1243                space="0"
1244                sizeref="hw"
1245                w="-4"
1246                h="-4"
1247                maxelements="2000" />
1248         <ctrl style="skin_scroll"
1249               id="scroll_bar" />
1250       </group>
1251     </group>
1252   </group>
1253   <tree node="webig" />
1254   <group type="container"
1255          id="web_transactions"
1256          w="480"
1257          h="400"
1258          title=""
1259          global_color="false"
1260          open_button="false"
1261          force_open_out="true"
1262          header_color="UI:SAVE:WIN:COLORS:COM"
1263          resizer="true"
1264          pop_min_w="220"
1265          pop_min_h="96"
1266          pop_max_w="2000"
1267          pop_max_h="1600"
1268          title_bar_open="false"
1269          lockable="true"
1270          openable="false"
1271          opened="true"
1272          movable="true"
1273          active="true">
1274     <group id="header_closed"
1275            x="0"
1276            y="0"
1277            h="12"
1278            posref="TL TL"></group>
1279     <group id="header_opened"
1280            x="0"
1281            y="0"
1282            w="480"
1283            h="16"
1284            posref="TL TL">
1285       <!-- must be frozen by default cause no undo/redo at start -->
1286       <ctrl style="text_button_header"
1287             button_type="push_button"
1288             id="browse_redo"
1289             posref="MR MR"
1290             x="-16"
1291             y="0"
1292             hardtext="uiBrowseRedoButton"
1293             tooltip="uittBrowseRedo"
1294             onclick_l="browse_redo"
1295             params_l="name=ui:interface:web_transactions:content:html"
1296             frozen="true" />
1297       <ctrl style="text_button_header"
1298             button_type="push_button"
1299             id="browse_undo"
1300             posparent="browse_redo"
1301             posref="ML MR"
1302             x="-4"
1303             y="0"
1304             hardtext="uiBrowseUndoButton"
1305             tooltip="uittBrowseUndo"
1306             onclick_l="browse_undo"
1307             params_l="name=ui:interface:web_transactions:content:html"
1308             frozen="true" />
1309       <ctrl style="text_button_header"
1310             button_type="push_button"
1311             id="browse_refresh"
1312             posparent="browse_undo"
1313             posref="ML MR"
1314             x="-4"
1315             y="0"
1316             hardtext="uiBrowseRefresh"
1317             tooltip="uittBrowseRefresh"
1318             onclick_l="browse_refresh"
1319             params_l="name=ui:interface:web_transactions:content:html" />
1320       <ctrl style="text_button_header"
1321             button_type="push_button"
1322             id="browse_home"
1323             posparent="browse_refresh"
1324             posref="ML MR"
1325             x="-4"
1326             y="0"
1327             hardtext="uiBrowseHome"
1328             tooltip="uittBrowseHome"
1329             onclick_l="browse_home"
1330             params_l="name=ui:interface:web_transactions:content:html" />
1331     </group>
1332     <group id="content"
1333            x="0"
1334            y="0"
1335            w="0"
1336            h="0"
1337            posref="TL TL">
1338       <group type="webig_html"
1339              id="html"
1340              posref="TL TL"
1341              url=""
1342              home="http://app.ryzom.com/init_ig.php"
1343              sizeref="wh"
1344              x="0"
1345              y="0"
1346              w="0"
1347              h="0"
1348              background_color="0 0 0 255"
1349              error_color="255 240 48 255"
1350              link_color="240 155 100 255"
1351              text_color="210 210 210 255"
1352              h1_color="255 255 255 255"
1353              h2_color="255 255 255 255"
1354              h3_color="255 255 255 255"
1355              h4_color="255 255 255 255"
1356              h5_color="255 255 255 255"
1357              h6_color="255 255 255 255"
1358              text_font_size="10"
1359              h1_font_size="20"
1360              h2_font_size="18"
1361              h3_font_size="16"
1362              h4_font_size="14"
1363              h5_font_size="12"
1364              h6_font_size="12"
1365              paragraph_begin_space="12"
1366              multi_line_space_factor="0.25"
1367              td_begin_space="0"
1368              li_begin_space="4"
1369              ul_begin_space="12"
1370              li_indent="-10"
1371              ul_indent="30"
1372              checkbox_bitmap_normal="w_slot_on.tga"
1373              checkbox_bitmap_pushed="w_opacity_on.tga"
1374              checkbox_bitmap_over=""
1375              background_bitmap_view="black2"
1376              browse_next_time="false"
1377              form_text_area_group="edit_box_widget_multiline"
1378              browse_refresh="ui:interface:web_transactions:header_opened:browse_refresh"
1379              browse_undo="ui:interface:web_transactions:header_opened:browse_undo"
1380              browse_redo="ui:interface:web_transactions:header_opened:browse_redo">
1381              
1382         <group id="black"
1383                posref="BR BR"
1384                sizeref="hw"
1385                w="-10"
1386                h="-12"
1387                inherit_gc_alpha="true" />
1388         <instance template="inner_thin_border"
1389                   posparent="black"
1390                   inherit_gc_alpha="true" />
1391         <view type="bitmap"
1392               id="black2"
1393               posparent="black"
1394               posref="MM MM"
1395               sizeref="wh"
1396               w="-2"
1397               h="-2"
1398               inherit_gc_alpha="true"
1399               scale="true"
1400               texture="blank.tga"
1401               global_color="false" />
1402         <group type="list"
1403                id="text_list"
1404                fontsize="9"
1405                posref="TL TL"
1406                posparent="black"
1407                x="2"
1408                y="-2"
1409                space="0"
1410                sizeref="hw"
1411                w="-4"
1412                h="-4"
1413                maxelements="2000" />
1414         <ctrl style="skin_scroll"
1415               id="scroll_bar" />
1416       </group>
1417     </group>
1418   </group>
1419   <tree node="web_transactions" />
1420 </interface_config>