Compare with Previous | Blame | View Log
<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/"> <Script file="bag.lua"/> <Frame name="BaudBagContainerDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> <Scripts> <OnLoad> BaudBagContainerDropDown_OnLoad(self); </OnLoad> </Scripts> </Frame> <Frame name="BaudBagSubBagTemplate" virtual="true"> <Anchors><Anchor point="CENTER"/></Anchors> <Scripts> <OnLoad> BaudBagSubBag_OnLoad(self); </OnLoad> <OnEvent> BaudBagSubBag_OnEvent(self, event); </OnEvent> </Scripts> </Frame> <Frame name="BaudBagContainerTemplate" topLevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" parent="UIParent" hidden="true" virtual="true"> <Size><AbsDimension x="640" y="560"/></Size> <Anchors> <Anchor point="CENTER"/> </Anchors> <Layers> <Layer level="ARTWORK"> <FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT"> <Size><AbsDimension y="12"/></Size> </FontString> </Layer> </Layers> <Frames> <Frame name="$parentBackdrop"> <Frames> <Frame name="$parentTextures" setAllPoints="true"/> </Frames> </Frame> <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> <Anchors> <Anchor point="TOPRIGHT"/> </Anchors> <Scripts> <OnClick> self:GetParent():Hide(); </OnClick> </Scripts> </Button> <Button name="$parentMenuButton"> <Size><AbsDimension x="16" y="16"/></Size> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parentCloseButton" relativePoint="TOPLEFT"> <Offset><AbsDimension y="-7"/></Offset> </Anchor> </Anchors> <NormalTexture file="Interface\Buttons\UI-PlusButton-Up"/> <PushedTexture file="Interface\Buttons\UI-PlusButton-Down"/> <HighlightTexture file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD"/> <Scripts> <OnClick> BaudBagContainerDropDown_Show(self); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> BaudBagContainer_OnLoad(self); </OnLoad> <OnShow> BaudBagContainer_OnShow(self); </OnShow> <OnHide> BaudBagContainer_OnHide(self); </OnHide> <OnUpdate> BaudBagContainer_OnUpdate(self); </OnUpdate> <OnDragStart> BaudBagContainer_OnDragStart(self); </OnDragStart> <OnDragStop> BaudBagContainer_OnDragStop(self); </OnDragStop> </Scripts> </Frame> <Frame name="BaudBagBagsFrameTemplate" enableMouse="true" virtual="true"> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parentBackdrop" relativePoint="TOPLEFT"/> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <BackgroundInsets><AbsInset left="5" right="5" top="5" bottom="5"/></BackgroundInsets> <TileSize><AbsValue val="16"/></TileSize> <EdgeSize><AbsValue val="16"/></EdgeSize> </Backdrop> <Scripts> <OnLoad> self:SetBackdropColor(0,0,0,1); </OnLoad> <OnShow> BaudBagBagsFrame_OnShow(self); </OnShow> </Scripts> </Frame> <Frame name="BaudBagFirstContainerTemplate" inherits="BaudBagContainerTemplate" virtual="true"> <Layers> <Layer level="ARTWORK"> <FontString name="$parentSlots" inherits="GameFontNormal" justifyH="LEFT"/> </Layer> </Layers> <Frames> <CheckButton name="$parentBagsButton"> <Size><AbsDimension x="24" y="24"/></Size> <Anchors> <Anchor point="RIGHT" relativeTo="$parentName" relativePoint="LEFT"> <Offset><AbsDimension x="-5"/></Offset> </Anchor> </Anchors> <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/> <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/> <CheckedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/> <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> <Scripts> <OnClick> BaudBagBagsButton_OnClick(self); </OnClick> </Scripts> </CheckButton> <Frame name="$parentMoneyFrame" inherits="SmallMoneyFrameTemplate"> <Size><AbsDimension x="206" y="14"/></Size> </Frame> </Frames> </Frame> <Frame name="BBCont1_1" inherits="BaudBagFirstContainerTemplate"> <Frames> <Frame name="$parentBagsFrame" inherits="BaudBagBagsFrameTemplate"> <Frames> <Button name="BaudBagKeyRingButton"> <Size><AbsDimension x="39" y="18"/></Size> <Anchors> <Anchor point="BOTTOM"> <Offset><AbsDimension y="8"/></Offset> </Anchor> </Anchors> <NormalTexture file="Interface\Buttons\UI-Button-KeyRing"/> <HighlightTexture file="Interface\Buttons\UI-Button-KeyRing-Highlight" alphaMode="ADD"/> <PushedTexture file="Interface\Buttons\UI-Button-KeyRing-Down"/> <Scripts> <OnLoad> BaudBagKeyRing_OnLoad(self); </OnLoad> </Scripts> </Button> </Frames> </Frame> </Frames> </Frame> <Frame name="BBCont2_1" inherits="BaudBagFirstContainerTemplate"> <Frames> <Frame name="$parentBagsFrame" inherits="BaudBagBagsFrameTemplate"> <Frames> <Frame name="BaudBagBankSlotPurchaseFrame" parent="BBCont2_1BagsFrame" setAllPoints="true"> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentSlotCost" inherits="GameFontHighlight" text="Slot:" justifyH="LEFT"> <Size><AbsDimension x="30" y="20"/></Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset><AbsDimension x="15" y="25"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Button name="BaudBagBankSlotPurchaseButton" inherits="UIPanelButtonTemplate" text="BANKSLOTPURCHASE"> <Size><AbsDimension y="21"/></Size> <Anchors> <Anchor point="BOTTOM"> <Offset><AbsDimension y="5"/></Offset> </Anchor> <Anchor point="LEFT"> <Offset><AbsDimension x="5"/></Offset> </Anchor> <Anchor point="RIGHT"> <Offset><AbsDimension x="-5"/></Offset> </Anchor> </Anchors> <Scripts> <OnClick> PlaySound("igMainMenuOption"); StaticPopup_Show("CONFIRM_BUY_BANK_SLOT"); </OnClick> </Scripts> </Button> <Frame name="$parentMoneyFrame" inherits="SmallMoneyFrameTemplate" hidden="false"> <Anchors><Anchor point="LEFT" relativeTo="$parentSlotCost" relativePoint="RIGHT"/></Anchors> <Scripts> <OnLoad> SmallMoneyFrame_OnLoad(self); MoneyFrame_SetType(self, "STATIC"); </OnLoad> </Scripts> </Frame> </Frames> </Frame> </Frames> </Frame> <Frame name="BaudBagSubBag-1"/> </Frames> </Frame> <Frame name="BaudBagFrame"> <Scripts> <OnLoad> BaudBag_OnLoad(self); </OnLoad> <OnEvent> BaudBag_OnEvent(self, event); </OnEvent> </Scripts> </Frame> <CheckButton name="BaudBagCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> <Size><AbsDimension x="26" y="26"/></Size> <HitRectInsets> <AbsInset left="0" right="-65" top="0" bottom="0"/> </HitRectInsets> <Scripts> <OnClick> BaudBagCheckButton_OnClick(self); </OnClick> </Scripts> </CheckButton> <CheckButton name="BaudBagOptionsJoinCheckTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> <Size><AbsDimension x="26" y="26"/></Size> <HitRectInsets> <AbsInset left="0" right="0" top="0" bottom="0"/> </HitRectInsets> <Scripts> <OnClick> BaudBagOptionsJoinCheck_OnClick(self); </OnClick> </Scripts> </CheckButton> <Slider name="BaudBagSliderTemplate" inherits="OptionsSliderTemplate" virtual="true"> <Scripts> <OnValueChanged> BaudBagSlider_OnValueChanged(self); </OnValueChanged> </Scripts> </Slider> <Frame name="BaudBagOptionsContainerTemplate" virtual="true"> <Size><AbsDimension x="1" y="50"/></Size> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <BackgroundInsets><AbsInset left="5" right="5" top="5" bottom="5"/></BackgroundInsets> <TileSize><AbsValue val="16"/></TileSize> <EdgeSize><AbsValue val="16"/></EdgeSize> </Backdrop> </Frame> <CheckButton name="BaudBagOptionsBagTemplate" inherits="ItemButtonTemplate" virtual="true"> <Size><AbsDimension x="37" y="37"/></Size> <CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/> <Scripts> <OnClick> BaudBagOptionsBag_OnClick(self); </OnClick> </Scripts> </CheckButton> <Frame name="BaudBagOptionsFrame" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" parent="UIParent" hidden="true"> <Size><AbsDimension x="370" y="290"/></Size> <Anchors><Anchor point="CENTER"/></Anchors> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-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> <Layers> <Layer level="ARTWORK"> <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size><AbsDimension x="300" y="64"/></Size> <Anchors> <Anchor point="TOP"> <Offset><AbsDimension x="0" y="12"/></Offset> </Anchor> </Anchors> </Texture> <FontString name="$parentTitle" inherits="GameFontNormal"> <Anchors> <Anchor point="TOP" relativeTo="$parentHeader"> <Offset><AbsDimension x="0" y="-14"/></Offset> </Anchor> </Anchors> </FontString> <FontString name="BaudBagVersionText" inherits="GameFontNormalSmall"> <Anchors> <Anchor point="TOPRIGHT"> <Offset><AbsDimension x="-13" y="-13"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="BaudBagOptionsSetDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset><AbsDimension x="20" y="-40"/></Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset><AbsDimension x="16" y="3"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> <CheckButton name="BaudBagEnabledCheck" inherits="OptionsCheckButtonTemplate"> <Anchors> <Anchor point="LEFT" relativeTo="BaudBagOptionsSetDropDown" relativePoint="RIGHT"> <Offset><AbsDimension x="5" y="3"/></Offset> </Anchor> </Anchors> <Scripts> <OnClick> BaudBagEnabledCheck_OnClick(self); </OnClick> </Scripts> </CheckButton> <EditBox name="BaudBagNameEditBox" inherits="InputBoxTemplate" letters="40" autoFocus="false"> <Size><AbsDimension x="165" y="16"/></Size> <Anchors> <Anchor point="TOPLEFT"> <Offset><AbsDimension x="40" y="-170"/></Offset> </Anchor> </Anchors> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontNormal"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset><AbsDimension x="5" y="5"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnEscapePressed> self:ClearFocus(); </OnEscapePressed> <OnTextChanged> BaudBagNameEditBox_OnTextChanged(self); </OnTextChanged> </Scripts> </EditBox> <Frame name="BaudBagOptionsBackgroundDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true"> <Anchors> <Anchor point="LEFT" relativeTo="BaudBagNameEditBox"> <Offset><AbsDimension x="-30" y="-45"/></Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset><AbsDimension x="16" y="3"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> <CheckButton name="BaudBagCheckButton1" inherits="BaudBagCheckButtonTemplate" id="1"> <Anchors> <Anchor point="LEFT" relativeTo="BaudBagOptionsBackgroundDropDown" relativePoint="RIGHT"> <Offset><AbsDimension x="-8" y="20"/></Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="BaudBagCheckButton2" inherits="BaudBagCheckButtonTemplate" id="2"> <Anchors> <Anchor point="TOPLEFT" relativeTo="BaudBagCheckButton1" relativePoint="BOTTOMLEFT"> <Offset><AbsDimension x="0" y="8"/></Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="BaudBagCheckButton3" inherits="BaudBagCheckButtonTemplate" id="3"> <Anchors> <Anchor point="TOPLEFT" relativeTo="BaudBagCheckButton2" relativePoint="BOTTOMLEFT"> <Offset><AbsDimension x="0" y="8"/></Offset> </Anchor> </Anchors> </CheckButton> <Slider name="BaudBagSlider1" minValue="2" maxValue="20" valueStep="1" inherits="BaudBagSliderTemplate" id="1"> <Anchors> <Anchor point="TOPRIGHT"> <Offset><AbsDimension x="-25" y="-170"/></Offset> </Anchor> </Anchors> </Slider> <Slider name="BaudBagSlider2" minValue="50" maxValue="200" valueStep="1" inherits="BaudBagSliderTemplate" id="2"> <Anchors> <Anchor point="TOP" relativeTo="BaudBagSlider1" relativePoint="BOTTOM"> <Offset><AbsDimension y="-15"/></Offset> </Anchor> </Anchors> </Slider> <Button name="$parentDefaults" inherits="GameMenuButtonTemplate" text="DEFAULTS"> <Size><AbsDimension x="100" y="21"/></Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset><AbsDimension x="16" y="16"/></Offset> </Anchor> </Anchors> <Scripts> <OnClick> PlaySound("igMainMenuOptionCheckBoxOn"); BaudBagOptions_Defaults(); </OnClick> </Scripts> </Button> <Button name="$parentCancel" inherits="GameMenuButtonTemplate" text="CANCEL"> <Size><AbsDimension x="100" y="21"/></Size> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset><AbsDimension x="-16" y="16"/></Offset> </Anchor> </Anchors> <Scripts> <OnClick> PlaySound("gsTitleOptionExit"); self:GetParent():Hide(); </OnClick> </Scripts> </Button> <Button name="$parentOkay" inherits="GameMenuButtonTemplate" text="OKAY"> <Size><AbsDimension x="100" y="21"/></Size> <Anchors> <Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT"> <Offset><AbsDimension x="0" y="0"/></Offset> </Anchor> </Anchors> <Scripts> <OnClick> PlaySound("gsTitleOptionOK"); self:GetParent().SaveChanges = true; self:GetParent():Hide(); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> BaudBagOptionsFrame_OnLoad(self); </OnLoad> <OnEvent> BaudBagOptionsFrame_OnEvent(self); </OnEvent> <OnShow> BaudBagOptionsFrame_OnShow(self); </OnShow> <OnHide> BaudBagOptionsFrame_OnHide(self); </OnHide> <OnDragStart> self:StartMoving(); </OnDragStart> <OnDragStop> self:StopMovingOrSizing(); self:SetUserPlaced(false); </OnDragStop> </Scripts> </Frame> </Ui>