vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
        <Script file="AllInOneBank_Config.lua"/>
        <Frame name="AIOBConfigFrame" frameStrata="HIGH" parent="UIParent" toplevel="true" movable="false" enableMouse="true" hidden="true">
                <Size><AbsDimension x="250" y="380"/></Size>
                <Anchors>
                        <Anchor point="CENTER" />
                </Anchors>
                <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>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" text="All In One Bank Config">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="AIOBConfigCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
                                <Size>
                                        <AbsDimension x="80" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                HideUIPanel(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <CheckButton name="AIOBConfigReplaceCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="TOPLEFT">
                                                <Offset><AbsDimension x="10" y="-45"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="AIOBConfigFreezeCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="AIOBConfigReplaceCheck">
                                                <Offset><AbsDimension x="0" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <EditBox name="AIOBConfigColumns" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate">
                                <Size><AbsDimension x="35" y="25"/></Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="AIOBConfigFreezeCheck" relativePoint="BOTTOMLEFT">
                                                <Offset><AbsDimension x="10" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString inherits="GameFontNormalSmall" text="AIOB Columns">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                                        <Offset><AbsDimension x="-5" y="0"/></Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </EditBox>
                        <CheckButton name="AIOBConfigHighlightItemsCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="AIOBConfigColumns">
                                                <Offset><AbsDimension x="-10" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="AIOBConfigHighlightBagsCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="AIOBConfigHighlightItemsCheck">
                                                <Offset><AbsDimension x="0" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="AIOBConfigGraphicsCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="AIOBConfigHighlightBagsCheck">
                                                <Offset><AbsDimension x="0" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                        <CheckButton name="AIOBConfigBackgroundCheck" inherits="UICheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT" RelativePoint="BOTTOMLEFT" relativeTo="AIOBConfigGraphicsCheck">
                                                <Offset><AbsDimension x="0" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </CheckButton>
                </Frames>
                <Scripts>
                        <OnLoad>
                                UIPanelWindows["AIOBConfigFrame"] = {area = "center", pushable = 0};
                                AIOBConfigReplaceCheckText:SetText(AIOB_CONFIG_REPLACE);
                                AIOBConfigFreezeCheckText:SetText(AIOB_CONFIG_FREEZE);
                                AIOBConfigHighlightItemsCheckText:SetText(AIOB_CONFIG_HIGHLIGHTITEMS);
                                AIOBConfigHighlightBagsCheckText:SetText(AIOB_CONFIG_HIGHLIGHTBAGS);
                                AIOBConfigGraphicsCheckText:SetText("Use Bizzard Style Background");
                                AIOBConfigBackgroundCheckText:SetText("Show Background in AIOB");
                        </OnLoad>
                        <OnShow>
                                AIOBConfig_OnShow();
                        </OnShow>
                        <OnHide>
                                AIOBConfig_OnHide();
                                if (MYADDONS_ACTIVE_OPTIONSFRAME == this) then
                                        ShowUIPanel(myAddOnsFrame);
                                end
                        </OnHide>
                </Scripts>
        </Frame>
</Ui>