186 lines
5.4 KiB
XML
186 lines
5.4 KiB
XML
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
|
|
<Script file="TabGuildBank.lua"></Script>
|
|
|
|
<Button name="AltoGuildBankMenuItemTemplate" inherits="AltoMenuItemTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="156" y="20"/>
|
|
</Size>
|
|
<Scripts>
|
|
<OnClick>
|
|
for i=1, 6 do
|
|
_G[ "AltoholicTabGuildBankMenuItem"..i ]:UnlockHighlight();
|
|
end
|
|
_G[ "AltoholicTabGuildBankMenuItem"..self:GetID() ]:LockHighlight();
|
|
Altoholic.GuildBank:DrawTab(self:GetID())
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<Frame name="AltoholicTabGuildBank" parent="AltoholicFrame" hidden="true">
|
|
<Size>
|
|
<AbsDimension x="758" y="447"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText1" inherits="GameFontNormalSmall" justifyH="LEFT" text="GUILD">
|
|
<Size>
|
|
<AbsDimension x="100" y="18"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AltoholicFrameSearchLabel" relativePoint="RIGHT" >
|
|
<Offset x="60" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="255" g="255" b="255" />
|
|
</FontString>
|
|
<FontString name="$parentInfo1" inherits="GameFontNormalSmall" justifyH="LEFT">
|
|
<Size>
|
|
<AbsDimension x="250" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AltoholicFrameSearchLabel" relativePoint="RIGHT" >
|
|
<Offset x="360" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="255" g="255" b="255" />
|
|
</FontString>
|
|
<FontString name="$parentInfo2" inherits="GameFontNormalSmall" justifyH="LEFT">
|
|
<Size>
|
|
<AbsDimension x="250" y="16"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentInfo1" relativePoint="BOTTOMLEFT" >
|
|
<Offset x="0" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="255" g="255" b="255" />
|
|
</FontString>
|
|
<FontString name="$parentMoney" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size x="320" y="24" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOMRIGHT">
|
|
<Offset x="-250" y="13" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="255" g="255" b="255" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Frame name="$parent_SelectGuild" inherits="UIDropDownMenuTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentText1" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="-25" y="-2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
UIDropDownMenu_SetWidth(self, 160)
|
|
UIDropDownMenu_SetButtonWidth(self, 20)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Button name="$parent_DeleteGuildButton" inherits="UIPanelButtonTemplate" text="Delete">
|
|
<Size>
|
|
<AbsDimension x="80" y="24"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_SelectGuild" relativePoint="RIGHT" >
|
|
<Offset>
|
|
<AbsDimension x="10" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Altoholic.Tabs.GuildBank:DeleteGuild();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<CheckButton name="$parent_HideInTooltip" inherits="UICheckButtonTemplate">
|
|
<Size>
|
|
<AbsDimension x="20" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentInfo2" relativePoint="BOTTOMLEFT" >
|
|
<Offset>
|
|
<AbsDimension x="0" y="-3"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
Altoholic.Tabs.GuildBank:HideGuild(self);
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Button name="$parentMenuItem1" inherits="AltoGuildBankMenuItemTemplate" id="1">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="23" y="-105"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parentMenuItem2" inherits="AltoGuildBankMenuItemTemplate" id="2">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentMenuItem1" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parentMenuItem3" inherits="AltoGuildBankMenuItemTemplate" id="3">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentMenuItem2" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parentMenuItem4" inherits="AltoGuildBankMenuItemTemplate" id="4">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentMenuItem3" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parentMenuItem5" inherits="AltoGuildBankMenuItemTemplate" id="5">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentMenuItem4" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parentMenuItem6" inherits="AltoGuildBankMenuItemTemplate" id="6">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parentMenuItem5" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
<Scripts>
|
|
<OnShow>
|
|
Altoholic.Tabs.GuildBank:OnShow()
|
|
</OnShow>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
</Ui> |