vanilla-wow-addons – Rev 1
?pathlinks?
<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">
<!--
Enchantrix v3.6.1 (Platypus)
$Id: EnchantrixBarker.xml 910 2006-06-21 15:48:51Z mentalpower $
License:
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program(see GLP.txt); if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<Button name="Enchantrix_BarkerButton" inherits="UIPanelButtonTemplate" hidden="true" text="Trade Barker">
<Size>
<AbsDimension x="105" y="22"/>
</Size>
<Scripts>
<OnClick>
Enchantrix_BarkerOnClick();
</OnClick>
</Scripts>
</Button>
<Button name="Enchantrix_BarkerOptionsButton" inherits="UIPanelButtonTemplate" hidden="true" text="Barker Options">
<Size>
<AbsDimension x="105" y="22"/>
</Size>
<Scripts>
<OnClick>
Enchantrix_BarkerOptions_OnClick();
</OnClick>
</Scripts>
</Button>
<Slider name="EnchantrixBarker_OptionsSliderTemplate" inherits="OptionsSliderTemplate" virtual="true" minValue="0" maxValue="100" defaultValue="50" valueStep="2">
<Size>
<AbsDimension x="290" y="17"/>
</Size>
<Scripts>
<OnValueChanged> <!-- we need to update the text on value change -->
EnchantrixBarker_OptionsSlider_OnValueChanged();
</OnValueChanged>
</Scripts>
</Slider>
<Button name="Enchantrix_BarkerOptions_FrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(Enchantrix_BarkerOptions_Frame);
Enchantrix_BarkerOptions_Tab_OnClick();
</OnClick>
</Scripts>
</Button>
<Frame name="Enchantrix_BarkerOptions_Frame"
toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true" >
<Size>
<AbsDimension x="384" y="512"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="0" right="30" top="0" bottom="45"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon">
<Size>
<AbsDimension x="60" y="60"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="Enchantrix_BarkerOptionsFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="Enchantrix_BarkerOptionsFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="Enchantrix_BarkerOptionsFrameBottomLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="Enchantrix_BarkerOptionsFrameBottomRight" file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="Enchantrix_BarkerOptionsFrameTitleText" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-18"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="Enchantrix_BarkerOptionsTest_Button" inherits="UIPanelButtonTemplate" text="Test Barker">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-150" y="-50"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
Enchantrix_BarkerOptions_TestButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="Enchantrix_BarkerOptions_FrameTab1" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="1" text="Profit and Price">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="45"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Enchantrix_BarkerOptions_FrameTab2" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="2" text="Item Priorities">
<Anchors>
<Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-14" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Enchantrix_BarkerOptions_FrameTab3" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="3" text="Stats 1">
<Anchors>
<Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-14" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Enchantrix_BarkerOptions_FrameTab4" inherits="Enchantrix_BarkerOptions_FrameTabTemplate" id="4" text="Stats 2">
<Anchors>
<Anchor point="LEFT" relativeTo="Enchantrix_BarkerOptions_FrameTab3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-14" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="Enchantrix_BarkerOptions_CloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="CENTER" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-46" y="-24"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Slider name="EnchantrixBarker_OptionsSlider_1" id="1" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-95"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_2" id="2" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_3" id="3" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_4" id="4" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_5" id="5" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_6" id="6" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_7" id="7" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_8" id="8" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_9" id="9" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
<Slider name="EnchantrixBarker_OptionsSlider_10" id="10" inherits="EnchantrixBarker_OptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="EnchantrixBarker_OptionsSlider_9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</Slider>
</Frames>
<Scripts>
<OnShow>
Enchantrix_BarkerOptions_OnShow();
PanelTemplates_SetNumTabs(Enchantrix_BarkerOptions_Frame, 4);
Enchantrix_BarkerOptions_Frame.selectedTab=1;
PanelTemplates_UpdateTabs(Enchantrix_BarkerOptions_Frame);
</OnShow>
</Scripts>
</Frame>
<Frame name="EnchantrixBarker" parent="UIParent" hidden="true">
<Scripts>
<OnLoad>
EnchantrixBarker_OnLoad();
this:RegisterEvent("CRAFT_SHOW")
this:RegisterEvent("CRAFT_CLOSE")
</OnLoad>
<OnEvent>
EnchantrixBarker_OnEvent();
</OnEvent>
</Scripts>
</Frame>
</Ui>