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