08-22-2018, 03:14 AM
|
#1
|
A Gray Wolf
Join Date: Jun 2010
Posts: 4
|
about Listener for button
Hi,I have a question for button listener.
for example EQUI_Inventory.xml ,The Destroy button:
<Button item="IW_Destroy">
<ScreenID>IW_Destroy</ScreenID>
<Font>2</Font>
<RelativePosition>true</RelativePosition>
<Location>
<X>202</X>
<Y>402</Y>
</Location>
<Size>
<CX>50</CX>
<CY>20</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Destroy</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
</Button>
I cannt see EQTYPE or function for"IW_Destroy" ,I dont know how it to work, thanks!
|
|
|
08-22-2018, 07:41 AM
|
#2
|
A Gray Wolf
Join Date: Jun 2010
Posts: 4
|
I try to add "Destroy" button into Loot window,but it not work.
<Button item="LW_Destroy">
<ScreenID>IW_Destroy</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<AutoStretch>true</AutoStretch>
<LeftAnchorOffset>316</LeftAnchorOffset>
<TopAnchorOffset>34</TopAnchorOffset>
<RightAnchorOffset>111</RightAnchorOffset>
<BottomAnchorOffset>10</BottomAnchorOffset>
<RightAnchorToLeft>false</RightAnchorToLeft>
<BottomAnchorToTop>false</BottomAnchorToTop>
<TopAnchorToTop>false</TopAnchorToTop>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Destroy</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BigBtnNormal</Normal>
<Pressed>A_BigBtnPressed</Pressed>
<Flyby>A_BigBtnFlyby</Flyby>
<Disabled>A_BigBtnDisabled</Disabled>
<PressedFlyby>A_BigBtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
</Button>
|
|
|
08-22-2018, 09:30 PM
|
#3
|
Lord Doljonijiarnimorinar
Join Date: Jan 2003
Server: Povar
Posts: 1,047
|
Correct it has no eqtype
|
|
|
08-23-2018, 01:04 AM
|
#4
|
A Gray Wolf
Join Date: Jun 2010
Posts: 4
|
thank you for reply.
I wanna add a Destroy button into loot window.
How can I let it work?
|
|
|
08-23-2018, 04:31 PM
|
#5
|
Premium Member
Join Date: Sep 2002
Posts: 360
|
Sorry :(
If it doesn't have an EQ Type then you cannot move it outside it's original window.
|
|
|
08-23-2018, 08:37 PM
|
#6
|
A Gray Wolf
Join Date: Jun 2010
Posts: 4
|
thank you
I see,thank you for your answer.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|