beginnings of the manage frame

This commit is contained in:
Simon Hirsig
2015-10-26 13:13:37 +01:00
parent 12dd7018d5
commit 03a92a4df8
3 changed files with 180 additions and 463 deletions
-30
View File
@@ -9,36 +9,6 @@
</OnUpdate>
</Scripts>
</Frame>
<Button name="SearchListItemTemplate" inherits="ListItemTemplate" virtual="true">
<Scripts>
<OnLoad>
this:RegisterForClicks("LeftButtonUp", "RightButtonUp")
</OnLoad>
<OnLeave>
GameTooltip:Hide()
ResetCursor()
</OnLeave>
<OnClick>
AuxBuyEntry_OnClick(index)
</OnClick>
<OnUpdate>
if index then
if IsControlKeyDown() then
ShowInspectCursor()
elseif IsAltKeyDown() then
SetCursor("BUY_CURSOR")
else
ResetCursor()
end
end
</OnUpdate>
</Scripts>
<HighlightTexture name="$parentHighlight" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor><Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.578125"/>
</HighlightTexture>
</Button>
<Frame name="AuxBuyFrame" hidden="true" parent="AuxFrame" setAllPoints="true">
<Frames>