Fênetre que avec les mains rajouté, la largeur est cependant pas encore bien géré.
This commit is contained in:
parent
a6696ef258
commit
0fe0007d48
2 changed files with 62 additions and 75 deletions
|
@ -1223,91 +1223,78 @@
|
||||||
<!-- The Hands -->
|
<!-- The Hands -->
|
||||||
<!-- Hand 1 and 2 -->
|
<!-- Hand 1 and 2 -->
|
||||||
|
|
||||||
<group type="container"
|
<group type="container"
|
||||||
id="gestionsetshands"
|
id="gestionsetshands"
|
||||||
w="410"
|
child_resize_wmargin="10"
|
||||||
h="48"
|
child_resize_hmargin="10"
|
||||||
resizer="false"
|
resizer="false"
|
||||||
header_active="false"
|
header_active="fase"
|
||||||
right_button="false"
|
right_button="false"
|
||||||
group_onclick_r="active_menu"
|
group_onclick_r="active_menu"
|
||||||
group_params_r="menu=ui:interface:base_menu_with_color"
|
group_params_r="menu=ui:interface:base_menu_with_color"
|
||||||
movable="true"
|
movable="true"
|
||||||
active="false"
|
active="true"
|
||||||
opened="false"
|
opened="false"
|
||||||
openable="false"
|
openable="false"
|
||||||
global_color="false"
|
global_color="false"
|
||||||
header_color="UI:SAVE:WIN:COLORS:INV"
|
header_color="UI:SAVE:WIN:COLORS:INV"
|
||||||
locked="true"
|
locked="false"
|
||||||
on_active="set"
|
on_active="set"
|
||||||
on_active_params="dblink=UI:VARIABLES:ISACTIVE:SETS3|value=1"
|
on_active_params="dblink=UI:VARIABLES:ISACTIVE:SETS3|value=1"
|
||||||
on_deactive="set"
|
on_deactive="set"
|
||||||
on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:SETS3|value=0"
|
on_deactive_params="dblink=UI:VARIABLES:ISACTIVE:SETS3|value=0"
|
||||||
help_page="interf_action_bar.html">
|
help_page="interf_action_bar.html">
|
||||||
<!-- on_move="lua:game:updateCurrentActionPosition()"> -->
|
<ctrl type="sheet"
|
||||||
<group id="header_closed"
|
id="handr"
|
||||||
x="0"
|
posparent="handl"
|
||||||
y="0"
|
posref="MR ML"
|
||||||
h="48"
|
x="10"
|
||||||
w="394"
|
tx_noitem="hand_right.tga"
|
||||||
posref="TL TL" />
|
selection_group="inventory_selection"
|
||||||
<group id="hands"
|
onclick_l="proc"
|
||||||
x="9"
|
params_l="inv_left_click_on_slot"
|
||||||
y="0"
|
tooltip="uittHandR"
|
||||||
w="392"
|
menu_r="%self_item_modal_menu"
|
||||||
h="68"
|
dragable="true"
|
||||||
posref="ML ML"
|
ondrag="inv_drag"
|
||||||
setnumber="1">
|
params_drag="from_slot"
|
||||||
<ctrl type="sheet"
|
oncannotdrop="inv_cannot_drop"
|
||||||
id="handr"
|
oncandrop="inv_can_drop"
|
||||||
posref="MR MR"
|
ondrop="inv_drop"
|
||||||
x="0"
|
item_slot="RIGHT_HAND"
|
||||||
tx_noitem="hand_right.tga"
|
value="%hand_r"
|
||||||
selection_group="inventory_selection"
|
other_hand_slot="handl"
|
||||||
onclick_l="proc"
|
auto_grayed="false"
|
||||||
params_l="inv_left_click_on_slot"
|
tooltip_parent="win" />
|
||||||
tooltip="uittHandR"
|
<ctrl type="sheet"
|
||||||
menu_r="%self_item_modal_menu"
|
id="handl"
|
||||||
dragable="true"
|
posparent="gestionsetshands"
|
||||||
ondrag="inv_drag"
|
posref="ML ML"
|
||||||
params_drag="from_slot"
|
x="10"
|
||||||
oncannotdrop="inv_cannot_drop"
|
tx_noitem="hand_left.tga"
|
||||||
oncandrop="inv_can_drop"
|
selection_group="inventory_selection"
|
||||||
ondrop="inv_drop"
|
onclick_l="proc"
|
||||||
item_slot="RIGHT_HAND"
|
params_l="inv_left_click_on_slot"
|
||||||
value="%hand_r"
|
tooltip="uittHandL"
|
||||||
other_hand_slot="handl"
|
menu_r="%self_item_modal_menu"
|
||||||
auto_grayed="false"
|
dragable="true"
|
||||||
tooltip_parent="win" />
|
ondrag="inv_drag"
|
||||||
<ctrl type="sheet"
|
params_drag="from_slot"
|
||||||
id="handl"
|
oncannotdrop="inv_cannot_drop"
|
||||||
posref="ML ML"
|
oncandrop="inv_can_drop"
|
||||||
x="0"
|
ondrop="inv_drop"
|
||||||
tx_noitem="hand_left.tga"
|
item_slot="LEFT_HAND"
|
||||||
selection_group="inventory_selection"
|
value="%hand_l"
|
||||||
onclick_l="proc"
|
other_hand_slot="handr"
|
||||||
params_l="inv_left_click_on_slot"
|
auto_grayed="false"
|
||||||
tooltip="uittHandL"
|
tooltip_parent="win" />
|
||||||
menu_r="%self_item_modal_menu"
|
<!-- Must update some things when the item equipped change -->
|
||||||
dragable="true"
|
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:SHEET)"
|
||||||
ondrag="inv_drag"
|
action="phrase_update_from_hand" />
|
||||||
params_drag="from_slot"
|
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:QUALITY)"
|
||||||
oncannotdrop="inv_cannot_drop"
|
action="phrase_update_from_hand" />
|
||||||
oncandrop="inv_can_drop"
|
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)"
|
||||||
ondrop="inv_drop"
|
action="phrase_update_from_hand" />
|
||||||
item_slot="LEFT_HAND"
|
|
||||||
value="%hand_l"
|
|
||||||
other_hand_slot="handr"
|
|
||||||
auto_grayed="false"
|
|
||||||
tooltip_parent="win" />
|
|
||||||
<!-- Must update some things when the item equipped change -->
|
|
||||||
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:SHEET)"
|
|
||||||
action="phrase_update_from_hand" />
|
|
||||||
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:QUALITY)"
|
|
||||||
action="phrase_update_from_hand" />
|
|
||||||
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)"
|
|
||||||
action="phrase_update_from_hand" />
|
|
||||||
</group>
|
|
||||||
</group>
|
</group>
|
||||||
<tree node="gestionsetshands" />
|
<tree node="gestionsetshands" />
|
||||||
|
|
||||||
|
|
|
@ -1008,7 +1008,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- * INVENTORY * -->
|
<!-- * INVENTORY * -->
|
||||||
|
|
||||||
<group id="inventory" w="256" child_resize_h="true" posparent="status" posref="TR TL" x="30" y="0" >
|
<group id="inventory" w="256" child_resize_h="true" posparent="status" posref="TR TL" x="30" y="0" >
|
||||||
<instance template="special_border" color="UI:SAVE:WIN:COLORS:INV" />
|
<instance template="special_border" color="UI:SAVE:WIN:COLORS:INV" />
|
||||||
|
|
||||||
|
@ -1019,11 +1019,11 @@
|
||||||
|
|
||||||
<instance template="win_button" id="hands2" color="UI:SAVE:WIN:COLORS:INV" text="uimwHands2" posparent="hands" posref="BL TL" x="0" y="-4"
|
<instance template="win_button" id="hands2" color="UI:SAVE:WIN:COLORS:INV" text="uimwHands2" posparent="hands" posref="BL TL" x="0" y="-4"
|
||||||
pushflag="UI:VARIABLES:ISACTIVE:SETS2" win_name="gestionsets2" />
|
pushflag="UI:VARIABLES:ISACTIVE:SETS2" win_name="gestionsets2" />
|
||||||
|
|
||||||
<instance template="win_button" id="hands3" color="UI:SAVE:WIN:COLORS:INV" text="uimwHands" posref="TL TL" x="0" y="-30"
|
|
||||||
pushflag="UI:VARIABLES:ISACTIVE:SETS3" win_name="gestionsetshands" />
|
|
||||||
|
|
||||||
<instance template="win_button" id="invent" color="UI:SAVE:WIN:COLORS:INV" text="uimwInventory" posparent="hands2" posref="BL TL" x="0" y="-4"
|
<instance template="win_button" id="hands3" color="UI:SAVE:WIN:COLORS:INV" text="uimwHands3" posparent="hands2" posref="BL TL" x="0" y="-4"
|
||||||
|
pushflag="UI:VARIABLES:ISACTIVE:SETS3" win_name="gestionsetshands" />
|
||||||
|
|
||||||
|
<instance template="win_button" id="invent" color="UI:SAVE:WIN:COLORS:INV" text="uimwInventory" posparent="hands3" posref="BL TL" x="0" y="-4"
|
||||||
pushflag="UI:VARIABLES:ISACTIVE:INVENTORY" win_name="inventory" />
|
pushflag="UI:VARIABLES:ISACTIVE:INVENTORY" win_name="inventory" />
|
||||||
|
|
||||||
<instance template="win_button" id="action_book" color="UI:SAVE:WIN:COLORS:INV" text="uiPhraseBookTitle" posparent="invent" posref="BL TL" x="0" y="-4"
|
<instance template="win_button" id="action_book" color="UI:SAVE:WIN:COLORS:INV" text="uiPhraseBookTitle" posparent="invent" posref="BL TL" x="0" y="-4"
|
||||||
|
|
Loading…
Reference in a new issue