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/"> 

<Frame name="GB_BarOptions" parent="GB_Options" inherits="GB_BGTemplate" hidden="false">
        <Size><AbsDimension x="545" y="540"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT" relativeTo="GB_OptionsTitle" relativePoint="BOTTOMLEFT"/>
        </Anchors>
        <Frames>
                <Frame name="GB_ActionOptions1" inherits="GB_ActionOptionTemplate" id="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions2" inherits="GB_ActionOptionTemplate" id="2">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions1" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions3" inherits="GB_ActionOptionTemplate" id="3">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions2" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions4" inherits="GB_ActionOptionTemplate" id="4">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions3" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions5" inherits="GB_ActionOptionTemplate" id="5">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions4" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions6" inherits="GB_ActionOptionTemplate" id="6">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions5" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions7" inherits="GB_ActionOptionTemplate" id="7">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions6" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions8" inherits="GB_ActionOptionTemplate" id="8">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions7" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions9" inherits="GB_ActionOptionTemplate" id="9">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions8" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions10" inherits="GB_ActionOptionTemplate" id="10">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions9" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions11" inherits="GB_ActionOptionTemplate" id="11">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="GB_ActionOptions1" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="5" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions12" inherits="GB_ActionOptionTemplate" id="12">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions11" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions13" inherits="GB_ActionOptionTemplate" id="13">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions12" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions14" inherits="GB_ActionOptionTemplate" id="14">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions13" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions15" inherits="GB_ActionOptionTemplate" id="15">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions14" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions16" inherits="GB_ActionOptionTemplate" id="16">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions15" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions17" inherits="GB_ActionOptionTemplate" id="17">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions16" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions18" inherits="GB_ActionOptionTemplate" id="18">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions17" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions19" inherits="GB_ActionOptionTemplate" id="19">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions18" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>
                <Frame name="GB_ActionOptions20" inherits="GB_ActionOptionTemplate" id="20">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ActionOptions19" relativePoint="BOTTOM"/>
                        </Anchors>
                </Frame>

<!-- APPEARANCE OPTIONS -->
                <CheckButton name="GB_Options_HideBar" inherits="GB_CheckboxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="355" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hide";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.HideBar);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="GB_Options_Collapse" inherits="GB_CheckboxTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_HideBar" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "collapse";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.CollapseHiddenButtons);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="GB_Options_Attach" inherits="GB_CheckboxTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_Collapse" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "attach";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.AttachToUnitFrame);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="GB_Options_Mouseover" inherits="GB_CheckboxTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_Attach" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "mouseover";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.ShowOnMouseover);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="GB_Options_ButtonSize" inherits="GB_SliderTemplate" minValue="10" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="355" y="-150"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "buttonSize";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.ButtonSize);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="GB_Options_ButtonAlpha" inherits="GB_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_ButtonSize" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "alpha";
                                        this.scale = 100;
                                        this.func = GB_Set_Appearance;
                                        this.maxlock = true;
                                        GB_Set_Label(GB_TEXT.ButtonAlpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="GB_Options_ButtonSpacing" inherits="GB_SliderTemplate" minValue="-10" maxValue="50"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_ButtonAlpha" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "spacing";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.ButtonSpacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="GB_Options_ButtonRows" inherits="GB_SliderTemplate" minValue="1" maxValue="20"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_ButtonSpacing" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "rows";
                                        this.func = GB_Set_Appearance;
                                        this.maxlock = true;
                                        GB_Set_Label(GB_TEXT.ButtonRows);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Frame name="$parent_AnchorPoint" inherits="GB_MenuControlTemplate">
                        <Size><AbsDimension x="95" y="26"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "GB_Menu_Anchors";
                                        this.index = "attachPoint";
                                        GB_Set_Label(GB_TEXT.AnchorPoint);
                                        GB_Set_Anchor("", 355, 210);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Frame name="$parent_AnchorTo" inherits="GB_MenuControlTemplate">
                        <Size><AbsDimension x="95" y="26"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="$parent_AnchorPoint" relativePoint="BOTTOMRIGHT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "GB_Menu_Anchors";
                                        this.index = "attachTo";
                                        GB_Set_Label(GB_TEXT.AnchorTo);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Slider name="GB_Options_XOffset" inherits="GB_SliderTemplate" minValue="-150" maxValue="150"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_ButtonRows" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-80"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "xoffset";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.BarXOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="GB_Options_YOffset" inherits="GB_SliderTemplate" minValue="-150" maxValue="150"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Options_XOffset" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "yoffset";
                                        this.func = GB_Set_Appearance;
                                        GB_Set_Label(GB_TEXT.BarYOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Frame name="$parent_CopyBarControl" inherits="GB_MenuControlTemplate">
                        <Size><AbsDimension x="115" y="26"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "GB_Menu_CopyBar";
                                        GB_Set_Label("");
                                        GB_Set_Anchor("", 355, 30);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Button name="$parent_CopyButton" inherits="GB_ButtonTemplate" text="GB_COPY">
                        <Size><AbsDimension x="60" y="26"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_CopyBarControl" relativePoint="RIGHT"/>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        GB_Copy_BarSettings();
                                </OnClick>
                        </Scripts>
                </Button>

                <Frame name="$parent_DefaultLeftClick" inherits="GB_BGTemplate">
                        <Size><AbsDimension x="85" y="22"/></Size>
                        <Frames>
                                <Button name="$parent_Button" id="1">
                                        <Size><AbsDimension x="18" y="24"/></Size>
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                        <Offset><AbsDimension x="-18" y="-1"/></Offset>
                                                </Anchor>
                                        </Anchors>
                                        <HitRectInsets>
                                                <AbsInset left="6" right="6" top="7" bottom="7"/>
                                        </HitRectInsets>
                                        <Scripts>
                                                <OnClick>
                                                        GB_Options_ShowClickCastMenu();
                                                </OnClick>
                                        </Scripts>
                                        <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
                                        <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
                                        <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
                                        <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
                                </Button>               
                        </Frames>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormalSmall">
                                                <Color r="1.0" g="1.0" b="1.0"/>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT">
                                                                <Offset><AbsDimension x="4" y="0"/></Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                        <FontString name="$parent_Setting" inherits="GameFontNormalSmall">
                                                <Color r="1.0" g="1.0" b="0.0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT">
                                                                <Offset><AbsDimension x="3" y="0"/></Offset>
                                                        </Anchor>
                                                        <Anchor point="RIGHT">
                                                                <Offset><AbsDimension x="-3" y="0"/></Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0,0,0);
                                        GB_Set_Label(GB_TEXT.DefaultLeftClick);
                                        GB_Set_Anchor("", 5, 25);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Frame name="$parent_DefaultRightClick" inherits="GB_BGTemplate">
                        <Size><AbsDimension x="85" y="22"/></Size>
                        <Frames>
                                <Button name="$parent_Button" id="2">
                                        <Size><AbsDimension x="18" y="24"/></Size>
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                        <Offset><AbsDimension x="-18" y="-1"/></Offset>
                                                </Anchor>
                                        </Anchors>
                                        <HitRectInsets>
                                                <AbsInset left="6" right="6" top="7" bottom="7"/>
                                        </HitRectInsets>
                                        <Scripts>
                                                <OnClick>
                                                        GB_Options_ShowClickCastMenu();
                                                </OnClick>
                                        </Scripts>
                                        <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
                                        <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
                                        <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
                                        <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
                                </Button>               
                        </Frames>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormalSmall">
                                                <Color r="1.0" g="1.0" b="1.0"/>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT">
                                                                <Offset><AbsDimension x="4" y="0"/></Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                        <FontString name="$parent_Setting" inherits="GameFontNormalSmall">
                                                <Color r="1.0" g="1.0" b="0.0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT">
                                                                <Offset><AbsDimension x="3" y="0"/></Offset>
                                                        </Anchor>
                                                        <Anchor point="RIGHT">
                                                                <Offset><AbsDimension x="-3" y="0"/></Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0,0,0);
                                        GB_Set_Label(GB_TEXT.DefaultRightClick);
                                        GB_Set_Anchor("", 177, 25);
                                </OnLoad>
                        </Scripts>
                </Frame>
        </Frames>
        <Layers>
                <Layer level="ARTWORK">
                        <Texture>
                                <Size><AbsDimension x="1" y="1"/></Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset><AbsDimension x="350" y="-3"/></Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset><AbsDimension x="350" y="3"/></Offset>
                                        </Anchor>
                                </Anchors>
                                <Color r=".8" g=".8" b=".8"/>
                        </Texture>
                        <FontString text="GB_APPEARANCE" inherits="GameFontNormal">
                                <Anchors>
                                        <Anchor point="TOP" relativePoint="TOPLEFT">
                                                <Offset><AbsDimension x="447" y="-10"/></Offset>
                                        </Anchor>
                                </Anchors>
                                <Color r="1" g="1" b="0"/>
                        </FontString>
                        <FontString text="GB_COPY_BAR_SETTINGS" inherits="GameFontNormal">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                                                <Offset><AbsDimension x="395" y="33"/></Offset>
                                        </Anchor>
                                </Anchors>
                                <Color r="1" g="1" b="1"/>
                        </FontString>
                </Layer>
        </Layers>
        <Scripts>
                <OnLoad>
                        this:SetBackdropColor(.2, .2, .2);                      
                </OnLoad>
        </Scripts>
</Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.