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/
D:\UI.xsd">
<Script file="Localization.lua"/>
<Script file="BEBOptions.lua"/>
<Frame name="BEBConfigFrame" toplevel="true" parent="UIParent" frameStrata="DIALOG" hidden="true" enableMouse="true" movable="true">
<Size>
<AbsDimension x="320" y="350"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="24"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="BEBCurrentSelector" inherits="GameFontNormal" justifyH="LEFT" text="Current Selector">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BEBColorsHeader" inherits="GameFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-125"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="BEBAttachHeader" inherits="GameFontNormal" justifyH="CENTER">
<Anchors>
<Anchor point="TOP" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-90"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="BEBConfigHeader" enableMouse="true ">
<Size>
<AbsDimension x="140" y="20"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="BEBConfigHeaderText" inherits="GameFontNormal" justifyV="MIDDLE">
<Anchors>
<Anchor point="CENTER" relativeTo="BEBConfigHeader">
<Offset>
<AbsDimension y="-5" x="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
BEBOPTIONS.OnMouseDown()
</OnMouseDown>
<OnMouseUp>
BEBOPTIONS.OnMouseUp()
</OnMouseUp>
</Scripts>
</Frame>
<Button name="$parentButtonClose" inherits="UIPanelButtonTemplate">
<Size>
<AbsDimension y="20" x="100"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="5" y="5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
BEBConfigFrame:Hide()
</OnClick>
</Scripts>
</Button>
<Button name="BEBDefaultsButton" inherits="UIPanelButtonTemplate">
<Size>
<AbsDimension y="20" x="100"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="5" y="25"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
BEB.LoadDefaults()
</OnClick>
</Scripts>
</Button>
<Button name="BEBMainSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBMain"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBBackgroundSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBBackground"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBXpBarSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-55"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBXpBar"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBRestedXpBarSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-80"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBRestedXpBar"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBMarkersSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-105"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBMarkers"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBXpTickSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-130"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBXpTick"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBRestedXpTickSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-155"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBRestedXpTick"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBRestedXpTickGlowSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-180"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBRestedXpTickGlow"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBBarTextSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-205"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBBarText"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBProfileSelector" inherits="BEBSelectorTemplate">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="5" y="45"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "BEBProfile"
</OnLoad>
</Scripts>
</Button>
<CheckButton name="BEBClickTextCheckButton" inherits="BEBOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="160" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "clicktext"
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="BEBDragableCheckButton" inherits="BEBOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "dragable"
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="BEBFlashingCheckButton" inherits="BEBOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="160" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "flashing"
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="BEBShownCheckButton" inherits="BEBOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "shown"
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="BEBShowOnMouseoverCheckButton" inherits="BEBOptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="20" y="-60"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "mouseover"
</OnLoad>
</Scripts>
</CheckButton>
<Frame name="BEB_MainAttachToFrame" inherits="BEBOptions_MenuEditboxFrameTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="BEBAttachHeader" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="-25" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local button = getglobal(this:GetName().."Button")
button.table = "UIATTACHFRAMES"
button.func = "DDM_ReplaceText"
button.typeindex = "location"
button.subindex = "relto"
</OnLoad>
</Scripts>
</Frame>
<Frame name="BEB_BarTextFrame" inherits="BEBOptions_MenuEditboxFrameTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension y="-175" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local button = getglobal(this:GetName().."Button")
button.table = "VARIABLE_FUNCTIONS_DESCIPTIONS"
button.func = "DDM_InsertText"
button.typeindex = "text"
button.subindex = "string"
</OnLoad>
</Scripts>
</Frame>
<Frame name="BEB_TextureFrame" inherits="BEBOptions_MenuEditboxFrameTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension y="-175" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local button = getglobal(this:GetName().."Button")
button.table = "TEXTURES"
button.func = "DDM_ReplaceText"
button.typeindex = "texture"
</OnLoad>
</Scripts>
</Frame>
<Button name="BEBUnrestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture">
<Size>
<AbsDimension y="20" x="20"/>
</Size>
<Anchors>
<Anchor point="CENTER">
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "unrestcolor"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBRestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="95"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture">
<Size>
<AbsDimension y="20" x="20"/>
</Size>
<Anchors>
<Anchor point="CENTER">
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "restcolor"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBMaxrestedTextureColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="190"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentTexture">
<Size>
<AbsDimension y="20" x="20"/>
</Size>
<Anchors>
<Anchor point="CENTER">
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "maxrestcolor"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBUnrestedTextColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def">
<Size>
<AbsDimension y="24" x="24"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "unrestcolor"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBRestedTextColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="95"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def">
<Size>
<AbsDimension y="24" x="24"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "restcolor"
</OnLoad>
</Scripts>
</Button>
<Button name="BEBMaxrestedTextColorButton" inherits="BEBOptionsColorButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBColorsHeader" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="0" x="190"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTexture" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="MIDDLE" text="Abc def">
<Size>
<AbsDimension y="24" x="24"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this.whenindex = "maxrestcolor"
</OnLoad>
</Scripts>
</Button>
<Frame name="BEBOptionsPositionControls">
<Size>
<AbsDimension y="100" x="150"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOP">
<Offset>
<AbsDimension y="-200" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentTitle" inherits="GameFontNormal" justifyH="CENTER">
<Anchors>
<Anchor point="TOP">
</Anchor>
</Anchors>
<FontHeight val="10">
</FontHeight>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentNudge0" inherits="BEBNudgeTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "0"
this:SetText("0");
</OnLoad>
</Scripts>
</Button>
<Button name="$parentNudgeUp" inherits="BEBNudgeTemplate">
<Anchors>
<Anchor point="BOTTOM" relativeTo="$parentNudge0" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "up"
this:SetText("^");
</OnLoad>
</Scripts>
</Button>
<Button name="$parentNudgeDown" inherits="BEBNudgeTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parentNudge0" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText("v");
this.index = "down"
</OnLoad>
</Scripts>
</Button>
<Button name="$parentNudgeLeft" inherits="BEBNudgeTemplate">
<Anchors>
<Anchor point="RIGHT" relativeTo="$parentNudge0" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText(BEBOPTIONS.ARROWLEFT);
this.index = "left"
</OnLoad>
</Scripts>
</Button>
<Button name="$parentNudgeRight" inherits="BEBNudgeTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentNudge0" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText(BEBOPTIONS.ARROWRIGHT);
this.index = "right"
</OnLoad>
</Scripts>
</Button>
<EditBox multiLine="false" name="$parentxEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false">
<Size>
<AbsDimension x="47" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentNudge0" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension y="-2" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "x"
</OnLoad>
<OnEditFocusGained>
this.prevvals = this:GetNumber()
</OnEditFocusGained>
<OnTextChanged>
BEBOPTIONS.PositionEditBox_OnValueChange()
</OnTextChanged>
<OnEnterPressed>
this:ClearFocus()
</OnEnterPressed>
<OnEscapePressed>
if (this.prevvals) then
this:SetText(this.prevvals)
end
this:ClearFocus()
</OnEscapePressed>
</Scripts>
<Layers>
<Layer>
<FontString inherits="GameFontNormal" text="x" justifyH="CENTER">
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP">
<Offset>
<AbsDimension y="0" x="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</EditBox>
<EditBox multiLine="false" name="$parentyEditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false">
<Size>
<AbsDimension x="47" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNudge0" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension y="-2" x="14"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.index = "y"
</OnLoad>
<OnEditFocusGained>
this.prevvals = this:GetNumber()
</OnEditFocusGained>
<OnTextChanged>
BEBOPTIONS.PositionEditBox_OnValueChange()
</OnTextChanged>
<OnEnterPressed>
this:ClearFocus()
</OnEnterPressed>
<OnEscapePressed>
if (this.prevvals) then
this:SetText(this.prevvals)
end
this:ClearFocus()
</OnEscapePressed>
</Scripts>
<Layers>
<Layer>
<FontString inherits="GameFontNormal" text="y" justifyH="CENTER">
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP">
<Offset>
<AbsDimension y="0" x="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</EditBox>
</Frames>
<Scripts>
<OnUpdate>
BEBOPTIONS.Placement_OnUpdate(arg1)
</OnUpdate>
</Scripts>
</Frame>
<Button name="BEB_MainAttachPointButton" inherits="BEBOptions_DMMButtonTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="BEBAttachHeader" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="0" x="-40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.func = "DDM_ReplaceText"
this.table = "ATTACHPOINTS"
this.typeindex = "location"
this.subindex = "point"
</OnLoad>
</Scripts>
</Button>
<Button name="BEB_MainAttachToPointButton" inherits="BEBOptions_DMMButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="BEBAttachHeader" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="0" x="40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.func = "DDM_ReplaceText"
this.table = "ATTACHPOINTS"
this.typeindex = "location"
this.subindex = "relpoint"
</OnLoad>
</Scripts>
</Button>
<Frame name="BEBProfileFrame">
<Size>
<AbsDimension y="290" x="290"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-35" x="15"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="$parentCreateButton" inherits="UIPanelButtonTemplate">
<Size>
<AbsDimension y="24" x="80"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
</Anchor>
</Anchors>
<Frames>
<EditBox name="$parentEditBox" inherits="InputBoxTemplate" autoFocus="false">
<Size>
<AbsDimension y="20" x="200"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension y="0" x="16"/>
</Offset>
</Anchor>
</Anchors>
</EditBox>
</Frames>
<Scripts>
<OnClick>
BEBOPTIONS.CreateProfile()
</OnClick>
</Scripts>
</Button>
<Button name="$parentUseButton" inherits="BEBProfileButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-30" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="$parentCheckButton" enableMouse="false">
<Size>
<AbsDimension y="24" x="24"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension y="0" x="-5"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:RegisterForClicks(nil)
</OnLoad>
</Scripts>
<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
</CheckButton>
</Frames>
<Scripts>
<OnClick>
BEBOPTIONS.UseProfile()
</OnClick>
</Scripts>
</Button>
<Button name="$parentLoadButton" inherits="BEBProfileButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-60" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
BEBOPTIONS.LoadProfile()
</OnClick>
</Scripts>
</Button>
<Button name="$parentSaveButton" inherits="BEBProfileButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-90" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
BEBOPTIONS.SaveProfile()
</OnClick>
</Scripts>
</Button>
<Button name="$parentDeleteButton" inherits="BEBProfileButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-120" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
BEBOPTIONS.DeleteProfile()
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Slider name="BEBOptionsHeightSlider" inherits="BEBOptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-215" x="15"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false">
<Size>
<AbsDimension x="47" y="20"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension y="-4" x="8"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEditFocusGained>
this.prevvals = this:GetNumber()
</OnEditFocusGained>
<OnTextChanged>
BEBOPTIONS.SliderEditBox_OnValueChange()
</OnTextChanged>
<OnEnterPressed>
this:ClearFocus()
</OnEnterPressed>
<OnEscapePressed>
if (this.prevvals) then
this:SetText(this.prevvals)
end
this:ClearFocus()
</OnEscapePressed>
</Scripts>
</EditBox>
</Frames>
<Scripts>
<OnLoad>
this.whatindex = "size"
this.axisindex = "y"
this.label = "height"
</OnLoad>
<OnValueChanged>
BEBOPTIONS.SliderOnChange()
</OnValueChanged>
</Scripts>
</Slider>
<Slider name="BEBOptionsWidthSlider" inherits="BEBOptionsSliderTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="BEBOptionsHeightSlider" relativePoint="BOTTOM">
<Offset>
<AbsDimension y="-30" x="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false">
<Size>
<AbsDimension x="47" y="20"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension y="-4" x="8"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEditFocusGained>
this.prevvals = this:GetNumber()
</OnEditFocusGained>
<OnTextChanged>
BEBOPTIONS.SliderEditBox_OnValueChange()
</OnTextChanged>
<OnEnterPressed>
this:ClearFocus()
</OnEnterPressed>
<OnEscapePressed>
if (this.prevvals) then
this:SetText(this.prevvals)
end
this:ClearFocus()
</OnEscapePressed>
</Scripts>
</EditBox>
</Frames>
<Scripts>
<OnLoad>
this.whatindex = "size"
this.axisindex = "x"
this.label = "width"
</OnLoad>
<OnValueChanged>
BEBOPTIONS.SliderOnChange()
</OnValueChanged>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Slider>
<Slider name="BEBOptionsLevelSlider" inherits="BEBOptionsSliderTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-310" x="172"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<EditBox multiLine="false" name="$parent_EditBox" inherits="InputBoxTemplate" letters="5" autoFocus="false">
<Size>
<AbsDimension x="47" y="20"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension y="-4" x="8"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEditFocusGained>
this.prevvals = this:GetNumber()
</OnEditFocusGained>
<OnTextChanged>
BEBOPTIONS.LevelSliderEditBox_OnValueChange()
</OnTextChanged>
<OnEnterPressed>
this:ClearFocus()
</OnEnterPressed>
<OnEscapePressed>
if (this.prevvals) then
this:SetText(this.prevvals)
end
this:ClearFocus()
</OnEscapePressed>
</Scripts>
</EditBox>
</Frames>
<Scripts>
<OnLoad>
this.whatindex = "level"
this.label = "level"
</OnLoad>
<OnValueChanged>
BEBOPTIONS.LevelSliderOnChange()
</OnValueChanged>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Slider>
<Button name="BEB_StrataDDMButton" inherits="BEBOptions_DMMButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension y="-305" x="35"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.func = "DDM_ReplaceText"
this.table = "STRATAS"
this.typeindex = "strata"
</OnLoad>
</Scripts>
</Button>
<Frame name="BEB_DropDownMenu" enableMouse="true" hidden="true" frameLevel="15">
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Frames>
<Button name="$parent_Button1" id="1" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension y="-10" x="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parent_Button2" id="2" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button3" id="3" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button4" id="4" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button3" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button5" id="5" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button4" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button6" id="6" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button5" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button7" id="7" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button6" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button8" id="8" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button7" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button9" id="9" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button8" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button10" id="10" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button9" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button11" id="11" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button10" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button12" id="12" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button11" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button13" id="13" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button12" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button14" id="14" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button13" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button15" id="15" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button14" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button16" id="16" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button15" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button17" id="17" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button16" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button18" id="18" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button17" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button19" id="19" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button18" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button20" id="20" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button19" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button21" id="21" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button20" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button22" id="22" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button21" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button23" id="23" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button22" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button24" id="24" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button23" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button25" id="25" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button24" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button26" id="26" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button25" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button27" id="27" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button26" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button28" id="28" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button27" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button29" id="29" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button28" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="$parent_Button30" id="30" inherits="BEB_MenuOptionTemplate">
<Anchors>
<Anchor point="TOP" relativeTo="$parent_Button29" relativePoint="BOTTOM"/>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnLoad>
this.count = 30
</OnLoad>
<OnEnter>
this.timer = nil
</OnEnter>
<OnLeave>
this.timer = 5
</OnLeave>
<OnUpdate>
BEBOPTIONS.DDM_OnUpdate(arg1)
</OnUpdate>
<OnHide>
this.how = nil
this.timer = nil
</OnHide>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
BEBOPTIONS.OnLoad()
</OnLoad>
<OnEvent>
BEBOPTIONS.OnEvent(event)
</OnEvent>
<OnShow>
BEBOPTIONS.OnShow()
</OnShow>
<OnMouseDown>
BEBOPTIONS.OnMouseDown()
</OnMouseDown>
<OnMouseUp>
BEBOPTIONS.OnMouseUp()
</OnMouseUp>
<OnHide>
BEB_DropDownMenu:Hide()
</OnHide>
</Scripts>
</Frame>
<Button name="BEBOptions_ColorCopy" inherits="UIPanelButtonTemplate" hidden="false" parent="ColorPickerFrame">
<Size>
<AbsDimension x="75" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="ColorPickerFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
if (DL_ColorCopy) then
this:Hide()
end
</OnShow>
<OnClick>
local r, g, b = ColorPickerFrame:GetColorRGB();
if (ColorPickerFrame.hasOpacity) then
local a = OpacitySliderFrame:GetValue();
BEBOPTIONS_SAVED_COLOR = {r=r, g=g, b=b, a=a};
else
BEBOPTIONS_SAVED_COLOR = {r=r, g=g, b=b};
end
</OnClick>
</Scripts>
</Button>
<Button name="BEBOptions_ColorPaste" inherits="UIPanelButtonTemplate" hidden="false" parent="ColorPickerFrame">
<Size>
<AbsDimension x="75" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="ColorPickerFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnShow>
if (DL_ColorCopy) then
this:Hide()
end
</OnShow>
<OnClick>
if (BEBOPTIONS_SAVED_COLOR) then
ColorPickerFrame:SetColorRGB(BEBOPTIONS_SAVED_COLOR.r, BEBOPTIONS_SAVED_COLOR.g, BEBOPTIONS_SAVED_COLOR.b);
if (BEBOPTIONS_SAVED_COLOR.a) then
OpacitySliderFrame:SetValue(BEBOPTIONS_SAVED_COLOR.a);
end
end
</OnClick>
</Scripts>
</Button>
</Ui>