vanilla-wow-addons – Rev 1
?pathlinks?
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by () -->
<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/
D:\UI.xsd">
<Script file="Localization.lua"/>
<Script file="TextVars.lua"/>
<Script file="BEB.lua"/>
<Frame name="BEBElementTemplate" enableMouse="false" virtual="true">
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.texture = getglobal(this:GetName().."Texture")
</OnLoad>
<OnHide>
this.shown = nil
</OnHide>
<OnShow>
this.shown = true
</OnShow>
</Scripts>
</Frame>
<Button name="BEBMain" hidden="false" enableMouse="true" movable="true" parent="UIParent">
<Scripts>
<OnEnter>
BEB.OnEnter()
</OnEnter>
<OnLeave>
BEB.OnLeave()
</OnLeave>
<OnDragStart>
BEB.OnDragStart();
</OnDragStart>
<OnDragStop>
BEB.OnDragStop();
</OnDragStop>
<OnUpdate>
BEB.OnUpdate(arg1);
</OnUpdate>
<OnEvent>
BEB.OnEvent(event);
</OnEvent>
<OnLoad>
BEB.OnLoad();
</OnLoad>
<OnClick>
BEB.OnClick(arg1);
</OnClick>
</Scripts>
<Frames>
<Frame name="BEBTextEventFrame" hidden="true">
<Scripts>
<OnEvent>
BEB.StringEvent(event)
</OnEvent>
</Scripts>
</Frame>
<Frame name="BEBBackground" inherits="BEBElementTemplate"/>
<Frame name="BEBXpBar" inherits="BEBElementTemplate"/>
<Frame name="BEBRestedXpBar" inherits="BEBElementTemplate"/>
<Frame name="BEBMarkers" inherits="BEBElementTemplate"/>
<Frame name="BEBXpTick" inherits="BEBElementTemplate"/>
<Frame name="BEBRestedXpTick" inherits="BEBElementTemplate">
<Frames>
<Frame name="BEBRestedXpTickGlow" inherits="BEBElementTemplate"/>
</Frames>
<Scripts>
<OnHide>
BEBRestedXpTickGlow:Hide()
</OnHide>
<OnShow>
if (GetRestState() == 1) then
BEBRestedXpTickGlow:Show()
else
BEBRestedXpTickGlow:Hide()
end
</OnShow>
</Scripts>
</Frame>
<Frame name="BEBBarText">
<Layers>
<Layer>
<FontString name="$parentTextframe" inherits="GameFontNormal" maxLines="1" justifyH="CENTER" justifyV="MIDDLE">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.textframe = getglobal(this:GetName().."Textframe")
</OnLoad>
<OnShow>
this.shown = true
</OnShow>
<OnHide>
this.shown = nil
</OnHide>
</Scripts>
</Frame>
</Frames>
</Button>
</Ui>