initial
This commit is contained in:
@@ -0,0 +1,253 @@
|
||||
<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">
|
||||
|
||||
<CheckButton name="NecrosisGeneralTabTemplate" virtual="true" hidden="false">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture file="Interface\SpellBook\SpellBook-SkillLineTab">
|
||||
<Size>
|
||||
<AbsDimension x="64" y="64"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="-3" y="11"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<NormalTexture/>
|
||||
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
|
||||
<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>
|
||||
</CheckButton>
|
||||
|
||||
<Frame name="NecrosisGeneralFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
|
||||
<Size>
|
||||
<AbsDimension x="384" y="512"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-104"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
this:RegisterForDrag("LeftButton");
|
||||
</OnLoad>
|
||||
<OnDragStart>
|
||||
Necrosis_OnDragStart(NecrosisGeneralFrame);
|
||||
</OnDragStart>
|
||||
<OnDragStop>
|
||||
Necrosis_OnDragStop(NecrosisGeneralFrame);
|
||||
</OnDragStop>
|
||||
<OnMouseUp>
|
||||
Necrosis_OnDragStop(NecrosisGeneralFrame);
|
||||
</OnMouseUp>
|
||||
</Scripts>
|
||||
<HitRectInsets>
|
||||
<AbsInset left="0" right="30" top="0" bottom="70"/>
|
||||
</HitRectInsets>
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="NecrosisGeneralIcon" file="Interface\Spellbook\Spellbook-Icon">
|
||||
<Size>
|
||||
<AbsDimension x="58" y="58"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="10" y="-10"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BORDER">
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
|
||||
<Size>
|
||||
<AbsDimension x="128" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPRIGHT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
|
||||
<Size>
|
||||
<AbsDimension x="256" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMLEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
|
||||
<Size>
|
||||
<AbsDimension x="128" y="256"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<FontString name="NecrosisVersion" inherits="GameFontNormal" text="General">
|
||||
<Anchors>
|
||||
<Anchor point="CENTER">
|
||||
<Offset>
|
||||
<AbsDimension x="6" y="233"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
<FontString name="NecrosisGeneralPageText" inherits="GameFontNormal">
|
||||
<Size>
|
||||
<AbsDimension x="102" y="0"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOM">
|
||||
<Offset>
|
||||
<AbsDimension x="-14" y="96"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Button name="NecrosisGeneralCloseButton" inherits="UIPanelCloseButton">
|
||||
<Anchors>
|
||||
<Anchor point="CENTER" relativeTo="NecrosisGeneralFrame" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-46" y="-24"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
|
||||
<CheckButton name="NecrosisGeneralTab1" inherits="NecrosisGeneralTabTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-32" y="-65"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(NECROSIS_CONFIGURATION.Menu1);
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
NecrosisGeneralTab_OnClick(1);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Icons\INV_Misc_Gem_Amethyst_02"/>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="NecrosisGeneralTab2" inherits="NecrosisGeneralTabTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="NecrosisGeneralTab1" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-17"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(NECROSIS_CONFIGURATION.Menu2);
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
NecrosisGeneralTab_OnClick(2);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Icons\Ability_Creature_Cursed_03"/>
|
||||
</CheckButton>
|
||||
|
||||
<CheckButton name="NecrosisGeneralTab3" inherits="NecrosisGeneralTabTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="NecrosisGeneralTab2" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-17"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(NECROSIS_CONFIGURATION.Menu3);
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
NecrosisGeneralTab_OnClick(3);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Icons\Trade_Engineering"/>
|
||||
</CheckButton>
|
||||
<CheckButton name="NecrosisGeneralTab4" inherits="NecrosisGeneralTabTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="NecrosisGeneralTab3" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-17"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(NECROSIS_CONFIGURATION.Menu4);
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
NecrosisGeneralTab_OnClick(4);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Icons\Spell_Nature_TimeStop"/>
|
||||
</CheckButton>
|
||||
<CheckButton name="NecrosisGeneralTab5" inherits="NecrosisGeneralTabTemplate">
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="NecrosisGeneralTab4" relativePoint="BOTTOMLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="-17"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnEnter>
|
||||
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
|
||||
GameTooltip:SetText(NECROSIS_CONFIGURATION.Menu5);
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GameTooltip:Hide();
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
NecrosisGeneralTab_OnClick(5);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Icons\Ability_Creature_Cursed_04"/>
|
||||
</CheckButton>
|
||||
</Frames>
|
||||
</Frame>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user