Adds DPSMate_CLEUAdapter.lua -- replaces DPSMate's string-parsing CHAT_MSG_* system with structured COMBAT_LOG_EVENT data from our DLL. Adapter maps CLEU subevents directly to DPSMate.DB API calls: DamageDone, DamageTaken, EnemyDamage, Healing, HealingTaken, DeathHistory, Kick, Dispels, BuildBuffs, CCBreaker, etc. Eliminates all strfind pattern matching from the combat log path. Toggle: /dpscleu (on/off/status) Benchmark: /dpsbench -- always-on per-combat A/B profiling. Resets at combat start, reports at combat end, flips mode for next combat. Reports events, total ms, us/event, GC delta, and percentage comparison between CLEU and original modes. Starts in CLEU mode by default.
6071 lines
228 KiB
XML
6071 lines
228 KiB
XML
<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">
|
|
|
|
----------------------------------------------------------------------------------
|
|
-------------- Templates for the config Menu --------------
|
|
----------------------------------------------------------------------------------
|
|
|
|
<Button name="DPSMate_Template_MenuButton" virtual="true">
|
|
<Size x="120" y="14" />
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="120" y="14" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="3" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentTexture" file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" hidden="true">
|
|
<Size x="120" y="14" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if (not this.selected) then
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,0.82,0,1)
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
for cat, _ in pairs(DPSMateSettings["windows"]) do
|
|
for i=1, 3 do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button"..i.."Texture"):Hide()
|
|
end
|
|
end
|
|
for i=1, this:GetParent():GetParent().num do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i).selected=false
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Texture"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Text"):SetTextColor(1,0.82,0,1)
|
|
end
|
|
this.selected=true
|
|
getglobal(this:GetName().."Texture"):Show()
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
this.func()
|
|
</OnClick>
|
|
</Scripts>
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="DPSMate_Template_SubMenuButton" virtual="true">
|
|
<Size x="120" y="14" />
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="120" y="14" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="18" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" />
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentTexture" file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" hidden="true">
|
|
<Size x="120" y="14" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
for cat, _ in pairs(DPSMateSettings["windows"]) do
|
|
for i=1, 3 do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button"..i.."Texture"):Hide()
|
|
end
|
|
end
|
|
for i=1, this:GetParent():GetParent():GetParent().num do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i).selected=false
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Texture"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Text"):SetTextColor(1,0.82,0,1)
|
|
end
|
|
this.selected=true
|
|
getglobal(this:GetName().."Texture"):Show()
|
|
this.func()
|
|
</OnClick>
|
|
</Scripts>
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="DPSMate_Template_WindowButton" virtual="true">
|
|
<Size x="120" y="14" />
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="120" y="14" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="3" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentTexture" file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" hidden="true">
|
|
<Size x="120" y="14" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if (not this.selected) then
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,0.82,0,1)
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
for cat, _ in pairs(DPSMateSettings["windows"]) do
|
|
for i=1, 3 do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button"..i.."Texture"):Hide()
|
|
end
|
|
end
|
|
for i=1, this:GetParent():GetParent().num do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i).selected=false
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Texture"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..i.."Text"):SetTextColor(1,0.82,0,1)
|
|
end
|
|
this.selected=true
|
|
DPSMate_ConfigMenu_Menu.Key = this.Key
|
|
getglobal(this:GetName().."Texture"):Show()
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
this.func()
|
|
</OnClick>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parentExpand">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
for cat, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."Expand"):Show()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."Collapse"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button1"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button2"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat).."_Button3"):Hide()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat)).after:ClearAllPoints()
|
|
getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat)).after:SetPoint("TOP", getglobal("DPSMate_ConfigMenu_Menu_Button"..(9+cat)), "BOTTOM")
|
|
end
|
|
this:Hide()
|
|
getglobal(this:GetParent():GetName().."Collapse"):Show()
|
|
getglobal(this:GetParent():GetName().."_Button1"):Show()
|
|
getglobal(this:GetParent():GetName().."_Button2"):Show()
|
|
getglobal(this:GetParent():GetName().."_Button3"):Show()
|
|
this:GetParent().after:ClearAllPoints()
|
|
this:GetParent().after:SetPoint("TOP", this:GetParent(), "BOTTOM", 0, -42)
|
|
DPSMate_ConfigMenu_Menu.Key = this:GetParent().Key
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\AddOns\DPSMate\images\UI-Panel-ExpandButton-Up" />
|
|
<PushedTexture file="Interface\AddOns\DPSMate\images\UI-Panel-ExpandButton-Down" />
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Panel-ExpandButton-Up" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="$parentCollapse" hidden="true">
|
|
<Size x="16" y="16" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
this:Hide()
|
|
getglobal(this:GetParent():GetName().."Expand"):Show()
|
|
getglobal(this:GetParent():GetName().."_Button1"):Hide()
|
|
getglobal(this:GetParent():GetName().."_Button2"):Hide()
|
|
getglobal(this:GetParent():GetName().."_Button3"):Hide()
|
|
this:GetParent().after:ClearAllPoints()
|
|
this:GetParent().after:SetPoint("TOP", this:GetParent(), "BOTTOM")
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\AddOns\DPSMate\images\UI-Panel-CollapseButton-Up" />
|
|
<PushedTexture file="Interface\AddOns\DPSMate\images\UI-Panel-CollapseButton-Down" />
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Panel-CollapseButton-Up" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="$parent_Button1" inherits="DPSMate_Template_SubMenuButton" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText("Bars")
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName()..this:GetParent():GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName().."_Tab_Bars"):Show()
|
|
this:GetParent():GetParent().selected = "_Tab_Bars"
|
|
this:GetParent():GetParent().Key = this:GetParent().Key
|
|
DPSMate_ConfigMenu_Tab_Bars_BarFontSize:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["barfontsize"])
|
|
DPSMate_ConfigMenu_Tab_Bars_BarSpacing:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["barspacing"])
|
|
DPSMate_ConfigMenu_Tab_Bars_BarHeight:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["barheight"])
|
|
DPSMate_ConfigMenu_Tab_Bars_ClassIcons:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["classicons"])
|
|
DPSMate_ConfigMenu_Tab_Bars_ClassIcons:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["classicons"])
|
|
DPSMate_ConfigMenu_Tab_Bars_Ranks:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["ranks"])
|
|
DPSMate_ConfigMenu_Tab_Bars_DisableBG:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["barbg"])
|
|
DPSMate_ConfigMenu_Tab_Bars_TotalAlpha:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["totopacity"] or 1)
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Bars_BarFont, DPSMateSettings["windows"][this:GetParent().Key]["barfont"])
|
|
DPSMate_ConfigMenu_Tab_Bars_BarFontText:SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][this:GetParent().Key]["barfont"]], 12)
|
|
DPSMate_ConfigMenu_Tab_Bars_BarFontText:SetText(DPSMateSettings["windows"][this:GetParent().Key]["barfont"])
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Bars_BarFontFlag, DPSMateSettings["windows"][this:GetParent().Key]["barfontflag"])
|
|
DPSMate_ConfigMenu_Tab_Bars_BarFontFlagText:SetFont(DPSMate.Options.fonts["FRIZQT"], 12, DPSMate.Options.fontflags[DPSMateSettings["windows"][this:GetParent().Key]["barfontflag"]])
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Bars_BarTexture, DPSMateSettings["windows"][this:GetParent().Key]["bartexture"])
|
|
DPSMate_ConfigMenu_Tab_Bars_BarTexture.tex:SetTexture(DPSMate.Options.statusbars[DPSMateSettings["windows"][this:GetParent().Key]["bartexture"]])
|
|
DPSMate_ConfigMenu_Tab_Bars_FontColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Bars_FontColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][1]
|
|
DPSMate_ConfigMenu_Tab_Bars_FontColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][2]
|
|
DPSMate_ConfigMenu_Tab_Bars_FontColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["barfontcolor"][3]
|
|
DPSMate_ConfigMenu_Tab_Bars_BackgroundBarColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Bars_BackgroundBarColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][1]
|
|
DPSMate_ConfigMenu_Tab_Bars_BackgroundBarColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][2]
|
|
DPSMate_ConfigMenu_Tab_Bars_BackgroundBarColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["bgbarcolor"][3]
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button2" inherits="DPSMate_Template_SubMenuButton" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText("Title bar")
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName()..this:GetParent():GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName().."_Tab_TitleBar"):Show()
|
|
this:GetParent():GetParent().selected = "_Tab_TitleBar"
|
|
this:GetParent():GetParent().Key = this:GetParent().Key
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Enable:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebar"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarFontSize:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontsize"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarHeight:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["titlebarheight"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Report:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarreport"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Reset:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarreset"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Mode:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarsegments"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Config:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarconfig"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Sync:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarsync"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Enable:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarenable"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_Filter:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["titlebarfilter"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_Box1_CBTDisplay:SetChecked(DPSMateSettings["windows"][this:GetParent().Key]["cbtdisplay"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BGColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BGColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][1]
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BGColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][2]
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BGColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["titlebarbgcolor"][3]
|
|
DPSMate_ConfigMenu_Tab_TitleBar_FontColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_FontColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][1]
|
|
DPSMate_ConfigMenu_Tab_TitleBar_FontColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][2]
|
|
DPSMate_ConfigMenu_Tab_TitleBar_FontColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontcolor"][3]
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_TitleBar_BarTexture, DPSMateSettings["windows"][this:GetParent().Key]["titlebartexture"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarTexture.tex:SetTexture(DPSMate.Options.statusbars[DPSMateSettings["windows"][this:GetParent().Key]["titlebartexture"]])
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_TitleBar_BarFont, DPSMateSettings["windows"][this:GetParent().Key]["titlebarfont"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarFontText:SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][this:GetParent().Key]["titlebarfont"]], 12)
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_TitleBar_BarFontFlag, DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontflag"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarFontFlagText:SetFont(DPSMate.Options.fonts["FRIZQT"], 12, DPSMate.Options.fontflags[DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontflag"]])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BarFontFlagText:SetText(DPSMateSettings["windows"][this:GetParent().Key]["titlebarfontflag"])
|
|
DPSMate_ConfigMenu_Tab_TitleBar_BGOpacity:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["titlebaropacity"] or 1)
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button3" inherits="DPSMate_Template_SubMenuButton" hidden="true">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText("Content")
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName()..this:GetParent():GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetParent():GetName().."_Tab_Content"):Show()
|
|
this:GetParent():GetParent().selected = "_Tab_Content"
|
|
this:GetParent():GetParent().Key = this:GetParent().Key
|
|
DPSMate_ConfigMenu_Tab_Content_BGDropDown_Texture:SetBackdrop({
|
|
bgFile = DPSMate.Options.bgtexture[DPSMateSettings["windows"][this:GetParent().Key]["contentbgtexture"]],
|
|
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", tile = true, tileSize = 12, edgeSize = 12,
|
|
insets = { left = 4, right = 4, top = 4, bottom = 4 }
|
|
})
|
|
DPSMate_ConfigMenu_Tab_Content_Scale:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["scale"])
|
|
DPSMate_ConfigMenu_Tab_Content_Opacity:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["opacity"])
|
|
DPSMate_ConfigMenu_Tab_Content_BorderOpacity:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["borderopacity"] or 0)
|
|
DPSMate_ConfigMenu_Tab_Content_BGOpacity:SetValue(DPSMateSettings["windows"][this:GetParent().Key]["bgopacity"] or 1)
|
|
DPSMate_ConfigMenu_Tab_Content_BGDropDown_Texture:SetBackdropColor(DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Content_BGColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Content_BGColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][1]
|
|
DPSMate_ConfigMenu_Tab_Content_BGColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][2]
|
|
DPSMate_ConfigMenu_Tab_Content_BGColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["contentbgcolor"][3]
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Content_BGDropDown, DPSMateSettings["windows"][this:GetParent().Key]["contentbgtexture"])
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Content_BorderTexture, DPSMateSettings["windows"][this:GetParent().Key]["bordertexture"] or "UI-Tooltip-Border")
|
|
DPSMate_ConfigMenu_Tab_Content_BorderTextureText:SetText(DPSMateSettings["windows"][this:GetParent().Key]["bordertexture"] or "UI-Tooltip-Border")
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Content_BorderStrata, DPSMateSettings["windows"][this:GetParent().Key]["borderstrata"] or 1)
|
|
UIDropDownMenu_SetSelectedValue(DPSMate_ConfigMenu_Tab_Content_NumberFormat, DPSMateSettings["windows"][this:GetParent().Key]["numberformat"])
|
|
DPSMate_ConfigMenu_Tab_Content_BGDropDownText:SetText(DPSMateSettings["windows"][this:GetParent().Key]["contentbgtexture"])
|
|
DPSMate_ConfigMenu_Tab_Content_BorderColorNormalTexture:SetVertexColor(DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][1], DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][2], DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Content_BorderColor_SwatchBg.r = DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][1]
|
|
DPSMate_ConfigMenu_Tab_Content_BorderColor_SwatchBg.g = DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][2]
|
|
DPSMate_ConfigMenu_Tab_Content_BorderColor_SwatchBg.b = DPSMateSettings["windows"][this:GetParent().Key]["contentbordercolor"][3]
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" alphaMode="ADD" />
|
|
</Button>
|
|
<Button name="DPSMate_Template_Button" virtual="true">
|
|
<Size x="80" y="28" />
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="CENTER" justifyV="CENTER">
|
|
<Size x="80" y="28" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<EditBox name="DPSMate_Template_Editbox" virtual="true" autoFocus="false" inherits="InputBoxTemplate">
|
|
<FontString inherits="ChatFontNormal" bytes="200"/>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetMaxLetters(200)
|
|
</OnLoad>
|
|
<OnEnterPressed>
|
|
this:ClearFocus()
|
|
</OnEnterPressed>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT">
|
|
<Size x="200" y="15" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT" />
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</EditBox>
|
|
<CheckButton name="DPSMate_Template_CheckButton" inherits="UICheckButtonTemplate" virtual="true">
|
|
<Size x="20" y="20" />
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Title" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="120" y="20" />
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if this.aide then
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
GameTooltip:Show()
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Frame name="DPSMate_Template_DropDown" inherits="UIDropDownMenuTemplate" virtual="true">
|
|
<Size x="148" y="24" />
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnShow>
|
|
if DPSMate.DB.loaded then
|
|
UIDropDownMenu_Initialize(this, this.func)
|
|
end
|
|
</OnShow>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="LEFT" alphaMode="ADD">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="21" y="10" />
|
|
</Anchor>
|
|
<Anchor pont="BOTTOMRIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Slider name="DPSMate_Template_Slider" inherits="OptionsSliderTemplate" virtual="true">
|
|
<Size x="120" y="16" />
|
|
<Scripts>
|
|
<OnEnter>
|
|
if (this.aide) then
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnValueChanged>
|
|
getglobal(this:GetName().."_Editbox"):SetText(string.format("%.1f", this:GetValue()))
|
|
if this.func and DPSMate.DB.loaded then this.func() end
|
|
</OnValueChanged>
|
|
</Scripts>
|
|
<Frames>
|
|
<EditBox name="$parent_Editbox" autoFocus="false" inherits="InputBoxTemplate">
|
|
<Size x="40" y="10" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset x="4" y="-3" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="200"/>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetMaxLetters(200)
|
|
this:SetScale(0.6)
|
|
</OnLoad>
|
|
<OnEnterPressed>
|
|
this:ClearFocus()
|
|
local num = tonumber(this:GetText())
|
|
if num then this:GetParent():SetValue(num) end
|
|
</OnEnterPressed>
|
|
<OnEscapePressed>
|
|
this:ClearFocus()
|
|
local num = tonumber(this:GetText())
|
|
if num then this:GetParent():SetValue(num) end
|
|
</OnEscapePressed>
|
|
</Scripts>
|
|
</EditBox>
|
|
</Frames>
|
|
</Slider>
|
|
<Button name="DPSMate_Template_Colorpicker" virtual="true">
|
|
<Size x="16" y="16"/>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Font" inherits="GameFontNormalSmall" text="Select font color" justifyH="LEFT">
|
|
<Size x="200" y="16" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
|
|
<Offset x="5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" />
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_SwatchBg">
|
|
<Size x="14" y="14"/>
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Color r="1.0" g="1.0" b="1.0"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate.Options:OpenColorPicker(this, this.var, this.func)
|
|
</OnClick>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b)
|
|
if this.aide then
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(this.aide, nil, nil, nil, nil, 1)
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
getglobal(this:GetName().."_SwatchBg"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b)
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
|
|
</Button>
|
|
<Frame name="DPSMate_Template_BGDropDown" inherits="DPSMate_Template_DropDown" virtual="true">
|
|
<Frames>
|
|
<Frame name="$parent_Texture">
|
|
<Size x="30" y="30" />
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT">
|
|
<Offset x="15" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4" />
|
|
<TileSize val="12" />
|
|
<EdgeSize val="12" />
|
|
<Color r="0.157" g="0.08" b="0.06" a="1" />
|
|
</Backdrop>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="DPSMate_Template_Box" virtual="true">
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4" />
|
|
<TileSize val="12" />
|
|
<EdgeSize val="12" />
|
|
<Color r="0.157" g="0.08" b="0.06" a="0.5" />
|
|
</Backdrop>
|
|
</Frame>
|
|
<Frame name="DPSMate_Template_BoxColumns" inherits="DPSMate_Template_Box" virtual="true">
|
|
<Size x="280" y="35" />
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Title" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="450" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="-6" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Frame name="DPSMate_Template_TextBox" inherits="DPSMate_Template_BoxColumns" virtual="true">
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="TOP">
|
|
<Size x="270" y="50" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="-55" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Button name="DPSMate_Template_ModeButton" hidden="true" virtual="true">
|
|
<Size x="105" y="14" />
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER">
|
|
<Size x="105" y="14" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="3" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" />
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentTexture" file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" hidden="true">
|
|
<Size x="105" y="14" />
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnEnter>
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,0.82,0,1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if (not this.selected) then
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
local pa = strsub(this:GetName(), 1, strfind(this:GetName(), "%d+")-1)
|
|
for i=1, 15 do
|
|
getglobal(pa..i).selected=false
|
|
getglobal(pa..i.."Texture"):Hide()
|
|
getglobal(pa..i.."Text"):SetTextColor(1,1,1,1)
|
|
end
|
|
this.selected=true
|
|
getglobal(this:GetName().."Texture"):Show()
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,0.82,0,1)
|
|
</OnClick>
|
|
</Scripts>
|
|
<HighlightTexture file="Interface\AddOns\DPSMate\images\UI-Listbox-Highlight2" alphaMode="ADD" />
|
|
</Button>
|
|
<ScrollFrame name="DPSMate_Template_Modes_Box" virtual="true">
|
|
<Size x="115" y="220" />
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4" />
|
|
<TileSize val="12" />
|
|
<EdgeSize val="12" />
|
|
<Color r="0.157" g="0.08" b="0.06" a="0.5" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Title" inherits="GameFontNormal" justifyH="LEFT" text="Test">
|
|
<Size x="115" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="10" y="17" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button name="$parent_Button1" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button2" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button3" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button4" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button3" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button5" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button4" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button6" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button5" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button7" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button6" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button8" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button7" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button9" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button8" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button10" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button9" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button11" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button10" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button12" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button11" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button13" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button12" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button14" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button13" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
<Button name="$parent_Button15" inherits="DPSMate_Template_ModeButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button14" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
</Button>
|
|
</Frames>
|
|
</ScrollFrame>
|
|
|
|
----------------------------------------------------------------------------------
|
|
-------------- DPSMate MiniMap Icon --------------
|
|
----------------------------------------------------------------------------------
|
|
|
|
<Button name="DPSMate_MiniMap" movable="true" parent="UIParent" enableMouse="true" toplevel="true" frameStrata="LOW">
|
|
<Size x="33" y="33" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="Minimap" relativePoint="LEFT" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture file="Interface\ICONS\Ability_Whirlwind">
|
|
<Size x="21" y="21"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="7" y="-6"/>
|
|
</Anchor>
|
|
</Anchors>
|
|
<TexCoords left="0.075" right="0.925" top="0.075" bottom="0.925"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
|
|
<Size x="56" y="56"/>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"/>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" />
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:RegisterForClicks("RightButtonUp")
|
|
this:RegisterForDrag("LeftButton")
|
|
this:SetClampedToScreen(true)
|
|
</OnLoad>
|
|
<OnDragStart>
|
|
this:LockHighlight()
|
|
this:StartMoving()
|
|
</OnDragStart>
|
|
<OnDragStop>
|
|
this:UnlockHighlight()
|
|
this:StopMovingOrSizing()
|
|
</OnDragStop>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_LEFT")
|
|
GameTooltip:AddLine(DPSMate.L["name"])
|
|
GameTooltip:AddLine(DPSMate.L["minimapleft"], 0.5, 0.5, 0.5)
|
|
GameTooltip:AddLine(DPSMate.L["minimapright"], 0.5, 0.5, 0.5)
|
|
GameTooltip:Show()
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnMouseUp>
|
|
if arg1 == "LeftButton" then
|
|
DPSMate.Options:ToggleVisibility()
|
|
else
|
|
DPSMate.Options:OpenMenu(3, this)
|
|
end
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
----------------------------------------------------------------------------------
|
|
-------------- DPSMate PopUP --------------
|
|
----------------------------------------------------------------------------------
|
|
|
|
<Frame name="DPSMate_PopUp" movable="true" hidden="true" frameStrata="HIGH">
|
|
<Size x="250" y="60" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="6" right="6" top="6" bottom="6" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="24" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="24" />
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" alphaMode="ADD">
|
|
<Size x="250" y="38" />
|
|
<Anchors>
|
|
<Anchor point="TOP" />
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnLoad>
|
|
DPSMate_PopUp_Text:SetText(DPSMate.L["popup"])
|
|
DPSMate_PopUp_TotalText:SetText(DPSMate.L["total"])
|
|
DPSMate_PopUp_CurrentText:SetText(DPSMate.L["current"])
|
|
DPSMate_PopUp_CancelText:SetText(DPSMate.L["cancel"])
|
|
this:SetClampedToScreen()
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Total">
|
|
<Size x="65" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Text" relativePoint="BOTTOM">
|
|
<Offset x="-75" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" text="Total">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate.Options:PopUpAccept(true, false)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parent_Current">
|
|
<Size x="65" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Total" relativePoint="RIGHT">
|
|
<Offset x="10" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" text="Current">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate.Options:PopUpAccept(false, false)
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parent_Cancel">
|
|
<Size x="65" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Current" relativePoint="RIGHT">
|
|
<Offset x="10" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate_PopUp:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="DPSMate_Vote" movable="true" hidden="true" frameStrata="HIGH">
|
|
<Size x="250" y="60" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="6" right="6" top="6" bottom="6" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="24" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="24" />
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" alphaMode="ADD">
|
|
<Size x="250" y="38" />
|
|
<Anchors>
|
|
<Anchor point="TOP" />
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnShow>
|
|
if IsPartyLeader() or IsRaidOfficer() or IsRaidLeader() then
|
|
DPSMate_Vote_Abort:Show()
|
|
else
|
|
DPSMate_Vote_Abort:Hide()
|
|
end
|
|
</OnShow>
|
|
<OnLoad>
|
|
DPSMate_Vote_Text:SetText(DPSMate.L["popup"])
|
|
DPSMate_Vote_AcceptText:SetText(DPSMate.L["vreset"])
|
|
DPSMate_Vote_CancelText:SetText(DPSMate.L["vdreset"])
|
|
this:SetClampedToScreen()
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Accept">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Text" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall" text="Total">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate.Sync:Vote()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parent_Cancel">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Accept" relativePoint="RIGHT">
|
|
<Offset x="20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate_Vote:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parent_Abort">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["abortvote"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnClick>
|
|
DPSMate.Sync:AbortVote()
|
|
DPSMate_Vote:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="DPSMate_Logout" movable="true" hidden="true" frameStrata="HIGH">
|
|
<Size x="250" y="80" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="6" right="6" top="6" bottom="6" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="24" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="24" />
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" alphaMode="ADD">
|
|
<Size x="230" y="58" />
|
|
<Anchors>
|
|
<Anchor point="TOP" />
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnLoad>
|
|
DPSMate_Logout_Text:SetText(DPSMate.L["memory"])
|
|
DPSMate_Logout_AcceptText:SetText(DPSMate.L["accept"])
|
|
DPSMate_Logout_CancelText:SetText(DPSMate.L["decline"])
|
|
this:SetClampedToScreen()
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Accept">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Text" relativePoint="BOTTOM">
|
|
<Offset x="-50" y="7" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate_Logout:Hide()
|
|
DPSMate.Options.Logout()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Button name="$parent_Cancel">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Accept" relativePoint="RIGHT">
|
|
<Offset x="20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate_Logout:Hide()
|
|
DPSMate.Options.OldLogout()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
----------------------------------------------------------------------------------
|
|
-------------- DPSMate Report --------------
|
|
----------------------------------------------------------------------------------
|
|
|
|
<Frame name="DPSMate_Report" movable="true" hidden="true" frameStrata="HIGH">
|
|
<Size x="180" y="170" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="12" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="12" />
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" alphaMode="ADD">
|
|
<Size x="160" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP" />
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnLoad>
|
|
DPSMate_Report_Text:SetText(DPSMate.L["report"].." - "..DPSMate.L["name"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Close">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["close"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnClick>
|
|
DPSMate_Report:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Frame name="$parent_Channel" inherits="UIDropDownMenuTemplate" id="1">
|
|
<Size x="100" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Text" relativePoint="BOTTOMLEFT">
|
|
<Offset x="-20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["channeltooltip"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnLoad>
|
|
UIDropDownMenu_SetWidth(100)
|
|
UIDropDownMenu_Initialize(this, DPSMate.Options.ChannelDropDown)
|
|
getglobal(this:GetName().."_Text"):SetText(DPSMate.L["channel"])
|
|
</OnLoad>
|
|
<OnShow>
|
|
UIDropDownMenu_Initialize(this, DPSMate.Options.ChannelDropDown)
|
|
</OnShow>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="LEFT" alphaMode="ADD">
|
|
<Size x="100" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="20" y="15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<CheckButton name="$parent_Delay" inherits="DPSMate_Template_CheckButton" frameStrata="TOOLTIP">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Channel" relativePoint="RIGHT">
|
|
<Offset x="-18" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["reportdelaytooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["delay"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["reportdelay"] = not DPSMateSettings["reportdelay"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
|
|
<Slider name="$parent_Lines" inherits="OptionsSliderTemplate">
|
|
<Size>
|
|
<AbsDimension x="160" y="14" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Text" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-55" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["slidertooltip"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnValueChanged>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["slider"]..": "..this:GetValue())
|
|
</OnValueChanged>
|
|
<OnLoad>
|
|
this:SetMinMaxValues(1,25)
|
|
this:SetValue(6)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["slider"]..": 6")
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("25")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<EditBox name="$parent_Editbox" autoFocus="false" inherits="InputBoxTemplate">
|
|
<Size x="160" y="14" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Lines" relativePoint="BOTTOM">
|
|
<Offset x="3" y="-32" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<FontString inherits="ChatFontNormal" bytes="32"/>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetMaxLetters(32)
|
|
getglobal(this:GetName().."_Text"):SetText(DPSMate.L["editboxtitle"])
|
|
</OnLoad>
|
|
<OnEnterPressed>
|
|
this:ClearFocus()
|
|
</OnEnterPressed>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["editboxtooltip"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
</Scripts>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="LEFT">
|
|
<Size>
|
|
<AbsDimension x="120" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="-5" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</EditBox>
|
|
<Button name="$parent_ReportButton">
|
|
<Size x="160" y="26" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" />
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parentText" inherits="GameFontNormalSmall">
|
|
<Size x="80" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="4" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick>
|
|
DPSMate.Options:Report()
|
|
</OnClick>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["report"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="DPSMate_RealTime" movable="true" hidden="true" virtual="true" frameStrata="HIGH">
|
|
<Size x="200" y="160" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
|
|
<BackgroundInsets>
|
|
<AbsInset left="4" right="4" top="4" bottom="4" />
|
|
</BackgroundInsets>
|
|
<TileSize>
|
|
<AbsValue val="12" />
|
|
</TileSize>
|
|
<EdgeSize>
|
|
<AbsValue val="12" />
|
|
</EdgeSize>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Text" inherits="GameFontNormalSmall" justifyH="CENTER" alphaMode="ADD">
|
|
<Size x="160" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOP" />
|
|
</Anchors>
|
|
<Color r="1" g="1" b="1" a="1" />
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Close">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["close"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnClick>
|
|
this:GetParent():Hide()
|
|
DPSMateSettings["windows"][this:GetParent():GetParent().Key or 1]["realtime"] = false
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
----------------------------------------------------------------------------------
|
|
-------------- DPSMate Config Menu --------------
|
|
----------------------------------------------------------------------------------
|
|
|
|
<Frame name="DPSMate_ConfigMenu" movable="true" hidden="true" frameStrata="HIGH">
|
|
<Size x="450" y="300" />
|
|
<Anchors>
|
|
<Anchor point="CENTER" />
|
|
</Anchors>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets left="4" right="4" top="4" bottom="4" />
|
|
<TileSize val="12" />
|
|
<EdgeSize val="12" />
|
|
<Color r="0.157" g="0.08" b="0.06" a="1" />
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<FontString name="$parent_Title" inherits="GameFontNormalLarge" justifyH="LEFT" justifyV="CENTER" text="DPSMate">
|
|
<Size x="450" y="40" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnMouseDown>
|
|
this:StartMoving()
|
|
</OnMouseDown>
|
|
<OnMouseUp>
|
|
this:StopMovingOrSizing()
|
|
</OnMouseUp>
|
|
<OnLoad>
|
|
this.num = 6
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<Button name="$parent_Close">
|
|
<Size x="20" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
|
|
GameTooltip:SetText(DPSMate.L["close"], nil, nil, nil, nil, 1)
|
|
</OnEnter>
|
|
<OnLeave>
|
|
GameTooltip:Hide()
|
|
</OnLeave>
|
|
<OnClick>
|
|
DPSMate_ConfigMenu.vis = false
|
|
DPSMate_ConfigMenu:Hide()
|
|
</OnClick>
|
|
</Scripts>
|
|
<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
|
|
<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
|
|
<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
|
|
</Button>
|
|
<Frame name="$parent_Menu" inherits="DPSMate_Template_Box">
|
|
<Size x="128" y="250" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Title" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Button name="$parent_Button1" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.selected=true
|
|
this:GetParent().selected = "_Tab_Window"
|
|
getglobal(this:GetName().."Texture"):Show()
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["window"])
|
|
getglobal(this:GetName().."Text"):SetTextColor(1,1,1,1)
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_Window"):Show()
|
|
this:GetParent().selected = "_Tab_Window"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button2" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button1" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["dataresets"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_DataResets"):Show()
|
|
this:GetParent().selected = "_Tab_DataResets"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button3" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button2" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["generaloptions"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_GeneralOptions"):Show()
|
|
this:GetParent().selected = "_Tab_GeneralOptions"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button4" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button3" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["columns"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_Columns"):Show()
|
|
this:GetParent().selected = "_Tab_Columns"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button5" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button4" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["tooltips"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_Tooltips"):Show()
|
|
this:GetParent().selected = "_Tab_Tooltips"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button6" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button5" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["modes"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_Modes"):Show()
|
|
this:GetParent().selected = "_Tab_Modes"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button7" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button6" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["raidleader"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_RaidLeader"):Show()
|
|
this:GetParent().selected = "_Tab_RaidLeader"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button8" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button7" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["broadcasting"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_Broadcasting"):Show()
|
|
this:GetParent().selected = "_Tab_Broadcasting"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Button9" inherits="DPSMate_Template_MenuButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Button8" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["about"])
|
|
this.func = function()
|
|
getglobal(this:GetParent():GetParent():GetName()..this:GetParent().selected):Hide()
|
|
getglobal(this:GetParent():GetParent():GetName().."_Tab_About"):Show()
|
|
this:GetParent().selected = "_Tab_About"
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_Window" inherits="DPSMate_Template_Box">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<EditBox name="$parent_Editbox" inherits="DPSMate_Template_Editbox">
|
|
<Size x="160" y="20" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="15" y="-20"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["createwindowtooltip"]
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["createwindow"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
</EditBox>
|
|
<Button name="$parent_Submit" inherits="DPSMate_Template_Button">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Editbox" relativePoint="RIGHT">
|
|
<Offset x="20" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["submitTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["submit"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CreateWindow()
|
|
DPSMate.Options:InitializeHideShowWindow()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parent_Remove" inherits="DPSMate_Template_DropDown">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Editbox" relativePoint="BOTTOMLEFT">
|
|
<Offset x="-22" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["availwindowsTooltip"]
|
|
this.func = DPSMate.Options.WindowDropDown
|
|
this.title = DPSMate.L["availwindows"]
|
|
UIDropDownMenu_SetWidth(148)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Button name="$parent_ButtonRemove" inherits="DPSMate_Template_Button">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Remove" relativePoint="RIGHT">
|
|
<Offset x="4" y="-2" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["removeTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["remove"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:RemoveWindow()
|
|
DPSMate.Options:InitializeHideShowWindow()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parent_ConfigFrom" inherits="DPSMate_Template_DropDown">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Remove" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["configfromTooltip"]
|
|
this.func = DPSMate.Options.WindowDropDown
|
|
this.title = DPSMate.L["configfrom"]
|
|
UIDropDownMenu_SetWidth(148)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_ConfigTo" inherits="DPSMate_Template_DropDown">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_ConfigFrom" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["configtoTooltip"]
|
|
this.func = DPSMate.Options.WindowDropDown
|
|
this.title = DPSMate.L["configto"]
|
|
UIDropDownMenu_SetWidth(148)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Button name="$parent_ButtonCopy" inherits="DPSMate_Template_Button">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_ConfigFrom" relativePoint="RIGHT">
|
|
<Offset x="4" y="-26" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["copyTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["copy"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CopyConfiguration()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<CheckButton name="$parent_Lock" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_ConfigTo" relativePoint="BOTTOMLEFT">
|
|
<Offset x="15" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["locktooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["lock"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["lock"] then
|
|
DPSMateSettings["lock"] = false
|
|
DPSMate.Options:Unlock()
|
|
else
|
|
DPSMateSettings["lock"] = true
|
|
DPSMate.Options:Lock()
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Testmode" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$Parent_Lock" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["testmodetooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["testmode"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:ActivateTestMode()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_Bars" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="$parent_BarFont" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="-10" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontTooltip"]
|
|
this.func = DPSMate.Options.BarFontDropDown
|
|
this.title = DPSMate.L["barfont"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Slider name="$parent_BarFontSize" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarFont" relativePoint="RIGHT">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontsizeTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontsize"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total_Name"):SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfont"]], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontsize"], DPSMate.Options.fontflags[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontflag"]])
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total_Value"):SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfont"]], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontsize"], DPSMate.Options.fontflags[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontflag"]])
|
|
for i=1, 40 do
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Name"):SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfont"]], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontsize"], DPSMate.Options.fontflags[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontflag"]])
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Value"):SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfont"]], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontsize"], DPSMate.Options.fontflags[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontflag"]])
|
|
end
|
|
end
|
|
this:SetMinMaxValues(1,32)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["barfontsize"])
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("32")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Frame name="$parent_BarFontFlag" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_BarFont" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontflagsTooltip"]
|
|
this.func = DPSMate.Options.BarFontFlagsDropDown
|
|
this.title = DPSMate.L["barfontflags"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_BarTexture" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarFontFlag" relativePoint="RIGHT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bartextureTooltip"]
|
|
this.func = DPSMate.Options.BarTextureDropDown
|
|
this.title = DPSMate.L["bartexture"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Slider name="$parent_BarSpacing" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_BarFontFlag" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barspacingTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barspacing"] = this:GetValue()
|
|
for i=1, 40 do
|
|
local bar = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i)
|
|
bar:ClearAllPoints()
|
|
bar:SetPoint("TOPLEFT", getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child"), "TOPLEFT")
|
|
bar:SetPoint("TOPRIGHT", getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child"), "TOPRIGHT")
|
|
if i>1 then
|
|
bar:SetPoint("TOPLEFT", getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..(i-1)), "BOTTOMLEFT", 0, -1*DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barspacing"])
|
|
else
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["showtotals"] then
|
|
bar:SetPoint("TOPLEFT", getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total"), "BOTTOMLEFT", 0, -1*DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barspacing"])
|
|
else
|
|
bar:SetPoint("TOPLEFT", getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total"), "BOTTOMLEFT", 0, -1)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["barspacing"])
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("10")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_BarHeight" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarSpacing" relativePoint="RIGHT">
|
|
<Offset x="25" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barheightTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"] = this:GetValue()
|
|
if DPSMateSettings["showtotals"] then getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total"):SetHeight(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"]) end
|
|
for i=1, 40 do
|
|
local bar = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i)
|
|
bar:SetHeight(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"])
|
|
local icon = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Icon")
|
|
icon:SetWidth(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"])
|
|
icon:SetHeight(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"])
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["classicons"] then
|
|
local name = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Name")
|
|
name:ClearAllPoints()
|
|
name:SetPoint("LEFT", bar, "LEFT", DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"], 0)
|
|
end
|
|
end
|
|
DPSMate:SetStatusBarValue()
|
|
end
|
|
this:SetMinMaxValues(10,25)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["barheight"])
|
|
getglobal(this:GetName().."Low"):SetText("10")
|
|
getglobal(this:GetName().."High"):SetText("25")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Button name="$parent_FontColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_BarHeight" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["fontcolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide = DPSMate.L["fontcolorTooltip"]
|
|
this.var = "barfontcolor"
|
|
this.func = function()
|
|
for i=1, 40 do
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Name"):SetTextColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][3])
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Value"):SetTextColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barfontcolor"][3])
|
|
end
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_BackgroundBarColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_FontColor" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["bgbarcolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide = DPSMate.L["bgbarcolorTooltip"]
|
|
this.var = "bgbarcolor"
|
|
this.func = function()
|
|
for i=1, 40 do
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_BG"):SetVertexColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["bgbarcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["bgbarcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["bgbarcolor"][3], 0.5)
|
|
end
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<CheckButton name="$parent_ClassIcons" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_BarSpacing" relativePoint="BOTTOMLEFT">
|
|
<Offset x="-5" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["classiconstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["classicons"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["classicons"] then
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["classicons"] = false
|
|
for i=1, 40 do
|
|
local bar = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i)
|
|
bar.name = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Name")
|
|
bar.icon = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Icon")
|
|
bar.name:ClearAllPoints()
|
|
bar.name:SetPoint("TOPLEFT", bar, "TOPLEFT")
|
|
bar.name:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT")
|
|
bar.icon:Hide()
|
|
end
|
|
else
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["classicons"] = true
|
|
for i=1, 40 do
|
|
local bar = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i)
|
|
bar.name = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Name")
|
|
bar.icon = getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_Icon")
|
|
bar.name:ClearAllPoints()
|
|
bar.name:SetPoint("TOPLEFT", bar, "TOPLEFT", DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barheight"], 0)
|
|
bar.name:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT")
|
|
bar.icon:Show()
|
|
end
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Ranks" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_ClassIcons" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["rankstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ranks"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["ranks"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["ranks"]
|
|
DPSMate:SetStatusBarValue()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_DisableBG" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_Ranks" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["disablebarbgtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["disablebarbg"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barbg"] then
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barbg"] = false
|
|
for i=1, 40 do
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_BG"):SetAlpha(0.5)
|
|
end
|
|
else
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["barbg"] = true
|
|
for i=1, 40 do
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_StatusBar"..i.."_BG"):SetAlpha(0)
|
|
end
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="$parent_TotalAlpha" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_DisableBG" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["totalbaropacitytooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["totopacity"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total_BG"):SetAlpha(this:GetValue())
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Child_Total"):SetStatusBarColor(1,1,1,this:GetValue())
|
|
end
|
|
this:SetMinMaxValues(0,1)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["totalbaropacity"])
|
|
getglobal(this:GetName().."Low"):SetText("0")
|
|
getglobal(this:GetName().."High"):SetText("1")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_TitleBar" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").r = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][1]
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").g = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][2]
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").b = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][3]
|
|
</OnShow>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Enable" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="10" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["enabletitlebartooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["enable"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebar"] then
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebar"] = false
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head"):Hide()
|
|
else
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebar"] = true
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head"):Show()
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Frame name="$parent_BarFont" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Enable" relativePoint="BOTTOMLEFT">
|
|
<Offset x="-20" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontTooltip"]
|
|
this.func = DPSMate.Options.TitleBarFontDropDown
|
|
this.title = DPSMate.L["barfont"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Slider name="$parent_BarFontSize" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarFont" relativePoint="RIGHT">
|
|
<Offset x="0" y="5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontsizeTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontsize"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head_Font"):SetFont(DPSMate.Options.fonts[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfont"]], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontsize"], DPSMate.Options.fontflags[DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontflag"]])
|
|
end
|
|
this:SetMinMaxValues(1,32)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["barfontsize"])
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("32")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Frame name="$parent_BarFontFlag" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_BarFont" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barfontflagsTooltip"]
|
|
this.func = DPSMate.Options.TitleBarFontFlagsDropDown
|
|
this.title = DPSMate.L["barfontflags"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_BarTexture" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarFontFlag" relativePoint="RIGHT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bartextureTooltip"]
|
|
this.func = DPSMate.Options.TitleBarTextureDropDown
|
|
this.title = DPSMate.L["bartexture"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Slider name="$parent_BarHeight" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_BarFontFlag" relativePoint="BOTTOMLEFT">
|
|
<Offset x="20" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["barheightTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarheight"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head"):SetHeight(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarheight"])
|
|
end
|
|
this:SetMinMaxValues(10,32)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["barheight"])
|
|
getglobal(this:GetName().."Low"):SetText("10")
|
|
getglobal(this:GetName().."High"):SetText("32")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_BGOpacity" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BarHeight" relativePoint="RIGHT">
|
|
<Offset x="30" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bgOpacityTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebaropacity"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head_Background"):SetAlpha(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebaropacity"])
|
|
end
|
|
this:SetMinMaxValues(0,1)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["bgOpacity"])
|
|
getglobal(this:GetName().."Low"):SetText("0")
|
|
getglobal(this:GetName().."High"):SetText("1")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Button name="$parent_BGColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Enable" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["bgcolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide = DPSMate.L["bgcolorTooltip"]
|
|
this.var = "titlebarbgcolor"
|
|
this.func = function()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head_Background"):SetVertexColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarbgcolor"][3])
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_FontColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BGColor" relativePoint="RIGHT">
|
|
<Offset x="110" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["fontcolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide = DPSMate.L["fontcolorTooltip"]
|
|
this.var = "titlebarfontcolor"
|
|
this.func = function()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head_Font"):SetTextColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfontcolor"][3])
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parent_Box1" inherits="DPSMate_Template_Box">
|
|
<Size x="281" y="70" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_BarHeight" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-25" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer levle="ARTWORK">
|
|
<FontString name="$parent_Title" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="CENTER" text="Buttons">
|
|
<Size x="280" y="20" />
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="2" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<CheckButton name="$parent_Report" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["report"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarreport"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarreport"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Mode" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_Report" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["mode"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarsegments"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarsegments"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Reset" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Report" relativePoint="RIGHT">
|
|
<Offset x="67" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["reset"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarreset"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarreset"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Config" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Mode" relativePoint="RIGHT">
|
|
<Offset x="67" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["config"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarconfig"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarconfig"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Sync" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Reset" relativePoint="RIGHT">
|
|
<Offset x="67" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["sync"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarsync"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarsync"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Enable" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Config" relativePoint="RIGHT">
|
|
<Offset x="67" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["enabledisable"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarenable"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarenable"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Filter" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$Parent_Mode" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["filter"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfilter"] = not DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["titlebarfilter"]
|
|
DPSMate.Options:ToggleTitleBarButtonState()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_CBTDisplay" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$Parent_Filter" relativePoint="RIGHT">
|
|
<Offset x="67" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["buttonshowtooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["cbtdisplay"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["cbtdisplay"] then
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["cbtdisplay"] = false
|
|
DPSMate:SetStatusBarValue()
|
|
else
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["cbtdisplay"] = true
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Head_Font"):SetText(DPSMate.Options.Options[1]["args"][DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["CurMode"]].name)
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_Content" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").r = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][1]
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").g = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][2]
|
|
getglobal(this:GetName().."_BGColor_SwatchBg").b = DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][3]
|
|
</OnShow>
|
|
</Scripts>
|
|
<Frames>
|
|
<Frame name="$parent_BGDropDown" inherits="DPSMate_Template_BGDropDown">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="25" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bgtexTooltip"]
|
|
this.func = DPSMate.Options.ContentBGTextureDropDown
|
|
this.title = DPSMate.L["bgtex"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Slider name="$parent_Scale" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_BGDropDown" relativePoint="BOTTOMLEFT">
|
|
<Offset x="-15" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["scaleTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["scale"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"]):SetScale(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["scale"])
|
|
end
|
|
this:SetMinMaxValues(0.5,3)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["scale"])
|
|
getglobal(this:GetName().."Low"):SetText("0.5")
|
|
getglobal(this:GetName().."High"):SetText("3")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_Opacity" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Scale" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["opacityTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["opacity"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"]):SetAlpha(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["opacity"])
|
|
end
|
|
this:SetMinMaxValues(0.0,1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["opacity"])
|
|
getglobal(this:GetName().."Low"):SetText("0.0")
|
|
getglobal(this:GetName().."High"):SetText("1.0")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_BGOpacity" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Opacity" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bgOpacityTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["bgopacity"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Background"):SetAlpha(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["bgopacity"])
|
|
end
|
|
this:SetMinMaxValues(0.0,1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["bgOpacity"])
|
|
getglobal(this:GetName().."Low"):SetText("0.0")
|
|
getglobal(this:GetName().."High"):SetText("1.0")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_BorderOpacity" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_BGOpacity" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-30" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["borderOpacityTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["borderopacity"] = this:GetValue()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Border"):SetAlpha(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["borderopacity"])
|
|
end
|
|
this:SetMinMaxValues(0.0,1.0)
|
|
this:SetValueStep(0.1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["borderOpacity"])
|
|
getglobal(this:GetName().."Low"):SetText("0.0")
|
|
getglobal(this:GetName().."High"):SetText("1.0")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Button name="$parent_BGColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Scale" relativePoint="RIGHT">
|
|
<Offset x="30" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["bgcolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide=DPSMate.L["bgcolorTooltip"]
|
|
this.var = "contentbgcolor"
|
|
this.func = function()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_ScrollFrame_Background"):SetVertexColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][3])
|
|
DPSMate_ConfigMenu_Tab_Content_BGDropDown_Texture:SetBackdropColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbgcolor"][3])
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parent_NumberFormat" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Opacity" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["numberformatTooltip"]
|
|
this.func = DPSMate.Options.NumberFormatDropDown
|
|
this.title = DPSMate.L["numberformat"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_BorderTexture" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BGOpacity" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bordertextureTooltip"]
|
|
this.func = DPSMate.Options.BorderTextureDropDown
|
|
this.title = DPSMate.L["bordertexture"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_BorderStrata" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BorderOpacity" relativePoint="RIGHT">
|
|
<Offset x="0" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["borderstrataTooltip"]
|
|
this.func = DPSMate.Options.BorderStrataDropDown
|
|
this.title = DPSMate.L["borderstrata"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Button name="$parent_BorderColor" inherits="DPSMate_Template_Colorpicker">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_BorderOpacity" relativePoint="RIGHT">
|
|
<Offset x="30" y="-25" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Font"):SetText(DPSMate.L["bordercolor"])
|
|
getglobal(this:GetName().."_SwatchBg").r = 1
|
|
getglobal(this:GetName().."_SwatchBg").g = 1
|
|
getglobal(this:GetName().."_SwatchBg").b = 1
|
|
this.aide=DPSMate.L["bordercolorTooltip"]
|
|
this.var = "contentbordercolor"
|
|
this.func = function()
|
|
getglobal("DPSMate_"..DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["name"].."_Border"):SetBackdropBorderColor(DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbordercolor"][1], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbordercolor"][2], DPSMateSettings["windows"][DPSMate_ConfigMenu_Menu.Key]["contentbordercolor"][3])
|
|
end
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_DataResets" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="$parent_EnteringWorld" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="-10" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["enterworldinstanceTooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["enterworldinstance"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_JoinParty" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_EnteringWorld" relativePoint="RIGHT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["joinpartyTooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["joinparty"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_PartyMemberChanged" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_EnteringWorld" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["partymemberchangedTooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["partymemberchanged"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_LeaveParty" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_PartyMemberChanged" relativePoint="RIGHT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["leavingpartyTooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["leavingparty"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_Sync" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_PartyMemberChanged" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["syncrequesttooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["syncrequest"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_Logout" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Sync" relativePoint="RIGHT">
|
|
<Offset x="-20" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["dataresetslogouttooltip"]
|
|
this.func = DPSMate.Options.DataResetsDropDown
|
|
this.title = DPSMate.L["dataresetslogout"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_GeneralOptions" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="280" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="$parent_Minimap" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["minimaptooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["minimap"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["showminimapbutton"] then
|
|
DPSMateSettings["showminimapbutton"] = false
|
|
DPSMate_MiniMap:Hide()
|
|
else
|
|
DPSMateSettings["showminimapbutton"] = true
|
|
DPSMate_MiniMap:Show()
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Total" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Minimap" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["showtotaltooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["showtotal"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["showtotals"] then
|
|
DPSMateSettings["showtotals"] = false
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_Total"):SetHeight(0.000001)
|
|
getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_StatusBar1"):SetPoint("TOPLEFT", getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_Total"), "BOTTOMLEFT", 0, -1)
|
|
end
|
|
else
|
|
DPSMateSettings["showtotals"] = true
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_Total"):SetHeight(val["barheight"])
|
|
getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_StatusBar1"):SetPoint("TOPLEFT", getglobal("DPSMate_"..val["name"].."_ScrollFrame_Child_Total"), "BOTTOMLEFT", 0, -1*val["barspacing"])
|
|
end
|
|
end
|
|
DPSMate:SetStatusBarValue()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Solo" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Total" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["solotooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["solo"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["hidewhensolo"] then
|
|
DPSMateSettings["hidewhensolo"] = false
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"]):Show()
|
|
end
|
|
else
|
|
DPSMateSettings["hidewhensolo"] = true
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"]):Hide()
|
|
end
|
|
end
|
|
DPSMate.Options:HideInPvP()
|
|
DPSMate.Options:HideWhenSolo()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Combat" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Solo" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["combattooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["combat"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["hideincombat"] then
|
|
DPSMateSettings["hideincombat"] = false
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"]):Show()
|
|
end
|
|
else
|
|
DPSMateSettings["hideincombat"] = true
|
|
if UnitAffectingCombat("player") then
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"]):Hide()
|
|
end
|
|
end
|
|
end
|
|
DPSMate.Options:HideInPvP()
|
|
DPSMate.Options:HideWhenSolo()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Login" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Combat" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["loginhidetooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["loginhide"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["hideonlogin"] = not DPSMateSettings["hideonlogin"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_BossFights" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Minimap" relativePoint="RIGHT">
|
|
<Offset x="115" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["bossfightstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["bossfights"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["onlybossfights"] = not DPSMateSettings["onlybossfights"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_PVP" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_BossFights" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["pvptooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["pvp"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["hideinpvp"] then
|
|
DPSMateSettings["hideinpvp"] = false
|
|
for _, val in pairs(DPSMateSettings["windows"]) do
|
|
getglobal("DPSMate_"..val["name"]):Show()
|
|
end
|
|
else
|
|
DPSMateSettings["hideinpvp"] = true
|
|
end
|
|
DPSMate.Options:HideWhenSolo()
|
|
DPSMate.Options:HideInPvP()
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Disable" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_PVP" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["disabletooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["disable"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["disablewhilehidden"] then
|
|
DPSMateSettings["disablewhilehidden"] = false
|
|
DPSMate:Enable()
|
|
else
|
|
DPSMateSettings["disablewhilehidden"] = true
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_MergePets" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Disable" relativePoint="BOTTOMLEFT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["mergepetstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["mergepets"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
if DPSMateSettings["mergepets"] then
|
|
DPSMateSettings["mergepets"] = false
|
|
DPSMate:Enable()
|
|
else
|
|
DPSMateSettings["mergepets"] = true
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="$parent_Segments" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Login" relativePoint="BOTTOMLEFT">
|
|
<Offset x="3" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["segmentsTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["datasegments"] = this:GetValue()
|
|
if DPSMate:TableLength(DPSMateHistory)>DPSMateSettings["datasegments"] then
|
|
for i=(DPSMateSettings["datasegments"]+1), DPSMate:TableLength(DPSMateHistory) do
|
|
for p=1, DPSMate:TableLength(DPSMateSettings["windows"]) do
|
|
DPSMateSettings["windows"][p]["options"][2]["segment"..i] = false
|
|
end
|
|
table.remove(DPSMateHistory, i)
|
|
end
|
|
end
|
|
if DPSMate:TableLength(DPSMateCombatTime["segments"])>DPSMateSettings["datasegments"] then
|
|
for i=DPSMateSettings["datasegments"]+1, DPSMate:TableLength(DPSMateCombatTime["segments"]) do
|
|
for p=1, DPSMate:TableLength(DPSMateSettings["windows"]) do
|
|
DPSMateSettings["windows"][p]["options"][2]["segment"..i] = false
|
|
end
|
|
table.remove(DPSMateCombatTime["segments"], i)
|
|
end
|
|
end
|
|
for p=1, DPSMate:TableLength(DPSMateSettings["windows"]) do
|
|
local hasTrue = false
|
|
for _,val in pairs(DPSMateSettings["windows"][p]["options"][2]) do
|
|
if val==true then
|
|
hasTrue = true
|
|
break
|
|
end
|
|
end
|
|
if not hasTrue then
|
|
for cat,_ in pairs(DPSMateSettings["windows"][p]["options"][2]) do
|
|
DPSMateSettings["windows"][p]["options"][2][cat] = false
|
|
end
|
|
DPSMateSettings["windows"][p]["options"][2]["total"] = true
|
|
end
|
|
end
|
|
DPSMate.Options:InitializeSegments()
|
|
DPSMate:SetStatusBarValue()
|
|
end
|
|
this:SetMinMaxValues(1,20)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["segments"])
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("20")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_TargetScale" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Segments" relativePoint="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["targetscaleTooltip"]
|
|
local frames = {"", "_Absorbs", "_AbsorbsTaken", "_Auras", "_Casts", "_CCBreaker", "_CureDisease", "_CureDiseaseReceived", "_CurePoison", "_CurePoisonReceived", "_DamageTaken", "_DamageTakenTotal", "_DamageTotal", "_Deaths", "_Decurses", "_DecursesReceived", "_Dispels", "_DispelsReceived", "_EDD", "_EDT", "_EHealing", "_EHealingTaken", "_Fails", "_FF", "_FFT", "_Healing", "_HealingTaken", "_Interrupts", "_LiftMagic", "_LiftMagicReceived", "_OHealingTaken", "_Overhealing", "_Procs", "_Threat", "_AbsorbsTakenTotal", "_AbsorbsTotal", "_AurasTotal", "_CastsTotal", "_CCBreakerTotal", "_CureDisease_Total", "_CurePoison_Total", "_Deaths_Total", "_Decurses_Total", "_Dispels_Total", "_EDDTotal", "_EDTTotal", "_EHealingTakenTotal", "_EHealingTotal", "_FailsTotal", "_FFTotal", "_FFTTotal", "_HABTotal", "_HealingTakenTotal", "_HealingTotal", "_Interrupts_Total", "_LiftMagic_Total", "_OverhealingTakenTotal", "_OverhealingTotal", "_ProcsTotal", "_ThreatTotal"}
|
|
this.func = function()
|
|
DPSMateSettings["targetscale"] = this:GetValue()
|
|
for _, name in frames do
|
|
if getglobal("DPSMate_Details"..name) then
|
|
getglobal("DPSMate_Details"..name):SetScale(DPSMateSettings["targetscale"]/UIParent:GetScale())
|
|
end
|
|
end
|
|
end
|
|
this:SetMinMaxValues(0.3,2.0)
|
|
this:SetValueStep(0.01)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["targetscale"])
|
|
getglobal(this:GetName().."Low"):SetText("0.3")
|
|
getglobal(this:GetName().."High"):SetText("2.0")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_UpdateInterval" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Segments" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["updateintervalTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["mainupdatetime"] = this:GetValue()
|
|
end
|
|
this:SetMinMaxValues(0.016,2.0)
|
|
this:SetValueStep(0.016)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["updateinterval"])
|
|
getglobal(this:GetName().."Low"):SetText("0.016")
|
|
getglobal(this:GetName().."High"):SetText("2.0")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Slider name="$parent_AutoWipe" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_UpdateInterval" relativePoint="RIGHT">
|
|
<Offset x="15" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["autowipeTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["autowipesessions"] = this:GetValue()
|
|
end
|
|
this:SetMinMaxValues(0,30)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["autowipe"])
|
|
getglobal(this:GetName().."Low"):SetText("0")
|
|
getglobal(this:GetName().."High"):SetText("30")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<ScrollFrame name="$parent_Tab_Columns" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetVerticalScroll(0)
|
|
</OnLoad>
|
|
<OnMouseWheel>
|
|
DPSMate.Options:OnVerticalScroll(this, arg1)
|
|
</OnMouseWheel>
|
|
</Scripts>
|
|
<HitRectInsets left="0" right="0" top="10" bottom="10"/>
|
|
<ScrollChild>
|
|
<Frame name="$parent_Child">
|
|
<Size x="300" y="2120" />
|
|
<Frames>
|
|
<Frame name="$parent_DPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Damage" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmg", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmg", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmg", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmg", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_DamageTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Damage" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damagetaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmgtaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmgtaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmgtaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdmgtaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_DTPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DamageTaken" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dtps"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdtps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdtps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdtps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdtps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_EDD" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DTPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["enemydamagedone"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedd", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedd", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedd", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedd", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_EDT" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_EDD" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["enemydamagetaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedt", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedt", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedt", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edtps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsedt", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Healing" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_EDT" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealing", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealing", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealing", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealing", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_HealingTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Healing" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healingtaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealingtaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealingtaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealingtaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshealingtaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_HPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_HealingTaken" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Overhealing" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_HPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["overhealing"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsoverhealing", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsoverhealing", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsoverhealing", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsoverhealing", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_EffectiveHealing" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Overhealing" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["effectivehealing"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealing", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealing", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealing", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealing", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_EffectiveHealingTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_EffectiveHealing" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["effectivehealingtaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealingtaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealingtaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealingtaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehealingtaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_EffectiveHPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_EffectiveHealingTaken" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["effectivehps"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsehps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Absorbs" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_EffectiveHPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["absorbs"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["absorbs"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbs", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbs", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbs", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbs", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_AbsorbsTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Absorbs" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["absorbstaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["absorbs"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbstaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbstaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbstaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsabsorbstaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_HAB" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_AbsorbsTaken" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healingandabsorbs"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshab", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshab", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshab", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ehps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnshab", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Deaths" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_HAB" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["deaths"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdeaths", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdeaths", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Interrupts" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Deaths" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["interrupts"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsinterrupts", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsinterrupts", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Dispels" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Interrupts" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dispels"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdispels", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdispels", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_DispelsReceived" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Dispels" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dispelsreceived"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdispelsreceived", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdispelsreceived", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Decurses" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DispelsReceived" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["decurses"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdecurses", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdecurses", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_DecursesReceived" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Decurses" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["decursesreceived"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdecursesreceived", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdecursesreceived", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Disease" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DecursesReceived" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["curedisease"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdisease", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdisease", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_DiseaseReceived" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Disease" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["curediseasereceived"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdiseasereceived", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsdiseasereceived", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Poison" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_DiseaseReceived" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["curepoison"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnspoison", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnspoison", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_PoisonReceived" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Poison" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["curepoisonreceived"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnspoisonreceived", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnspoisonreceived", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Magic" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_PoisonReceived" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["liftmagic"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsmagic", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsmagic", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_MagicReceived" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Magic" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["liftmagicreceived"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsmagicreceived", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsmagicreceived", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_AurasGained" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_MagicReceived" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["aurasgained"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsaurasgained", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsaurasgained", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_AurasLost" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_AurasGained" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["auraslost"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsauraslost", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsauraslost", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_AuraUptime" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_AurasLost" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["aurauptime"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsaurauptime", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsaurauptime", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_FriendlyFire" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_AuraUptime" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["friendlyfire"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfire", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfire", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfire", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfire", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Procs" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_FriendlyFire" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["procs"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsprocs", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsprocs", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Casts" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Procs" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["casts"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnscasts", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnscasts", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Threat" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Casts" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["threat"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsthreat", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["tps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsthreat", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsthreat", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["etps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsthreat", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_TPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Threat" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["tps"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnstps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["tps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnstps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnstps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["etps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnstps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_Fails" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_TPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["fails"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfails", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfails", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_CCBreaker" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Fails" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ccbreaker"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["amount"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsccbreaker", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsccbreaker", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_OHPS" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_CCBreaker" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["OHPS"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohps", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["OHPS"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohps", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohps", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["eohps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohps", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_OHealingTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_OHPS" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["OHealingTaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["healing"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohealingtaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["OHPS"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohealingtaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohealingtaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["eohps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsohealingtaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
<Frame name="$parent_FriendlyFireTaken" inherits="DPSMate_Template_BoxColumns">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_OHealingTaken" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-20" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["friendlyfiretaken"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
<Frames>
|
|
<CheckButton name="$parent_Check1" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-8" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["damage"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfiretaken", 1)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check2" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check1" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["dps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfiretaken", 2)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check3" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check2" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["percent"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfiretaken", 3)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Check4" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Check3" relativePoint="RIGHT">
|
|
<Offset x="50" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["columnstooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["edps"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Options:CheckButton("columnsfriendlyfiretaken", 4)
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</ScrollChild>
|
|
</ScrollFrame>
|
|
|
|
<Frame name="$parent_Tab_Tooltips" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="$parent_Tooltips" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["showtooltipsTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["showtooltips"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["showtooltips"] = not DPSMateSettings["showtooltips"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_InformativeTooltips" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Tooltips" relativePoint="RIGHT">
|
|
<Offset x="115" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["informativetooltipsTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["informativetooltips"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["informativetooltips"] = not DPSMateSettings["informativetooltips"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<Slider name="$parent_Rows" inherits="DPSMate_Template_Slider">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent_Tooltips" relativePoint="BOTTOMLEFT">
|
|
<Offset x="0" y="-15" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["subviewrowsTooltip"]
|
|
this.func = function()
|
|
DPSMateSettings["subviewrows"] = this:GetValue()
|
|
end
|
|
this:SetMinMaxValues(1,10)
|
|
this:SetValueStep(1)
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["subviewrows"])
|
|
getglobal(this:GetName().."Low"):SetText("1")
|
|
getglobal(this:GetName().."High"):SetText("10")
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Slider>
|
|
<Frame name="$parent_Position" inherits="DPSMate_Template_DropDown">
|
|
<Size x="120" y="24" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Rows" relativePoint="RIGHT">
|
|
<Offset x="0" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["TooltipPositionDropDownTooltip"]
|
|
this.func = DPSMate.Options.TooltipPositionDropDown
|
|
this.title = DPSMate.L["TooltipPositionDropDown"]
|
|
UIDropDownMenu_SetWidth(120)
|
|
getglobal(this:GetName().."_Text"):SetText(this.title)
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_Modes" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<ScrollFrame name="$parent_left" inherits="DPSMate_Template_Modes_Box">
|
|
<Anchors>
|
|
<Anchor point="LEFT">
|
|
<Offset x="5" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["shownmodes"])
|
|
</OnLoad>
|
|
<OnShow>
|
|
DPSMate.Options:UpdateConfigModes(this, 0, true)
|
|
</OnShow>
|
|
<OnMouseWheel>
|
|
DPSMate.Options:UpdateConfigModes(this, arg1, true)
|
|
</OnMouseWheel>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
<ScrollFrame name="$parent_right" inherits="DPSMate_Template_Modes_Box">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_left" relativePoint="RIGHT">
|
|
<Offset x="60" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["hiddenmodes"])
|
|
</OnLoad>
|
|
<OnShow>
|
|
DPSMate.Options:UpdateConfigModes(this, 0, false)
|
|
</OnShow>
|
|
<OnMouseWheel>
|
|
DPSMate.Options:UpdateConfigModes(this, arg1, false)
|
|
</OnMouseWheel>
|
|
</Scripts>
|
|
</ScrollFrame>
|
|
<Button name="$parent_moveLeft" inherits="DPSMate_Template_Button">
|
|
<Size x="60" y="28" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_left" relativePoint="RIGHT">
|
|
<Offset x="0" y="12" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["moveleftTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText("<---")
|
|
</OnLoad>
|
|
<OnClick>
|
|
local pa = this:GetParent():GetName()
|
|
for i=1, 15 do
|
|
if getglobal(pa.."_right_Button"..i).selected then
|
|
local num = getglobal(pa.."_right_Button"..i.."Text"):GetText()
|
|
DPSMateSettings["hiddenmodes"][DPSMate.ModuleNames[num]] = nil
|
|
DPSMate.Options.Options[1]["args"][DPSMate.ModuleNames[num]] = nil
|
|
DPSMate.Options:UpdateConfigModes(getglobal(pa.."_left"), 0, true)
|
|
DPSMate.Options:UpdateConfigModes(getglobal(pa.."_right"), 0, false)
|
|
DPSMate.Options.Options[1]["args"][DPSMate.ModuleNames[num]] = {
|
|
order = 300,
|
|
type = 'toggle',
|
|
name = num,
|
|
desc = "Show "..num..",",
|
|
get = function() return DPSMateSettings["windows"][DPSMate.Options.Dewdrop:GetOpenedParent().Key]["options"][1][DPSMate.ModuleNames[num]] end,
|
|
set = function() DPSMate.Options:ToggleDrewDrop(1, DPSMate.ModuleNames[num], DPSMate.Options.Dewdrop:GetOpenedParent()) end,
|
|
}
|
|
break
|
|
end
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_moveRight" inherits="DPSMate_Template_Button">
|
|
<Size x="60" y="28" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_moveLeft" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["moverightTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText("--->")
|
|
</OnLoad>
|
|
<OnClick>
|
|
local pa = this:GetParent():GetName()
|
|
for i=1, 15 do
|
|
if getglobal(pa.."_left_Button"..i).selected then
|
|
local num = getglobal(pa.."_left_Button"..i.."Text"):GetText()
|
|
DPSMateSettings["hiddenmodes"][DPSMate.ModuleNames[num]] = true
|
|
DPSMate.Options.Options[1]["args"][DPSMate.ModuleNames[num]] = nil
|
|
DPSMate.Options:UpdateConfigModes(getglobal(pa.."_left"), 0, true)
|
|
DPSMate.Options:UpdateConfigModes(getglobal(pa.."_right"), 0, false)
|
|
break
|
|
end
|
|
end
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_RaidLeader" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Button name="$parent_HelloWorld" inherits="DPSMate_Template_Button">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT">
|
|
<Offset x="10" y="-10" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["helloworldTooltip"]
|
|
getglobal(this:GetName().."Text"):SetText(DPSMate.L["helloworld"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMate.Sync:HelloWorld()
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_Broadcasting" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<CheckButton name="$parent_Enable" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset x="5" y="-5" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["enablebroadcasting"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["enable"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["broadcasting"] = not DPSMateSettings["broadcasting"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_RaidWarning" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Enable" relativePoint="RIGHT">
|
|
<Offset x="130" y="0" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["useraidwarningTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["useraidwarning"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["bcrw"] = not DPSMateSettings["bcrw"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Cooldowns" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Enable" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["relevantcdsTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["relevantcds"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["bccd"] = not DPSMateSettings["bccd"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Ress" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Cooldowns" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["ressTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["ress"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["bcress"] = not DPSMateSettings["bcress"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_KillingBlows" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Ress" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["killingblowsTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["killingblows"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["bckb"] = not DPSMateSettings["bckb"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
<CheckButton name="$parent_Fails" inherits="DPSMate_Template_CheckButton">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_KillingBlows" relativePoint="BOTTOM" />
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this.aide = DPSMate.L["failsTooltip"]
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["fails"])
|
|
</OnLoad>
|
|
<OnClick>
|
|
DPSMateSettings["bcfail"] = not DPSMateSettings["bcfail"]
|
|
</OnClick>
|
|
</Scripts>
|
|
</CheckButton>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<Frame name="$parent_Tab_About" inherits="DPSMate_Template_Box" hidden="true">
|
|
<Size x="301" y="250" />
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Menu" relativePoint="RIGHT" />
|
|
</Anchors>
|
|
<Frames>
|
|
<Frame name="$parent_What" inherits="DPSMate_Template_TextBox">
|
|
<Size x="280" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset x="0" y="-17" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["whatisdpsmate"])
|
|
getglobal(this:GetName().."_Text"):SetText(DPSMate.L["whatisdpsmateText"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_Who" inherits="DPSMate_Template_TextBox">
|
|
<Size x="280" y="50" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_What" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-17" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["whocreateddpsmate"])
|
|
getglobal(this:GetName().."_Text"):SetText(DPSMate.L["whocreateddpsmateText"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
<Frame name="$parent_Thanks" inherits="DPSMate_Template_TextBox">
|
|
<Size x="280" y="90" />
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent_Who" relativePoint="BOTTOM">
|
|
<Offset x="0" y="-17" />
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
getglobal(this:GetName().."_Title"):SetText(DPSMate.L["thanksto"])
|
|
getglobal(this:GetName().."_Text"):SetHeight(90)
|
|
getglobal(this:GetName().."_Text"):ClearAllPoints()
|
|
getglobal(this:GetName().."_Text"):SetPoint("TOPLEFT", this, "TOPLEFT", 5, -5)
|
|
getglobal(this:GetName().."_Text"):SetText(DPSMate.L["thankstoText"])
|
|
</OnLoad>
|
|
</Scripts>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</Frames>
|
|
</Frame>
|
|
</Ui> |