Fênetre que avec les mains rajouté, la largeur est cependant pas encore bien géré.

This commit is contained in:
Sit Melai 2017-05-15 17:05:01 +02:00
parent a6696ef258
commit 0fe0007d48
2 changed files with 62 additions and 75 deletions

View file

@ -1225,43 +1225,30 @@
<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()"> -->
<group id="header_closed"
x="0"
y="0"
h="48"
w="394"
posref="TL TL" />
<group id="hands"
x="9"
y="0"
w="392"
h="68"
posref="ML ML"
setnumber="1">
<ctrl type="sheet" <ctrl type="sheet"
id="handr" id="handr"
posref="MR MR" posparent="handl"
x="0" posref="MR ML"
x="10"
tx_noitem="hand_right.tga" tx_noitem="hand_right.tga"
selection_group="inventory_selection" selection_group="inventory_selection"
onclick_l="proc" onclick_l="proc"
@ -1281,8 +1268,9 @@
tooltip_parent="win" /> tooltip_parent="win" />
<ctrl type="sheet" <ctrl type="sheet"
id="handl" id="handl"
posparent="gestionsetshands"
posref="ML ML" posref="ML ML"
x="0" x="10"
tx_noitem="hand_left.tga" tx_noitem="hand_left.tga"
selection_group="inventory_selection" selection_group="inventory_selection"
onclick_l="proc" onclick_l="proc"
@ -1308,7 +1296,6 @@
<link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)" <link expr="depends(@%bag:[%hand_r:INDEX_IN_BAG-1]:ENCHANT)"
action="phrase_update_from_hand" /> action="phrase_update_from_hand" />
</group> </group>
</group>
<tree node="gestionsetshands" /> <tree node="gestionsetshands" />
<group type="container" <group type="container"

View file

@ -1020,10 +1020,10 @@
<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" <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" /> 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="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"