dialog now embedded
This commit is contained in:
@@ -28,6 +28,7 @@ end
|
|||||||
function Aux.buy.dialog_cancel()
|
function Aux.buy.dialog_cancel()
|
||||||
Aux.scan.abort()
|
Aux.scan.abort()
|
||||||
AuxBuyDialog:Hide()
|
AuxBuyDialog:Hide()
|
||||||
|
AuxBuyList:Show()
|
||||||
AuxBuySearchButton:Enable()
|
AuxBuySearchButton:Enable()
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -149,6 +150,7 @@ function show_dialog(buyout_mode, hyperlink, stack_size, amount)
|
|||||||
AuxBuyDialogBuyoutPrice:Hide()
|
AuxBuyDialogBuyoutPrice:Hide()
|
||||||
AuxBuyDialogBid:Show()
|
AuxBuyDialogBid:Show()
|
||||||
end
|
end
|
||||||
|
AuxBuyList:Hide()
|
||||||
AuxBuyDialog:Show()
|
AuxBuyDialog:Show()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -276,19 +276,9 @@
|
|||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Frame name="AuxBuyDialog" frameStrata="FULLSCREEN_DIALOG" toplevel="true" enableMouse="true" hidden="true" movable="true">
|
<Frame name="AuxBuyDialog" hidden="true">
|
||||||
<Size><AbsDimension x="230" y="140" /></Size>
|
<Size><AbsDimension x="230" y="140" /></Size>
|
||||||
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-150"/></Offset></Anchor></Anchors>
|
<Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="300" y="-150"/></Offset></Anchor></Anchors>
|
||||||
<Scripts>
|
|
||||||
<OnLoad>this:RegisterForDrag("LeftButton")</OnLoad>
|
|
||||||
<OnDragStart>this:StartMoving()</OnDragStart>
|
|
||||||
<OnDragStop>this:StopMovingOrSizing()</OnDragStop>
|
|
||||||
</Scripts>
|
|
||||||
<Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
||||||
<BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>
|
|
||||||
<TileSize><AbsValue val="32"/></TileSize>
|
|
||||||
<EdgeSize><AbsValue val="32"/></EdgeSize>
|
|
||||||
</Backdrop>
|
|
||||||
<Frames>
|
<Frames>
|
||||||
<SimpleHTML name="$parentHTML">
|
<SimpleHTML name="$parentHTML">
|
||||||
<Size><AbsDimension x="170" y="1" wraponspaces="false" /></Size>
|
<Size><AbsDimension x="170" y="1" wraponspaces="false" /></Size>
|
||||||
@@ -317,7 +307,7 @@
|
|||||||
</Scripts>
|
</Scripts>
|
||||||
</Button>
|
</Button>
|
||||||
<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
|
<Button name="$parentCancelButton" inherits="UIPanelButtonTemplate" text="Cancel">
|
||||||
<Size><AbsDimension x="85" y="22"/> </Size>
|
<Size><AbsDimension x="85" y="22"/></Size>
|
||||||
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
|
<Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="15"/></Offset></Anchor></Anchors>
|
||||||
<Scripts>
|
<Scripts>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
@@ -329,4 +319,4 @@
|
|||||||
</Frame>
|
</Frame>
|
||||||
</Frames>
|
</Frames>
|
||||||
</Frame>
|
</Frame>
|
||||||
</Ui>
|
</Ui>
|
||||||
|
|||||||
Reference in New Issue
Block a user