Changed: rework "creat guild" UI Window
--HG-- branch : develop
This commit is contained in:
parent
5b4759df72
commit
b5a0fbe266
1 changed files with 69 additions and 57 deletions
|
@ -436,6 +436,9 @@
|
||||||
<variable entry="UI:TEMP:GUILD:BACK:NAME"
|
<variable entry="UI:TEMP:GUILD:BACK:NAME"
|
||||||
type="sint64"
|
type="sint64"
|
||||||
value="0" />
|
value="0" />
|
||||||
|
<variable entry="UI:VARIABLES:GUILD_COST" type="sint32"
|
||||||
|
value="100000" />
|
||||||
|
|
||||||
<!-- INIT FLAGS CREATION PARAMS -->
|
<!-- INIT FLAGS CREATION PARAMS -->
|
||||||
<proc id="init_guild_creation">
|
<proc id="init_guild_creation">
|
||||||
<action handler="set"
|
<action handler="set"
|
||||||
|
@ -466,7 +469,7 @@
|
||||||
<group id="bot_chat_create_guild"
|
<group id="bot_chat_create_guild"
|
||||||
style="bot_chat_window"
|
style="bot_chat_window"
|
||||||
posref="BL TL"
|
posref="BL TL"
|
||||||
w="254"
|
w="400"
|
||||||
x="352"
|
x="352"
|
||||||
y="200"
|
y="200"
|
||||||
active="false"
|
active="false"
|
||||||
|
@ -488,7 +491,7 @@
|
||||||
h="16"
|
h="16"
|
||||||
posref="TL TL"></group>
|
posref="TL TL"></group>
|
||||||
<group id="content"
|
<group id="content"
|
||||||
w="246"
|
w="398"
|
||||||
child_resize_h="true"
|
child_resize_h="true"
|
||||||
child_resize_hmargin="4"
|
child_resize_hmargin="4"
|
||||||
x="0"
|
x="0"
|
||||||
|
@ -498,40 +501,19 @@
|
||||||
<instance template="bc_border_text"
|
<instance template="bc_border_text"
|
||||||
id="intro"
|
id="intro"
|
||||||
w="0"
|
w="0"
|
||||||
y="-4"
|
y="0"
|
||||||
text_id="SERVER:BOTCHAT:CREATE_GUILD" />
|
text_id="SERVER:BOTCHAT:CREATE_GUILD" />
|
||||||
<!-- GUILD ICON -->
|
|
||||||
<ctrl type="sheet"
|
|
||||||
id="blason"
|
|
||||||
posref="BL TL"
|
|
||||||
x="0"
|
|
||||||
y="-16"
|
|
||||||
posparent="intro"
|
|
||||||
nature="guild_flag"
|
|
||||||
value="UI:TEMP:GUILD_CREATION"
|
|
||||||
dragable="false"
|
|
||||||
color="255 255 255 255" />
|
|
||||||
<view type="text"
|
|
||||||
id="guild_blason"
|
|
||||||
posref="TL BL"
|
|
||||||
posparent="blason"
|
|
||||||
x="0"
|
|
||||||
y="0"
|
|
||||||
color="255 255 255 255"
|
|
||||||
fontsize="10"
|
|
||||||
shadow="true"
|
|
||||||
hardtext="uiGuildBlason" />
|
|
||||||
<!-- NAME OF GUILD -->
|
<!-- NAME OF GUILD -->
|
||||||
<instance template="edit_box_widget"
|
<instance template="edit_box_widget"
|
||||||
id="edit"
|
id="edit"
|
||||||
posparent="blason"
|
posparent="intro"
|
||||||
posref="MR ML"
|
posref="TL TL"
|
||||||
x="4"
|
x="0"
|
||||||
w="200"
|
w="380"
|
||||||
y="0"
|
y="-24"
|
||||||
h="20"
|
h="12"
|
||||||
text_x="0"
|
text_x="0"
|
||||||
text_y="-1"
|
text_y="0"
|
||||||
text_ref="ML ML"
|
text_ref="ML ML"
|
||||||
fontsize="12"
|
fontsize="12"
|
||||||
prompt=""
|
prompt=""
|
||||||
|
@ -543,13 +525,15 @@
|
||||||
enter_recover_focus="false"
|
enter_recover_focus="false"
|
||||||
reset_focus_on_hide="true"
|
reset_focus_on_hide="true"
|
||||||
max_historic="0"
|
max_historic="0"
|
||||||
|
title="uiGuildNameWarning"
|
||||||
|
tooltip="uiGuildNameWarning"
|
||||||
entry_type="text" />
|
entry_type="text" />
|
||||||
<view type="text"
|
<view type="text"
|
||||||
id="guild_name"
|
id="guild_name"
|
||||||
posparent="edit"
|
posparent="edit"
|
||||||
posref="TL BL"
|
posref="TL BL"
|
||||||
x="0"
|
x="0"
|
||||||
y="5"
|
y="0"
|
||||||
color="255 255 255 255"
|
color="255 255 255 255"
|
||||||
fontsize="10"
|
fontsize="10"
|
||||||
shadow="true"
|
shadow="true"
|
||||||
|
@ -558,11 +542,15 @@
|
||||||
<instance template="edit_box_widget"
|
<instance template="edit_box_widget"
|
||||||
id="desc"
|
id="desc"
|
||||||
posref="BL TL"
|
posref="BL TL"
|
||||||
|
multi_line="true"
|
||||||
|
max_num_chars="200"
|
||||||
y="-24"
|
y="-24"
|
||||||
posparent="blason"
|
posparent="edit"
|
||||||
child_resize_h="true"
|
child_resize_h="true"
|
||||||
w="238"
|
w="380"
|
||||||
onenter="" />
|
onenter=""
|
||||||
|
title="uiGuildDescWarning"
|
||||||
|
tooltip="uiGuildDescWarning" />
|
||||||
<view type="text"
|
<view type="text"
|
||||||
id="guild_desc"
|
id="guild_desc"
|
||||||
posparent="desc"
|
posparent="desc"
|
||||||
|
@ -578,10 +566,32 @@
|
||||||
id="back"
|
id="back"
|
||||||
posparent="desc"
|
posparent="desc"
|
||||||
posref="BM TM"
|
posref="BM TM"
|
||||||
w="180"
|
w="300"
|
||||||
h="77"
|
h="120"
|
||||||
x="0"
|
x="0"
|
||||||
y="-24" />
|
y="-24" />
|
||||||
|
<!-- GUILD ICON -->
|
||||||
|
<ctrl type="sheet"
|
||||||
|
id="blason"
|
||||||
|
posref="TL TL"
|
||||||
|
x="5"
|
||||||
|
y="-18"
|
||||||
|
posparent="back"
|
||||||
|
nature="guild_flag"
|
||||||
|
value="UI:TEMP:GUILD_CREATION"
|
||||||
|
dragable="false"
|
||||||
|
color="255 255 255 255" />
|
||||||
|
<view type="text"
|
||||||
|
id="guild_blason"
|
||||||
|
posref="TL BL"
|
||||||
|
posparent="blason"
|
||||||
|
x="0"
|
||||||
|
y="0"
|
||||||
|
color="255 255 255 255"
|
||||||
|
fontsize="10"
|
||||||
|
shadow="true"
|
||||||
|
hardtext="uiGuildBlason" />
|
||||||
|
<!-- GUILD ICON Desinger -->
|
||||||
<view type="text"
|
<view type="text"
|
||||||
id="guild_blason_design"
|
id="guild_blason_design"
|
||||||
posref="TL BL"
|
posref="TL BL"
|
||||||
|
@ -595,7 +605,7 @@
|
||||||
<ctrl type="sheet"
|
<ctrl type="sheet"
|
||||||
id="back_layer"
|
id="back_layer"
|
||||||
posref="TL TL"
|
posref="TL TL"
|
||||||
x="4"
|
x="100"
|
||||||
y="-18"
|
y="-18"
|
||||||
posparent="back"
|
posparent="back"
|
||||||
nature="guild_flag"
|
nature="guild_flag"
|
||||||
|
@ -603,13 +613,6 @@
|
||||||
global_color="false"
|
global_color="false"
|
||||||
onclick_l="enter_modal"
|
onclick_l="enter_modal"
|
||||||
params_l="group=ui:interface:guild_flag_back" />
|
params_l="group=ui:interface:guild_flag_back" />
|
||||||
<view type="bitmap"
|
|
||||||
id="fore_sheet"
|
|
||||||
posparent="back_layer"
|
|
||||||
posref="TR TL"
|
|
||||||
x="4"
|
|
||||||
y="0"
|
|
||||||
texture="W_slot_blason.tga" />
|
|
||||||
<view type="text"
|
<view type="text"
|
||||||
id="blason_back"
|
id="blason_back"
|
||||||
posref="TL BL"
|
posref="TL BL"
|
||||||
|
@ -623,9 +626,9 @@
|
||||||
<view type="text"
|
<view type="text"
|
||||||
id="blason_fore"
|
id="blason_fore"
|
||||||
posref="TL BL"
|
posref="TL BL"
|
||||||
posparent="fore_sheet"
|
posparent="back"
|
||||||
x="0"
|
x="100"
|
||||||
y="0"
|
y="-80"
|
||||||
color="255 255 255 255"
|
color="255 255 255 255"
|
||||||
fontsize="10"
|
fontsize="10"
|
||||||
shadow="true"
|
shadow="true"
|
||||||
|
@ -633,8 +636,9 @@
|
||||||
<ctrl type="button"
|
<ctrl type="button"
|
||||||
button_type="push_button"
|
button_type="push_button"
|
||||||
id="fore_flag"
|
id="fore_flag"
|
||||||
posparent="fore_sheet"
|
posparent="blason_fore"
|
||||||
posref="TL TL"
|
posref="TL TL"
|
||||||
|
y="-16"
|
||||||
tx_normal="W_slot_blason_over.tga"
|
tx_normal="W_slot_blason_over.tga"
|
||||||
tx_over="W_slot_blason_over.tga"
|
tx_over="W_slot_blason_over.tga"
|
||||||
tx_pushed="W_slot_blason_over.tga"
|
tx_pushed="W_slot_blason_over.tga"
|
||||||
|
@ -648,9 +652,9 @@
|
||||||
id="fore_layer"
|
id="fore_layer"
|
||||||
posref="TL TL"
|
posref="TL TL"
|
||||||
x="1"
|
x="1"
|
||||||
y="-1"
|
y="-16"
|
||||||
render_layer="5"
|
render_layer="5"
|
||||||
posparent="fore_sheet"
|
posparent="blason_fore"
|
||||||
texture="Guild_Symbol_S_08.tga"
|
texture="Guild_Symbol_S_08.tga"
|
||||||
scale="true"
|
scale="true"
|
||||||
w="32"
|
w="32"
|
||||||
|
@ -663,7 +667,7 @@
|
||||||
tooltip="uiGuildBlasonColor1"
|
tooltip="uiGuildBlasonColor1"
|
||||||
posref="TL TL"
|
posref="TL TL"
|
||||||
posparent="back"
|
posparent="back"
|
||||||
x="80"
|
x="150"
|
||||||
y="-19" />
|
y="-19" />
|
||||||
<instance template="tgcw_color2"
|
<instance template="tgcw_color2"
|
||||||
id="col_2"
|
id="col_2"
|
||||||
|
@ -678,21 +682,29 @@
|
||||||
id="negative"
|
id="negative"
|
||||||
text="uiNegativeSymbol"
|
text="uiNegativeSymbol"
|
||||||
posparent="back"
|
posparent="back"
|
||||||
posref="BM BM"
|
posref="BL BL"
|
||||||
x="0"
|
x="150"
|
||||||
y="4" />
|
y="15" />
|
||||||
<group id="pipo"
|
<group id="pipo"
|
||||||
w="238"
|
w="390"
|
||||||
h="8"
|
h="8"
|
||||||
x="0"
|
x="0"
|
||||||
y="0"
|
y="0"
|
||||||
posparent="back"
|
posparent="back"
|
||||||
posref="BM TM" />
|
posref="BM TM" />
|
||||||
|
<instance template="argent"
|
||||||
|
id="GuildCreatMoney"
|
||||||
|
posparent="pipo"
|
||||||
|
posref="BL TL"
|
||||||
|
x="5"
|
||||||
|
y="-14"
|
||||||
|
tooltip="uiGuildCostInfo"
|
||||||
|
value="UI:VARIABLES:GUILD_COST" />
|
||||||
<instance template="button_ok_cancel"
|
<instance template="button_ok_cancel"
|
||||||
posparent="pipo"
|
posparent="pipo"
|
||||||
posref="BR TR"
|
posref="BR TR"
|
||||||
x="-4"
|
x="-4"
|
||||||
y="-4"
|
y="-14"
|
||||||
ok_text="uiBotCreateGuild"
|
ok_text="uiBotCreateGuild"
|
||||||
onclick_ok="enter_guild_creation"
|
onclick_ok="enter_guild_creation"
|
||||||
onclick_ok_param="guild=ui:interface:bot_chat_create_guild:content:edit:eb|icon=ui:interface:bot_chat_create_guild:content:blason|desc=ui:interface:bot_chat_create_guild:content:desc:eb"
|
onclick_ok_param="guild=ui:interface:bot_chat_create_guild:content:edit:eb|icon=ui:interface:bot_chat_create_guild:content:blason|desc=ui:interface:bot_chat_create_guild:content:desc:eb"
|
||||||
|
|
Loading…
Reference in a new issue