initial commit
This commit is contained in:
Executable
+211
@@ -0,0 +1,211 @@
|
||||
<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">
|
||||
<Script file="GraphHandler.lua"/>
|
||||
<Frame name="GraphFrame" enableMouse="true" virtual="true">
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
GraphHandler.InitElements();
|
||||
</OnLoad>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel" enableMouse="true" virtual="true">
|
||||
</Frame>
|
||||
|
||||
<Button name="GraphFrameColorBar" virtual="true">
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture name="$parentTexture" virtual="true">
|
||||
<Color r="1.0" g="1.0" b="1.0" a="1.0"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<Onload>
|
||||
this:RegisterEvent("VARIABLES_LOADED");
|
||||
</Onload>
|
||||
<OnEvent>
|
||||
GraphHandler.Register(GraphHandler.BAR, this);
|
||||
</OnEvent>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="GraphFrameLine" virtual="true">
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<Texture name="$parentTexture" virtual="true">
|
||||
<Color r="1.0" g="1.0" b="1.0" a="1.0"/>
|
||||
</Texture>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<Onload>
|
||||
this:RegisterEvent("VARIABLES_LOADED");
|
||||
</Onload>
|
||||
<OnEvent>
|
||||
GraphHandler.Register(GraphHandler.LINE, this);
|
||||
</OnEvent>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Button name="GraphFrameText" virtual="true">
|
||||
<Layers>
|
||||
<Layer level="OVERLAY">
|
||||
<FontString name="$parentT" inherits="GameFontNormalSmall"/>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<Onload>
|
||||
this:RegisterEvent("VARIABLES_LOADED");
|
||||
</Onload>
|
||||
<OnEvent>
|
||||
GraphHandler.Register(GraphHandler.TEXT, this);
|
||||
</OnEvent>
|
||||
</Scripts>
|
||||
</Button>
|
||||
<Frame name="GraphFrameLegend" virtual="true">
|
||||
<Size>
|
||||
<AbsDimension x="30" y="18"/>
|
||||
</Size>
|
||||
<Frames>
|
||||
<Button name="$parentColor" inherits="GraphFrameColorBar" hidden="true">
|
||||
<Size>
|
||||
<AbsDimension x="10" y="18"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="1"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Button>
|
||||
<Button name="$parentIcon" hidden="true">
|
||||
<Size>
|
||||
<AbsDimension x="16" y="16"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativeTo="$parentColor" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="2" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Layers>
|
||||
<Layer level="BORDER">
|
||||
<Texture name="$parentTexture"/>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Scripts>
|
||||
<Onload>
|
||||
this:RegisterForClicks("LeftButtonUp");
|
||||
</Onload>
|
||||
<OnClick>
|
||||
GraphHandler.Legend.OnClick(arg1);
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
</Frames>
|
||||
<Scripts>
|
||||
<Onload>
|
||||
this:SetFrameLevel(this:GetFrameLevel() + 1);
|
||||
this:RegisterEvent("VARIABLES_LOADED");
|
||||
</Onload>
|
||||
<OnEvent>
|
||||
GraphHandler.Register(GraphHandler.LEGEND, this);
|
||||
</OnEvent>
|
||||
<OnEnter>
|
||||
GraphHandler.Legend.OnEnter();
|
||||
</OnEnter>
|
||||
<OnLeave>
|
||||
GraphHandler.Legend.OnLeave();
|
||||
</OnLeave>
|
||||
</Scripts>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel2" inherits="GraphPanel" virtual="true">
|
||||
<Frames>
|
||||
<Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel4" inherits="GraphPanel" virtual="true">
|
||||
<Frames>
|
||||
<Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel8" inherits="GraphPanel" virtual="true">
|
||||
<Frames>
|
||||
<Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel16" inherits="GraphPanel" virtual="true">
|
||||
<Frames>
|
||||
<Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_08" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_09" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_10" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_11" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_12" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_13" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_14" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_15" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_16" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
<Frame name="GraphPanel32" inherits="GraphPanel" virtual="true">
|
||||
<Frames>
|
||||
<Button name="$parent_00" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_01" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_02" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_03" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_04" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_05" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_06" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_07" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_08" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_09" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_10" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_11" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_12" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_13" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_14" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_15" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_16" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_17" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_18" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_19" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_20" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_21" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_22" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_23" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_24" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_25" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_26" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_27" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_28" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_29" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_30" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
<Button name="$parent_31" inherits="GraphFrameColorBar" hidden="true"/>
|
||||
</Frames>
|
||||
</Frame>
|
||||
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user