<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> <Frame name="DJBagsBankBar" parent="UIParent" movable="true" enableMouse="true" hidden="true"> <Size x="299" y="77" /> <Anchors> <Anchor point="TOPLEFT" x="150" y="-100" /> </Anchors> <Backdrop bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\Buttons\WHITE8x8"> <EdgeSize> <AbsValue val="1" /> </EdgeSize> </Backdrop> <Frames> <Button name="$parentBag1" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" x="5" y="-5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 1, BankButtonIDToInvSlotID(1, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag2" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag1" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 2, BankButtonIDToInvSlotID(2, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag3" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag2" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 3, BankButtonIDToInvSlotID(3, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag4" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag3" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 4, BankButtonIDToInvSlotID(4, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag5" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag4" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 5, BankButtonIDToInvSlotID(5, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag6" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag5" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 6, BankButtonIDToInvSlotID(6, 1)) </OnLoad> </Scripts> </Button> <Button name="$parentBag7" inherits="ItemButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag6" relativePoint="TOPRIGHT" x="5" /> </Anchors> <Scripts> <OnLoad> DJBagsBagItemLoad(self, NUM_BAG_SLOTS + 7, BankButtonIDToInvSlotID(7, 1)) </OnLoad> </Scripts> </Button> <EditBox name="$parentSearchBar" inherits="BagSearchBoxTemplate"> <Size y="25" /> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBag1" relativePoint="BOTTOMLEFT" x="5" y="-5"/> <Anchor point="TOPRIGHT" relativeTo="$parentBag7" relativePoint="BOTTOMRIGHT" y="-5" /> </Anchors> </EditBox> <Button name="$parentTab1" inherits="TabButtonTemplate" text="BANK"> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT" /> </Anchors> <Scripts> <OnLoad> PanelTemplates_TabResize(self, 0); self.HighlightTexture:SetWidth(self:GetTextWidth() + 31); self.tab = 1 </OnLoad> <OnClick> DJBagsBankTab_OnClick(self) </OnClick> </Scripts> </Button> <Button name="$parentTab2" inherits="TabButtonTemplate" text="REAGENT_BANK"> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parentTab1" relativePoint="BOTTOMRIGHT" /> </Anchors> <Scripts> <OnLoad> PanelTemplates_TabResize(self, 0); self.HighlightTexture:SetWidth(self:GetTextWidth() + 31); self.tab = 2 </OnLoad> <OnClick> DJBagsBankTab_OnClick(self) </OnClick> </Scripts> </Button> <Frame name="DJBagsBankContainer" parent="DJBagsBankBar" inherits="DJBagsContainerTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" y="-5" /> </Anchors> </Frame> <Frame name="DJBagsReagentContainer" parent="DJBagsBankBar" inherits="DJBagsContainerTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT" y="-5" /> </Anchors> </Frame> <Button name="$parentReagentButton" parent="DJBagsReagentContainer" parentKey="reagentButton" inherits="UIPanelButtonTemplate" text="BANKSLOTPURCHASE" hidden="true"> <Size x="100" y="25"/> <Anchors> <Anchor point="TOPLEFT" relativeTo="DJBagsReagentContainer" relativePoint="TOPLEFT" x="5" y="-5" /> </Anchors> <Scripts> <OnClick> PlaySound("igMainMenuOption"); StaticPopup_Show("CONFIRM_BUY_REAGENTBANK_TAB"); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> PanelTemplates_SetNumTabs(self, 2) DJBagsBankBarLoad(self) </OnLoad> <OnShow> DJBagsBankBar_OnShow(self) </OnShow> <OnHide> DJBagsBankBar_OnHide(self) </OnHide> </Scripts> </Frame> </Ui>