<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> <!-- <Script file="TipBuddyTitan.lua"/> --> <!-- <Include file="GameTooltipTemplate.xml"/> --> <!-- "Interface\\Glues\\Common\TextPanel-Border" --> <Frame name="TipBuddy_OptionsFrame_UnitsTemplate" inherits="OptionFrameBoxTemplate" virtual="true"> <Size> <AbsDimension x="220" y="380"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="40" y="-16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_UnitsOptions_Template" inherits="OptionFrameBoxTemplate" frameStrata="DIALOG" toplevel="true" virtual="true"> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="22"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <Size> <AbsDimension x="180" y="274"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="$parent"> <Offset> <AbsDimension x="0" y="-22"/> </Offset> </Anchor> </Anchors> </Frame> <!-- CHECKBOX TEMPLATE --> <CheckButton name="TipBuddy_CheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> <HitRectInsets> <AbsInset left="0" right="-50" top="0" bottom="0"/> </HitRectInsets> <OnClick> if (self:GetChecked()) then PlaySound("igMainMenuOptionCheckBoxOff"); else PlaySound("igMainMenuOptionCheckBoxOn"); end </OnClick> </CheckButton> <!-- TINY CHECKBOX TEMPLATE --> <CheckButton name="TB_TinyPopupCheckButtonTemplate" virtual="true"> <Size> <AbsDimension x="18" y="18"/> </Size> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="TB_TTGameFontNormalSmall" text="x"> <Anchors> <Anchor point="LEFT" relativePoint="RIGHT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> <Scripts> <OnClick> if (self:GetChecked()) then PlaySound("igMainMenuOptionCheckBoxOn"); else PlaySound("igMainMenuOptionCheckBoxOff"); end </OnClick> <OnEnter> if (self.tooltipText) then GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if (self.tooltipRequirement) then GameTooltip:AddLine(self.tooltipRequirement, "", 1.0, 1.0, 1.0); GameTooltip:Show(); end </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </CheckButton> <!-- POPUP PLUS BUTTON TEMPLATE --> <Frame name="TipBuddy_PlusButton_Template" enableMouse="true" hidden="false" virtual="true"> <Size> <AbsDimension x="12" y="12"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="OVERLAY"> <Texture name="$parentArt" file="Interface\Buttons\UI-GuildButton-PublicNote-Up"> <Size> <AbsDimension x="12" y="12"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Texture> </Layer> </Layers> </Frame> <!-- TARGET'S TARGET CHECKBOX BUTTON --> <CheckButton name="TipBuddy_TargetTargetCheckbox_Template" inherits="TipBuddy_CheckButtonTemplate" virtual="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Frames> <Frame name="$parent_Plus" inherits="TipBuddy_PlusButton_Template"> <Frames> <Frame name="$parentPopup" enableMouse="true" hidden="true"> <Size> <AbsDimension x="120" y="122"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <HitRectInsets> <AbsInset left="-2" right="-2" top="-2" bottom="-2"/> </HitRectInsets> <Frames> <CheckButton name="$parent_1" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="7" y="-7"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetTextColor(0.3, 0.9, 0.3); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> <CheckButton name="$parent_2" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOP" relativeTo="$parent_1" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetTextColor(0.9, 0.2, 0.2); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> <CheckButton name="$parent_3" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOP" relativeTo="$parent_2" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetTextColor(0.4, 0.4, 1); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> <CheckButton name="$parent_4" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOP" relativeTo="$parent_3" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetTextColor(1, 1, 0); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> <CheckButton name="$parent_5" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOP" relativeTo="$parent_4" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetTextColor(1, 1, 1); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.8, 0.8, 0.8); self:SetBackdropColor(0.35, 0.35, 0.5, 1); </OnLoad> <OnEnter> TipBuddyPopup_StopCounting(self); </OnEnter> <OnLeave> TipBuddyPopup_StartCounting(self); </OnLeave> <OnHide> --CSG_OptionsBarSml:Show(); --PlaySoundFile("Sound\\Interface\\uSpellIconDrop.wav"); PlaySound("igMainMenuOptionCheckBoxOn"); </OnHide> <OnUpdate> UIDropDownMenu_OnUpdate(self, elapsed); </OnUpdate> </Scripts> </Frame> </Frames> <Scripts> <OnEnter> if (self:GetParent():GetChecked()) then local popframe = getglobal(self:GetParent():GetName().."_PlusPopup"); popframe:Show(); PlaySoundFile("Sound\\Interface\\iDeselectTarget.wav"); end </OnEnter> </Scripts> </Frame> </Frames> <Scripts> <OnShow> if (self:GetChecked()) then getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnShow> <OnClick> if (self:GetChecked()) then PlaySound("igMainMenuOptionCheckBoxOff"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else PlaySound("igMainMenuOptionCheckBoxOn"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnClick> </Scripts> </CheckButton> <!-- HEALTH/MANA TEXT CHECKBOX BUTTON --> <CheckButton name="TipBuddy_HealthbarCheckbox_Template" inherits="TipBuddy_CheckButtonTemplate" virtual="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Frames> <Frame name="$parent_Plus" inherits="TipBuddy_PlusButton_Template"> <Frames> <Frame name="$parentPopup" enableMouse="true" hidden="true"> <Size> <AbsDimension x="120" y="58"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-1" y="-1"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <HitRectInsets> <AbsInset left="-2" right="-2" top="-2" bottom="-2"/> </HitRectInsets> <Frames> <CheckButton name="$parent_1" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="7" y="-7"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetText("Show Health Text"); text:SetTextColor(1, 1, 1); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> <CheckButton name="$parent_2" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOP" relativeTo="$parent_1" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-3"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetText("Show Mana Text"); text:SetTextColor(1, 1, 1); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.8, 0.8, 0.8); self:SetBackdropColor(0.35, 0.35, 0.5); </OnLoad> <OnEnter> TipBuddyPopup_StopCounting(self); </OnEnter> <OnLeave> TipBuddyPopup_StartCounting(self); </OnLeave> <OnHide> --CSG_OptionsBarSml:Show(); --PlaySoundFile("Sound\\Interface\\SheathMetal.wav"); PlaySound("igMainMenuOptionCheckBoxOn"); </OnHide> <OnUpdate> UIDropDownMenu_OnUpdate(self, elapsed); </OnUpdate> </Scripts> </Frame> </Frames> <Scripts> <OnEnter> if (self:GetParent():GetChecked()) then local popframe = getglobal(self:GetParent():GetName().."_PlusPopup"); popframe:Show(); PlaySoundFile("Sound\\Interface\\iDeselectTarget.wav"); end </OnEnter> </Scripts> </Frame> </Frames> <Scripts> <OnShow> if (self:GetChecked()) then getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnShow> <OnClick> if (self:GetChecked()) then PlaySound("igMainMenuOptionCheckBoxOff"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else PlaySound("igMainMenuOptionCheckBoxOn"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnClick> </Scripts> </CheckButton> <!-- PVP TEXT CHECKBOX BUTTON --> <CheckButton name="TipBuddy_PVPCheckbox_Template" inherits="TipBuddy_CheckButtonTemplate" virtual="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Frames> <Frame name="$parent_Plus" inherits="TipBuddy_PlusButton_Template"> <Frames> <Frame name="$parentPopup" enableMouse="true" hidden="true"> <Size> <AbsDimension x="120" y="30"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-1" y="-1"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <HitRectInsets> <AbsInset left="-2" right="-2" top="-2" bottom="-2"/> </HitRectInsets> <Frames> <CheckButton name="$parent_1" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="7" y="-7"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> local text = getglobal(self:GetName().."Text"); text:SetText("Show Text Only"); text:SetTextColor(1, 1, 1); </OnShow> <OnEnter> TipBuddyPopup_StopCounting(self:GetParent()); </OnEnter> </Scripts> </CheckButton> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.8, 0.8, 0.8); self:SetBackdropColor(0.35, 0.35, 0.5); </OnLoad> <OnEnter> TipBuddyPopup_StopCounting(self); </OnEnter> <OnLeave> TipBuddyPopup_StartCounting(self); </OnLeave> <OnHide> --PlaySoundFile("Sound\\Interface\\SheathMetal.wav"); PlaySound("igMainMenuOptionCheckBoxOn"); </OnHide> <OnUpdate> UIDropDownMenu_OnUpdate(self, elapsed); </OnUpdate> </Scripts> </Frame> </Frames> <Scripts> <OnEnter> if (self:GetParent():GetChecked()) then local popframe = getglobal(self:GetParent():GetName().."_PlusPopup"); popframe:Show(); PlaySoundFile("Sound\\Interface\\iDeselectTarget.wav"); end </OnEnter> </Scripts> </Frame> </Frames> <Scripts> <OnShow> if (self:GetChecked()) then getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnShow> <OnClick> if (self:GetChecked()) then PlaySound("igMainMenuOptionCheckBoxOff"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(1, 1, 1); else PlaySound("igMainMenuOptionCheckBoxOn"); getglobal(self:GetName().."_PlusArt"):SetVertexColor(0.4, 0.4, 0.4); end </OnClick> </Scripts> </CheckButton> <!-- CHECKBOX WITH OPTIONAL TEXT BUTTON --> <CheckButton name="TipBuddy_CheckboxText_Template" inherits="TipBuddy_CheckButtonTemplate" virtual="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Frames> <CheckButton name="$parentTiny1" inherits="TB_TinyPopupCheckButtonTemplate"> <Anchors> <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-2" y="4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> local text = getglobal(self:GetName().."Text"); text:SetText("T"); text:SetTextHeight(7); </OnLoad> </Scripts> </CheckButton> </Frames> </CheckButton> <!-- TEMPLATE FOR SLIDERS THAT HAVE A TEXT UPDATE SHOWING THE CURRENT STATE --> <Slider name="TipBuddy_SliderWithText_Template" inherits="OptionsSliderTemplate" virtual="true"> <Layers> <Layer level="ARTWORK"> <FontString name="$parentTextUpdate" inherits="GameFontNormalSmall" text="XXX"> <Anchors> <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnUpdate> if (self.updatetext) then if ((self:GetName() == ("TipBuddy_OptionsFrame_Slider2")) or (self:GetName() == ("TipBuddy_OptionsFrame_Slider3"))) then self.updatetext:SetText(format("%.1f",(self:GetValue()))); elseif (self:GetName() == ("TipBuddy_OptionsFrame_Slider6")) then self.updatetext:SetText(format("%.2f",(self:GetValue()))); else self.updatetext:SetText(self:GetValue()); end return; end self.updatetext = getglobal(self:GetName().."TextUpdate"); </OnUpdate> </Scripts> </Slider> <Slider name="TipBuddy_SliderWithText_Template2" orientation="HORIZONTAL" virtual="true" enableMouse="true"> <Size> <AbsDimension x="128" y="17"/> </Size> <HitRectInsets> <AbsInset left="0" right="0" top="-10" bottom="-10"/> </HitRectInsets> <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="3" right="3" top="6" bottom="6"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="TBGameFontNormal"> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentLow" inherits="TBGameFontHighlight" text="LOW"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentHigh" inherits="TBGameFontHighlight" text="HIGH"> <Anchors> <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="-2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="ARTWORK"> <FontString name="$parentTextUpdate" inherits="TBGameFontNormal" text="XXX"> <Anchors> <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="5" y="0.5"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnEnter> if (self.tooltipText) then GameTooltip:SetOwner(self,"ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if (self.tooltipRequirement) then GameTooltip:AddLine(self.tooltipRequirement, "", 1.0, 1.0, 1.0); GameTooltip:Show(); end </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> <OnUpdate> if (self.updatetext) then --self.updatetext:SetText(format("%.1f", (self:GetValue()))); self.updatetext:SetText(self:GetValue()); return; end self.updatetext = getglobal(self:GetName().."TextUpdate"); </OnUpdate> </Scripts> <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal"> <Size> <AbsDimension x="32" y="32"/> </Size> </ThumbTexture> </Slider> <!-- COLOR PICKER BUTTON TEMPLATE --> <Button name="TipBuddy_ColorPickerButton_Template" frameStrata="HIGH" virtual="true"> <Size> <AbsDimension x="22" y="22"/> </Size> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentSwatchBg"> <Size> <AbsDimension x="22" y="22"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Color r="1" g="1" b="1"/> </Texture> </Layer> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontNormalSmall" text="XXX"> <Anchors> <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnShow> getglobal(self:GetName().."SwatchBg"):SetVertexColor(0.5, 0.5, 0.5); </OnShow> <OnClick> TipBuddy_Background_ColorPick(self); --TB_AddMessage("clicking button: "..self:GetName()); </OnClick> <OnEnter> getglobal(self:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); if (self.tooltipText) then GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if (self.tooltipRequirement) then GameTooltip:AddLine(self.tooltipRequirement, "", 1.0, 1.0, 1.0); GameTooltip:Show(); end </OnEnter> <OnLeave> <!-- local type = TipBuddy_GetColorPicker_GetType(self:GetName()); --> getglobal(self:GetName().."SwatchBg"):SetVertexColor(0.5, 0.5, 0.5); GameTooltip:Hide(); </OnLeave> </Scripts> <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </NormalTexture> </Button> <!-- COLOR PICKER BUTTON TEMPLATE SMALL--> <Button name="TipBuddy_ColorPickerButtonSml_Template" virtual="true"> <Size> <AbsDimension x="18" y="18"/> </Size> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentSwatchBg"> <Size> <AbsDimension x="16" y="16"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Color r="1" g="1" b="1"/> </Texture> </Layer> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontNormalSmall" text="XXX"> <Anchors> <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> getglobal(self:GetName().."SwatchBg"):SetVertexColor(0.5, 0.5, 0.5); </OnLoad> <OnClick> TipBuddy_Text_ColorPick(self); </OnClick> <OnEnter> getglobal(self:GetName().."SwatchBg"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); if (self.tooltipText) then GameTooltip:SetOwner(self, "ANCHOR_RIGHT"); GameTooltip:SetText(self.tooltipText, nil, nil, nil, nil, 1); end if (self.tooltipRequirement) then GameTooltip:AddLine(self.tooltipRequirement, "", 1.0, 1.0, 1.0); GameTooltip:Show(); end </OnEnter> <OnLeave> <!-- local type = TipBuddy_GetColorPicker_GetType(self:GetName()); --> getglobal(self:GetName().."SwatchBg"):SetVertexColor(0.5, 0.5, 0.5); GameTooltip:Hide(); </OnLeave> </Scripts> <NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"> <Size> <AbsDimension x="18" y="18"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </NormalTexture> </Button> <!-- EDITBOX TEMPLATE 1 (first line)--> <EditBox name="TipBuddy_EditBox_Template1" letters="128" enableMouse="true" maxLines="1" virtual="true"> <Size> <AbsDimension x="146" y="20"/> </Size> <Frames> <Frame frameStrata="MEDIUM"> <Size> <AbsDimension x="160" y="129"/> </Size> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="4" right="4" top="4" bottom="4"/> </BackgroundInsets> </Backdrop> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="-6" y="2" /> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropColor(0.2, 0.2, 0.2); </OnLoad> </Scripts> </Frame> </Frames> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent"> <Offset> <AbsDimension x="24" y="-36" /> </Offset> </Anchor> <Anchor point="BOTTOMRIGHT" relativePoint="TOPLEFT" relativeTo="$parent"> <Offset> <AbsDimension x="170" y="-58" /> </Offset> </Anchor> </Anchors> <Scripts> <OnEnterPressed> getglobal("TB_EditBox_0"..self:GetID().."_2"):SetFocus(); self:ClearFocus(); </OnEnterPressed> <OnEscapePressed> self:ClearFocus(); </OnEscapePressed> <OnEditFocusLost> self:HighlightText(0, 0); </OnEditFocusLost> <!-- <OnEditFocusGained> self:HighlightText(); </OnEditFocusGained> --> </Scripts> <FontString inherits="GameTooltipText"> <FontHeight> <AbsValue val="14"/> </FontHeight> <Color r="1.0" g="1.0" b="1.0"/> </FontString> </EditBox> <!-- EDITBOX TEMPLATE 2 --> <EditBox name="TipBuddy_EditBox_Template2" letters="1024" multiLine="true" enableMouse="true" historyLines="7" virtual="true"> <Size> <AbsDimension x="146" y="100"/> </Size> <!-- <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> --> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent"> <Offset> <AbsDimension x="24" y="-54" /> </Offset> </Anchor> <Anchor point="BOTTOMRIGHT" relativePoint="TOPLEFT" relativeTo="$parent"> <Offset> <AbsDimension x="170" y="-166" /> </Offset> </Anchor> </Anchors> <Scripts> <OnEscapePressed> self:ClearFocus(); </OnEscapePressed> <OnEditFocusLost> self:HighlightText(0, 0); </OnEditFocusLost> <!-- <OnEditFocusGained> self:HighlightText(); </OnEditFocusGained> --> </Scripts> <FontString inherits="GameTooltipText"> <FontHeight> <AbsValue val="11"/> </FontHeight> <Color r="1.0" g="1.0" b="1.0"/> </FontString> </EditBox> <!-- TOOLTIP STYLE DROPDOWN TEMPLATE --> <Frame name="TB_TipStyleDropDown_Template" inherits="UIDropDownMenuTemplate" enableMouse="true" virtual="true"> <Anchors> <Anchor point="TOP" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="-8"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall" text=""> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="18" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> <!-- BACKDROP COLOR TEMPLATE --> <Frame name="TB_BDColorDropDown_Template" inherits="UIDropDownMenuTemplate" enableMouse="true" virtual="true"> <Size> <AbsDimension x="20" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-8" y="-82"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Backdrop Color"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="18" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> <!-- BACKDROPBORDER COLOR TEMPLATE --> <Frame name="TB_BDBColorDropDown_Template" inherits="UIDropDownMenuTemplate" enableMouse="true" virtual="true"> <Size> <AbsDimension x="20" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-8" y="-42"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Border Color"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="18" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> </Frame> <!-- END TEMPLATES --> <!-- START TIPBUDDY --> <!-- OPTIONS FRAME --> <Button name="TipBuddy_OptionsMicroButton" inherits="MainMenuBarMicroButton" frameStrata="DIALOG" parent="GameMenuFrame" toplevel="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="GameMenuFrame" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-6" y="14"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> LoadTipBuddyButtonTextures(self,"TipBuddy"); </OnLoad> <OnClick> TipBuddy_ToggleOptionsFrame(); </OnClick> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_MENU_BUTTON_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> </Scripts> </Button> <Frame name="TipBuddy_OptionsFrame" parent="UIParent" movable="true" enableMouse="true" enableKeyboard="true" hidden="true"> <Size> <AbsDimension x="350" y="490"/> </Size> <Anchors> <Anchor point="CENTER" /> </Anchors> <Scripts> <OnLoad> TipBuddy_OptionsFrame_OnLoad(); </OnLoad> <OnKeyDown> if (arg1 == "ESCAPE") then TipBuddy_ToggleOptionsFrame(); elseif (arg1 == "ENTER") then ChatFrame_OpenChat("", chatFrame); elseif (arg1 == "/") then ChatFrame_OpenChat("/", chatFrame); elseif (arg1 == strupper(GetBindingKey("SCREENSHOT"))) then RunBinding("SCREENSHOT"); end </OnKeyDown> <OnShow> if (MYADDONS_ACTIVE_OPTIONSFRAME == self) then HideUIPanel(GameMenuFrame); HideUIPanel(myAddOnsFrame); TipBuddy_OptionsFrame_UpdateCheckboxes(); TipBuddy_OptionsFrame_UpdateSliders(); TipBuddy_OptionsFrame_UpdateColorButtons(); TipBuddy_OptionsFrame_UpdateColorButtons_Text(); TipBuddy_Background_ColorPick_OnLoad(); PlaySound("igMainMenuQuit"); end if (not TipBuddy_SavedVars["general"].opPos_L) then return; else self:SetPoint("TOPLEFT", "UIParent", "BOTTOMLEFT", TipBuddy_SavedVars["general"].opPos_L, TipBuddy_SavedVars["general"].opPos_T); end </OnShow> </Scripts> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <BackgroundInsets> <AbsInset left="11" right="12" top="12" bottom="11"/> </BackgroundInsets> <TileSize> <AbsValue val="32"/> </TileSize> <EdgeSize> <AbsValue val="32"/> </EdgeSize> </Backdrop> <Layers> <Layer level="ARTWORK"> <Texture name="TipBuddy_OptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size> <AbsDimension x="338" y="64"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="12"/> </Offset> </Anchor> </Anchors> </Texture> <FontString name="TipBuddy_OptionsFrameHeaderText" inherits="GameFontNormal"> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrameHeader"> <Offset> <AbsDimension x="0" y="-14"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="$parent_Moveable" moveable="true"> <Size> <AbsDimension x="170" y="48"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnMouseDown> TB_Options_OnMouseDown(button); </OnMouseDown> <OnMouseUp> TB_Options_OnMouseUp(button); </OnMouseUp> </Scripts> </Frame> <Frame name="TB_TextVariablesFrame" frameStrata="BACKGROUND" moveable="true" hidden="true"> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <Size><AbsDimension x="280" y="490"/></Size> <Anchors> <Anchor point="LEFT" relativePoint="RIGHT"/> </Anchors> <!-- <Frames> <Button name="$parent_CloseButton" inherits="GameMenuButtonTemplate"> <Scripts> <OnClick> TB_TextVariablesFrame:Hide(); </OnClick> </Scripts> </Button> </Frames> --> <Layers> <Layer level="OVERLAY"> <FontString name="$parent_Title" inherits="GameFontNormal" text="Variable Codes"> <Color r="1.0" g="1.0" b="0"/> <Anchors> <Anchor point="TOP"> <Offset><AbsDimension x="0" y="-6"/></Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_Column1" inherits="GameFontNormalSmall" justifyH="LEFT" text="TB_TEXTVARS_HELP_1"> <Color r="0.9" g="0.9" b="0.5"/> <Anchors> <Anchor point="TOPLEFT"> <Offset><AbsDimension x="10" y="-22"/></Offset> </Anchor> </Anchors> </FontString> <FontString name="$parent_Column2" inherits="GameFontNormalSmall" justifyH="LEFT" text="TB_TEXTVARS_HELP_2"> <Color r="0.7" g="0.7" b="0.7"/> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent_Column1" relativePoint="TOPRIGHT"> <Offset><AbsDimension x="10" y="0"/></Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.8, 0.8, 0.9); self:SetBackdropColor(0, 0, 0, 1); </OnLoad> <OnHide> TipBuddy_ShowTextVars:SetText("Show Vars"); </OnHide> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_PlayersFrame" inherits="TipBuddy_OptionsFrame_UnitsTemplate"> <Frames> <!-- TABFRAME TITLE --> <Frame name="TipBuddy_OptionsFrame_PlayersFrameTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="20"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString inherits="GameFontHighlight" text="PLAYERS"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <!-- PLAYERS TABS --> <Button name="$parentTab1" inherits="TabButtonTemplate" text="Friendly" id="1"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">> <Offset> <AbsDimension x="4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_SelectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_PlayersFrameTab_OnClick(self,1); </OnClick> </Scripts> </Button> <Button name="$parentTab2" inherits="TabButtonTemplate" text="InParty" id="2"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">> <Offset> <AbsDimension x="0" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_DeselectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_PlayersFrameTab_OnClick(self,2); </OnClick> </Scripts> </Button> <Button name="$parentTab3" inherits="TabButtonTemplate" text="Enemy" id="3"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_DeselectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_PlayersFrameTab_OnClick(self,3); </OnClick> </Scripts> </Button> <Frame name="TipBuddy_OptionsFrame_PCFriend_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_PCFriend_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "pc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check1" inherits="TipBuddy_CheckButtonTemplate" id="1" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_01_1" inherits="TipBuddy_EditBox_Template1" id="1"> </EditBox> <EditBox name="TB_EditBox_01_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check78" inherits="TipBuddy_TargetTargetCheckbox_Template" id="78"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check1" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-3"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check63" inherits="TipBuddy_CheckButtonTemplate" id="63"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check78" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check2" inherits="TipBuddy_CheckButtonTemplate" id="2"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check63" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check4" inherits="TipBuddy_CheckButtonTemplate" id="4"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check2" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check5" inherits="TipBuddy_CheckButtonTemplate" id="5"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check4" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check6" inherits="TipBuddy_PVPCheckbox_Template" id="6"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check5" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check7" inherits="TipBuddy_CheckButtonTemplate" id="7"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check6" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check8" inherits="TipBuddy_CheckButtonTemplate" id="8"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check7" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check3" inherits="TipBuddy_HealthbarCheckbox_Template" id="3"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check8" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_PCFriend_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "pc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker1" inherits="TipBuddy_ColorPickerButton_Template" id="1"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCFriend_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_PCFriend_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "pc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker11" inherits="TipBuddy_ColorPickerButton_Template" id="11"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCFriend_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_PCParty_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_PCParty_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "pc_party"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check9" inherits="TipBuddy_CheckButtonTemplate" id="9" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_02_1" inherits="TipBuddy_EditBox_Template1" id="2"> </EditBox> <EditBox name="TB_EditBox_02_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check79" inherits="TipBuddy_TargetTargetCheckbox_Template" id="79"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check9" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-3"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check64" inherits="TipBuddy_CheckButtonTemplate" id="64"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check79" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check10" inherits="TipBuddy_CheckButtonTemplate" id="10"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check64" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check12" inherits="TipBuddy_CheckButtonTemplate" id="12"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check10" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check13" inherits="TipBuddy_CheckButtonTemplate" id="13"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check12" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check14" inherits="TipBuddy_PVPCheckbox_Template" id="14"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check13" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check15" inherits="TipBuddy_CheckButtonTemplate" id="15"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check14" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check16" inherits="TipBuddy_CheckButtonTemplate" id="16"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check15" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check11" inherits="TipBuddy_HealthbarCheckbox_Template" id="11"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check16" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_PCParty_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "pc_party"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker2" inherits="TipBuddy_ColorPickerButton_Template" id="2"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCParty_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_PCParty_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "pc_party"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker12" inherits="TipBuddy_ColorPickerButton_Template" id="12"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCParty_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_PCEnemy_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_PCEnemy_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "pc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check17" inherits="TipBuddy_CheckButtonTemplate" id="17" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_03_1" inherits="TipBuddy_EditBox_Template1" id="3"> </EditBox> <EditBox name="TB_EditBox_03_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PlayersFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check80" inherits="TipBuddy_TargetTargetCheckbox_Template" id="80"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check17" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-3"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check65" inherits="TipBuddy_CheckButtonTemplate" id="65"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check80" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check18" inherits="TipBuddy_CheckButtonTemplate" id="18"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check65" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- HIDDEN --> <CheckButton name="TB_Op_Check20" inherits="TipBuddy_CheckButtonTemplate" id="20"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check18" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check21" inherits="TipBuddy_CheckButtonTemplate" id="21"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check20" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check22" inherits="TipBuddy_PVPCheckbox_Template" id="22"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check21" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check23" inherits="TipBuddy_CheckButtonTemplate" id="23"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check22" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check24" inherits="TipBuddy_CheckButtonTemplate" id="24"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check23" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check19" inherits="TipBuddy_HealthbarCheckbox_Template" id="19"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check24" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_PCEnemy_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "pc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker3" inherits="TipBuddy_ColorPickerButton_Template" id="3"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCEnemy_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_PCEnemy_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "pc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker13" inherits="TipBuddy_ColorPickerButton_Template" id="13"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PCEnemy_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <!-- NPC FRAME --> <Frame name="TipBuddy_OptionsFrame_NPCsFrame" inherits="TipBuddy_OptionsFrame_UnitsTemplate"> <Frames> <!-- TABFRAME TITLE --> <Frame name="TipBuddy_OptionsFrame_NPCsFrameTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="20"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString inherits="GameFontHighlight" text="NPCs"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <!-- NPCS TABS --> <Button name="$parentTab1" inherits="TabButtonTemplate" text="Friendly" id="1"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_SelectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_NPCsFrameTab_OnClick(self, 1); </OnClick> </Scripts> </Button> <Button name="$parentTab2" inherits="TabButtonTemplate" text="Neutral" id="2"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">> <Offset> <AbsDimension x="0" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_DeselectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_NPCsFrameTab_OnClick(self, 2); </OnClick> </Scripts> </Button> <Button name="$parentTab3" inherits="TabButtonTemplate" text="Enemy" id="3"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_DeselectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_NPCsFrameTab_OnClick(self, 3); </OnClick> </Scripts> </Button> <Frame name="TipBuddy_OptionsFrame_NPCFriend_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_NPCFriend_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "npc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check25" inherits="TipBuddy_CheckButtonTemplate" id="25" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_04_1" inherits="TipBuddy_EditBox_Template1" id="4"> </EditBox> <EditBox name="TB_EditBox_04_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check81" inherits="TipBuddy_TargetTargetCheckbox_Template" id="81"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check25" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check26" inherits="TipBuddy_CheckButtonTemplate" id="26"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check81" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check28" inherits="TipBuddy_CheckButtonTemplate" id="28"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check26" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check29" inherits="TipBuddy_CheckButtonTemplate" id="29"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check28" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check30" inherits="TipBuddy_PVPCheckbox_Template" id="30"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check29" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-24"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check31" inherits="TipBuddy_CheckButtonTemplate" id="31"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check30" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- NOT USED --> <CheckButton name="TB_Op_Check32" hidden="true" inherits="TipBuddy_CheckButtonTemplate" id="32"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check31" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check27" inherits="TipBuddy_HealthbarCheckbox_Template" id="27"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check31" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_NPCFriend_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "npc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker4" inherits="TipBuddy_ColorPickerButton_Template" id="4"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCFriend_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_NPCFriend_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "npc_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker14" inherits="TipBuddy_ColorPickerButton_Template" id="14"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCFriend_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_NPCNeutral_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_NPCNeutral_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "npc_neutral"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check70" inherits="TipBuddy_CheckButtonTemplate" id="70" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_05_1" inherits="TipBuddy_EditBox_Template1" id="5"> </EditBox> <EditBox name="TB_EditBox_05_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check82" inherits="TipBuddy_TargetTargetCheckbox_Template" id="82"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check70" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check71" inherits="TipBuddy_CheckButtonTemplate" id="71"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check82" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check73" inherits="TipBuddy_CheckButtonTemplate" id="73"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check71" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check74" inherits="TipBuddy_CheckButtonTemplate" id="74"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check73" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check75" inherits="TipBuddy_PVPCheckbox_Template" id="75"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check74" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-24"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check76" inherits="TipBuddy_CheckButtonTemplate" id="76"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check75" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- NOT USED --> <CheckButton name="TB_Op_Check77" hidden="true" inherits="TipBuddy_CheckButtonTemplate" id="77"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check76" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check72" inherits="TipBuddy_HealthbarCheckbox_Template" id="72"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check76" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_NPCNeutral_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "npc_neutral"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker5" inherits="TipBuddy_ColorPickerButton_Template" id="5"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCNeutral_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_NPCNeutral_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "npc_neutral"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker15" inherits="TipBuddy_ColorPickerButton_Template" id="15"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCNeutral_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <!-- /script TipBuddy_OptionsFrame_NPCEnemy_Options_Checks:Hide(); TipBuddy_OptionsFrame_NPCEnemy_Options_EB:Show() --> <Frame name="TipBuddy_OptionsFrame_NPCEnemy_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_NPCEnemy_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "npc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check33" inherits="TipBuddy_CheckButtonTemplate" id="33" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_06_1" inherits="TipBuddy_EditBox_Template1" id="6"> </EditBox> <EditBox name="TB_EditBox_06_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_NPCsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check83" inherits="TipBuddy_TargetTargetCheckbox_Template" id="83"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check33" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check34" inherits="TipBuddy_CheckButtonTemplate" id="34"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check83" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check36" inherits="TipBuddy_CheckButtonTemplate" id="36"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check34" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check37" inherits="TipBuddy_CheckButtonTemplate" id="37"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check36" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check38" inherits="TipBuddy_PVPCheckbox_Template" id="38"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check37" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-24"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check39" inherits="TipBuddy_CheckButtonTemplate" id="39"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check38" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- NOT USED --> <CheckButton name="TB_Op_Check40" hidden="true" inherits="TipBuddy_CheckButtonTemplate" id="40"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check39" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check35" inherits="TipBuddy_HealthbarCheckbox_Template" id="35"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check39" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_NPCEnemy_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "npc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker6" inherits="TipBuddy_ColorPickerButton_Template" id="6"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCEnemy_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_NPCEnemy_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "npc_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker16" inherits="TipBuddy_ColorPickerButton_Template" id="16"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_NPCEnemy_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <!-- PET FRAME --> <Frame name="TipBuddy_OptionsFrame_PetsFrame" inherits="TipBuddy_OptionsFrame_UnitsTemplate"> <Frames> <!-- TABFRAME TITLE --> <Frame name="TipBuddy_OptionsFrame_PetsFrameTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="20"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString inherits="GameFontHighlight" text="PETS"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <!-- PET TABS --> <Button name="$parentTab1" inherits="TabButtonTemplate" text="Friendly" id="1"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_SelectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_PetsFrameTab_OnClick(self, 1); </OnClick> </Scripts> </Button> <Button name="$parentTab2" inherits="TabButtonTemplate" text="Enemy" id="2"> <Size> <AbsDimension x="100" y="32"/> </Size> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-4" y="30"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> PanelTemplates_DeselectTab(self); PanelTemplates_TabResize(self, -10); getglobal(self:GetName().."HighlightTexture"):SetWidth(self:GetTextWidth() + 16); </OnLoad> <OnClick> TipBuddy_PetsFrameTab_OnClick(self, 2); </OnClick> </Scripts> </Button> <Frame name="TipBuddy_OptionsFrame_PETFriend_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_PETFriend_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "pet_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check41" inherits="TipBuddy_CheckButtonTemplate" id="41" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PetsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_07_1" inherits="TipBuddy_EditBox_Template1" id="7"> </EditBox> <EditBox name="TB_EditBox_07_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PetsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check84" inherits="TipBuddy_TargetTargetCheckbox_Template" id="84"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check25" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check42" inherits="TipBuddy_CheckButtonTemplate" id="42"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check84" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check44" inherits="TipBuddy_CheckButtonTemplate" id="44"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check42" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check45" inherits="TipBuddy_CheckButtonTemplate" id="45"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check44" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check46" inherits="TipBuddy_PVPCheckbox_Template" id="46"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check45" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-24"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check47" inherits="TipBuddy_CheckButtonTemplate" id="47"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check46" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check43" inherits="TipBuddy_HealthbarCheckbox_Template" id="43"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check47" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- NOT USED --> <CheckButton name="TB_Op_Check48" inherits="TipBuddy_CheckButtonTemplate" id="48" hidden="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check47" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_PETFriend_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "pet_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker7" inherits="TipBuddy_ColorPickerButton_Template" id="7"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PETFriend_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_PETFriend_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "pet_friend"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker17" inherits="TipBuddy_ColorPickerButton_Template" id="17"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PETFriend_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_PETEnemy_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_PETEnemy_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "pet_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check49" inherits="TipBuddy_CheckButtonTemplate" id="41" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PetsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_08_1" inherits="TipBuddy_EditBox_Template1" id="8"> </EditBox> <EditBox name="TB_EditBox_08_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_PetsFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check85" inherits="TipBuddy_TargetTargetCheckbox_Template" id="85"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check25" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check50" inherits="TipBuddy_CheckButtonTemplate" id="50"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check85" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check52" inherits="TipBuddy_CheckButtonTemplate" id="52"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check50" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check53" inherits="TipBuddy_CheckButtonTemplate" id="53"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check52" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <CheckButton name="TB_Op_Check54" inherits="TipBuddy_PVPCheckbox_Template" id="54"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check53" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-24"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check55" inherits="TipBuddy_CheckButtonTemplate" id="55"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check54" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check51" inherits="TipBuddy_HealthbarCheckbox_Template" id="51"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check55" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <!-- NOT USED --> <CheckButton name="TB_Op_Check56" inherits="TipBuddy_CheckButtonTemplate" id="56" hidden="true"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check51" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TB_PETEnemy_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "pet_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker8" inherits="TipBuddy_ColorPickerButton_Template" id="8"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PETEnemy_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_PETEnemy_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "pet_enemy"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker18" inherits="TipBuddy_ColorPickerButton_Template" id="18"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_PETEnemy_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <!-- CORPSE FRAME --> <Frame name="TipBuddy_OptionsFrame_CORPSEFrame" inherits="TipBuddy_OptionsFrame_UnitsTemplate"> <Frames> <!-- TABFRAME TITLE --> <Frame name="TipBuddy_OptionsFrame_CORPSEFrameTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="20"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString inherits="GameFontHighlight" text="CORPSE"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Frame name="TipBuddy_OptionsFrame_CORPSE_Options" inherits="TipBuddy_OptionsFrame_UnitsOptions_Template"> <Frames> <Frame name="TB_CORPSE_TipStyleDropDown" inherits="TB_TipStyleDropDown_Template"> <Scripts> <OnShow> TipBuddy_TipStyleDropDown_OnLoad(self, "corpse"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_STYLEMODE_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <CheckButton name="TB_Op_Check86" inherits="TipBuddy_CheckButtonTemplate" id="86" hidden="true"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="10" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> <!--TipBuddy_ToggleCheckboxFrame(self);--> </OnClick> </Scripts> </CheckButton> <Frame name="$parent_EB" frameStrata="DIALOG" toplevel="true" hidden="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_CORPSEFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <EditBox name="TB_EditBox_09_1" inherits="TipBuddy_EditBox_Template1" id="9"> </EditBox> <EditBox name="TB_EditBox_09_2" inherits="TipBuddy_EditBox_Template2"> </EditBox> </Frames> </Frame> <Frame name="$parent_Checks" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="164" y="246"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_CORPSEFrame"> <Offset> <AbsDimension x="12" y="-22"/> </Offset> </Anchor> </Anchors> <Frames> <CheckButton name="TB_Op_Check87" inherits="TipBuddy_CheckButtonTemplate" id="87"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check25" relativePoint="BOTTOM"> <Offset> <AbsDimension x="12" y="-4"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check88" inherits="TipBuddy_CheckButtonTemplate" id="88"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check87" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> <CheckButton name="TB_Op_Check89" inherits="TipBuddy_CheckButtonTemplate" id="89"> <Size> <AbsDimension x="24" y="24"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check88" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> </CheckButton> </Frames> </Frame> <Frame name="TB_CORPSE_BDColorDropDown" inherits="TB_BDColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDColorDropDown_OnLoad(self, "corpse"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BACKDROP_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker10" inherits="TipBuddy_ColorPickerButton_Template" id="10"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_CORPSE_BDColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TB_CORPSE_BDBColorDropDown" inherits="TB_BDBColorDropDown_Template"> <Scripts> <OnShow> TipBuddy_BDBColorDropDown_OnLoad(self, "corpse"); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_BORDER_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker20" inherits="TipBuddy_ColorPickerButton_Template" id="20"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TB_CORPSE_BDBColorDropDown" relativePoint="RIGHT"> <Offset> <AbsDimension x="-8" y="1"/> </Offset> </Anchor> </Anchors> </Button> </Frames> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <Frame name="TipBuddy_OptionsFrame_General_Options" inherits="OptionFrameBoxTemplate"> <Size> <AbsDimension x="220" y="380"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="40" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> <Frames> <Slider name="TipBuddy_OptionsFrame_Slider6" inherits="TipBuddy_SliderWithText_Template"> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="-6" y="-36"/> </Offset> </Anchor> </Anchors> </Slider> <Slider name="TipBuddy_OptionsFrame_Slider1" inherits="TipBuddy_SliderWithText_Template"> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_Slider6" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-21"/> </Offset> </Anchor> </Anchors> </Slider> <CheckButton name="TB_Op_Check58" inherits="TipBuddy_CheckButtonTemplate" id="58"> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_Slider1" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-22"/> </Offset> </Anchor> </Anchors> <Scripts> </Scripts> </CheckButton> <!-- DIFF AS BACK (HIDDEN) --> <CheckButton name="TB_Op_Check62" hidden="true" inherits="TipBuddy_CheckButtonTemplate" id="62"> <Anchors> <Anchor point="TOPLEFT" relativeTo="TB_Op_Check58" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> <Scripts> </Scripts> </CheckButton> <Button name="TipBuddy_OptionsFrame_ColorPicker9" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="9"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TB_Op_Check58" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-11"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker19" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="19"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker9" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker21" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="21"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker19" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-16"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker22" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="22"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker21" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <CheckButton name="TB_Op_Check60" inherits="TipBuddy_CheckButtonTemplate" id="60"> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker22" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-9"/> </Offset> </Anchor> </Anchors> <Scripts> </Scripts> </CheckButton> <CheckButton name="TB_Op_Check61" inherits="TipBuddy_CheckButtonTemplate" id="61"> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check60" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="1"/> </Offset> </Anchor> </Anchors> </CheckButton> <Frame name="TipBuddy_OptionsFrame_GeneralOptionsTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString name="$parentText" inherits="GameFontHighlight" text="GENERAL OPTIONS"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <Frame name="TipBuddy_OptionsFrame_Anchoring_Options" hidden="true" inherits="OptionFrameBoxTemplate" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="220" y="320"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="40" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> <Frames> <Frame name="TipBuddy_CursorPosDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true"> <Size> <AbsDimension x="40" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="22" y="-46"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Tooltip Cursor Position"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="18" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnShow> TipBuddy_CursorPosDropDown_OnLoad(self); </OnShow> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_CURSORPOS_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Slider name="TipBuddy_OptionsFrame_Slider4" inherits="TipBuddy_SliderWithText_Template2"> <Size> <AbsDimension x="128" y="16"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_CursorPosDropDown" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-8"/> </Offset> </Anchor> </Anchors> </Slider> <Slider name="TipBuddy_OptionsFrame_Slider5" inherits="TipBuddy_SliderWithText_Template2"> <Size> <AbsDimension x="128" y="16"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_Slider4" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-8"/> </Offset> </Anchor> </Anchors> </Slider> <CheckButton name="TB_Op_Check57" inherits="TipBuddy_CheckButtonTemplate" id="57"> <Anchors> <Anchor point="TOPLEFT" relativeTo="TipBuddy_CursorPosDropDown" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="22" y="-70"/> </Offset> </Anchor> </Anchors> <!-- <Scripts> <OnClick> if (self:GetChecked()) then TipBuddy_Header_Frame:Show(); TB_Op_Check61:Disable(); getglobal("TB_Op_Check61Text"):SetTextColor(GRAY_FONT_COLOR.r, GRAY_FONT_COLOR.g, GRAY_FONT_COLOR.b); else TB_Op_Check61:Enable(); getglobal("TB_Op_Check61Text"):SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b); end </OnClick> </Scripts> --> </CheckButton> <Frame name="TipBuddy_NonUnitTipPosDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true"> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="22" y="84"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Non-Unit Tooltips"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="18" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnShow> TipBuddy_NonUnitTipPosDropDown_OnLoad(self); </OnShow> <OnEnter> GameTooltip:SetOwner(self,"ANCHOR_TOPRIGHT"); GameTooltip:SetText(TB_OPTION_NONUNITPOS_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Frame> <Button name="TipBuddy_ShowAnchorButton" inherits="GameMenuButtonTemplate" text="Display TipBuddyAnchor"> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="20" y="44"/> </Offset> </Anchor> </Anchors> <Size> <AbsDimension x="180" y="24"/> </Size> <NormalText name="$parentText" inherits="TBGameFontNormal"/> <DisabledText inherits="TBGameFontDisable"/> <HighlightText inherits="TBGameFontHighlight"/> <NormalTexture inherits="UIPanelButtonUpTexture"/> <PushedTexture inherits="UIPanelButtonDownTexture"/> <DisabledTexture inherits="UIPanelButtonDisabledTexture"/> <HighlightTexture inherits="UIPanelButtonHighlightTexture"/> <Scripts> <OnClick> TipBuddy_Header_Frame:Show(); PlaySound("igMainMenuOptionCheckBoxOn"); </OnClick> </Scripts> </Button> <Button name="TipBuddy_ResetAnchorButton" inherits="GameMenuButtonTemplate" text="Reset TipBuddyAnchor"> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_ShowAnchorButton" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="1"/> </Offset> </Anchor> </Anchors> <Size> <AbsDimension x="180" y="24"/> </Size> <NormalText name="$parentText" inherits="TB_TTGameFontNormalSmall"/> <DisabledText inherits="TB_TTGameFontNormalSmallHighlight"/> <HighlightText inherits="TB_TTGameFontNormalSmallHighlight"/> <NormalTexture inherits="UIPanelButtonDisabledTexture"/> <PushedTexture inherits="UIPanelButtonDownTexture"/> <DisabledTexture inherits="UIPanelButtonDisabledTexture"/> <HighlightTexture inherits="UIPanelButtonHighlightTexture"/> <Scripts> <OnShow> --TipBuddy_ResetAnchorButtonText:SetTextHeight(8); </OnShow> <OnClick> TipBuddy_ResetAnchorPos(); AzMsg("TipBuddy: Resetting TipBuddyAnchor position."); PlaySound("igMainMenuOptionCheckBoxOn"); </OnClick> </Scripts> </Button> <Frame name="TipBuddy_OptionsFrame_AnchoringOptionsTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString name="$parentText" inherits="GameFontHighlight" text="ANCHORING OPTIONS"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <Frame name="TipBuddy_OptionsFrame_Compact_Options" hidden="true" inherits="OptionFrameBoxTemplate" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="220" y="320"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="40" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> <Frames> <CheckButton name="TB_Op_Check59" inherits="TipBuddy_CheckButtonTemplate" id="59"> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="-52" y="-40"/> </Offset> </Anchor> </Anchors> <Scripts> </Scripts> </CheckButton> <Slider name="TipBuddy_OptionsFrame_Slider2" inherits="TipBuddy_SliderWithText_Template"> <Anchors> <Anchor point="TOP" relativeTo="TB_Op_Check59" relativePoint="BOTTOM"> <Offset> <AbsDimension x="46" y="-30"/> </Offset> </Anchor> </Anchors> </Slider> <Slider name="TipBuddy_OptionsFrame_Slider3" inherits="TipBuddy_SliderWithText_Template"> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_Slider2" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-25"/> </Offset> </Anchor> </Anchors> </Slider> <Frame name="TipBuddy_OptionsFrame_CompactOptionsTitle"> <Size> <AbsDimension x="210" y="22"/> </Size> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer> <FontString name="$parentText" inherits="GameFontHighlight" text="FADING OPTIONS"> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> </Frames> </Frame> <Button name="TipBuddy_OptionsFrameApply" inherits="GameMenuButtonTemplate" text="Apply"> <Size> <AbsDimension x="80" y="21"/> </Size> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-20" y="16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_OptionsFrame_OnSave(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsFrameCancel" inherits="GameMenuButtonTemplate" text="Cancel"> <Size> <AbsDimension x="80" y="21"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="TipBuddy_OptionsFrameApply" relativePoint="LEFT"> <Offset> <AbsDimension x="-2" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_ToggleOptionsFrame(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsFrameOkay" inherits="GameMenuButtonTemplate" text="Okay"> <Size> <AbsDimension x="80" y="21"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="TipBuddy_OptionsFrameCancel" relativePoint="LEFT"> <Offset> <AbsDimension x="-2" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_OptionsFrame_OnSave(); TipBuddy_ToggleOptionsFrame(); </OnClick> </Scripts> </Button> <!-- SIDE TAB BUTTONS --> <Button name="TipBuddy_OptionsTabButton_Players" inherits="GameMenuButtonTemplate" text="Players"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="17" y="-38"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_PlayersFrame:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_NPCs" inherits="GameMenuButtonTemplate" text="NPCs"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_Players" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_NPCsFrame:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_Pets" inherits="GameMenuButtonTemplate" text="Pets"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_NPCs" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_PetsFrame:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_CORPSE" inherits="GameMenuButtonTemplate" text="Corpse"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_Pets" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_CORPSEFrame:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_General" inherits="GameMenuButtonTemplate" text="General"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_CORPSE" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-32"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_General_Options:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_Anchoring" inherits="GameMenuButtonTemplate" text="Anchoring"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_General" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_Anchoring_Options:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsTabButton_Compact" inherits="GameMenuButtonTemplate" text="Fading"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_Anchoring" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_HideOptionPanels(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_OptionsFrame_Compact_Options:Show(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_ShowColorsButton" inherits="GameMenuButtonTemplate" text="Text Colors"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsTabButton_Compact" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-32"/> </Offset> </Anchor> </Anchors> <NormalText name="$parentText" inherits="TBGameFontNormal"/> <DisabledText inherits="TBGameFontDisable"/> <HighlightText inherits="TBGameFontHighlight"/> <NormalTexture inherits="UIPanelButtonUpTexture"/> <PushedTexture inherits="UIPanelButtonDownTexture"/> <DisabledTexture inherits="UIPanelButtonDisabledTexture"/> <HighlightTexture inherits="UIPanelButtonHighlightTexture"/> <Scripts> <OnClick> TipBuddy_ColorOptionsFrame:Show(); PlaySound("igMainMenuOptionCheckBoxOn"); TipBuddy_ToggleOptionsFrame(); </OnClick> <OnEnter> GameTooltip:SetOwner(self, "ANCHOR_TOPLEFT"); GameTooltip:SetText(TB_OPTION_COLORTEXTBUTTON_TOOLTIP, nil, nil, nil, nil, 1); </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> </Button> <Button name="TipBuddy_ShowTextVars" inherits="GameMenuButtonTemplate" text="Show Vars"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_ShowColorsButton" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-16"/> </Offset> </Anchor> </Anchors> <NormalText name="$parentText" inherits="TBGameFontNormal"/> <DisabledText inherits="TBGameFontDisable"/> <HighlightText inherits="TBGameFontHighlight"/> <NormalTexture inherits="UIPanelButtonUpTexture"/> <PushedTexture inherits="UIPanelButtonDownTexture"/> <DisabledTexture inherits="UIPanelButtonDisabledTexture"/> <HighlightTexture inherits="UIPanelButtonHighlightTexture"/> <Scripts> <OnClick> if (TB_TextVariablesFrame:IsVisible()) then TB_TextVariablesFrame:Hide(); TipBuddy_ShowTextVars:SetText("Show Vars"); else TB_TextVariablesFrame:Show(); TipBuddy_ShowTextVars:SetText("Hide Vars"); end </OnClick> </Scripts> </Button> <Button name="TipBuddy_OptionsFrameResetVars" inherits="GameMenuButtonTemplate" text="Reset All"> <Size> <AbsDimension x="86" y="21"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_ShowTextVars" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-64"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_ClickResetVarsButton(); </OnClick> </Scripts> </Button> </Frames> </Frame> <Frame name="TipBuddy_ColorOptionsFrame" parent="UIParent" enableMouse="true" enableKeyboard="true" hidden="true"> <Size> <AbsDimension x="572" y="464"/> </Size> <Anchors> <Anchor point="CENTER" /> </Anchors> <Scripts> <OnLoad> TipBuddy_OptionsFrame_OnLoad(); </OnLoad> <OnKeyDown> if (arg1 == "ESCAPE") then self:Hide(); TipBuddy_ToggleOptionsFrame(); elseif (arg1 == "ENTER") then ChatFrame_OpenChat("", chatFrame); elseif (arg1 == "/") then ChatFrame_OpenChat("/", chatFrame); elseif (arg1 == strupper(GetBindingKey("SCREENSHOT"))) then RunBinding("SCREENSHOT"); end </OnKeyDown> </Scripts> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <BackgroundInsets> <AbsInset left="11" right="12" top="12" bottom="11"/> </BackgroundInsets> <TileSize> <AbsValue val="32"/> </TileSize> <EdgeSize> <AbsValue val="32"/> </EdgeSize> </Backdrop> <Layers> <Layer level="ARTWORK"> <Texture name="TipBuddy_ColorOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size> <AbsDimension x="290" y="64"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="12"/> </Offset> </Anchor> </Anchors> </Texture> <FontString name="" inherits="GameFontNormal" text="Text Colors"> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_ColorOptionsFrameHeader"> <Offset> <AbsDimension x="0" y="-14"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="TipBuddy_OptionsFrame_Color_Options" inherits="OptionFrameBoxTemplate" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="534" y="400"/> </Size> <Anchors> <Anchor point="BOTTOM"> <Offset> <AbsDimension x="0" y="40"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.4, 0.4, 0.4); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> <Frames> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text1" inherits="TipBuddy_ColorPickerButtonSml_Template" id="1"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="16" y="-36"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_Name" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text1" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffNames"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text2" inherits="TipBuddy_ColorPickerButtonSml_Template" id="2"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text1" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text3" inherits="TipBuddy_ColorPickerButtonSml_Template" id="3"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text2" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text4" inherits="TipBuddy_ColorPickerButtonSml_Template" id="4"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text3" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text5" inherits="TipBuddy_ColorPickerButtonSml_Template" id="5"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text4" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text6" inherits="TipBuddy_ColorPickerButtonSml_Template" id="6"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text5" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text7" inherits="TipBuddy_ColorPickerButtonSml_Template" id="7"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text6" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text8" inherits="TipBuddy_ColorPickerButtonSml_Template" id="8"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text1" relativePoint="RIGHT"> <Offset> <AbsDimension x="96" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_Guild" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text8" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffGuild/Titles"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text9" inherits="TipBuddy_ColorPickerButtonSml_Template" id="9"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text8" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text10" inherits="TipBuddy_ColorPickerButtonSml_Template" id="10"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text9" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text11" inherits="TipBuddy_ColorPickerButtonSml_Template" id="11"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text10" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text12" inherits="TipBuddy_ColorPickerButtonSml_Template" id="12"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text11" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text13" inherits="TipBuddy_ColorPickerButtonSml_Template" id="13"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text12" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text14" inherits="TipBuddy_ColorPickerButtonSml_Template" id="14"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text13" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text15" inherits="TipBuddy_ColorPickerButtonSml_Template" id="15"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text14" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text16" inherits="TipBuddy_ColorPickerButtonSml_Template" id="16"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text8" relativePoint="RIGHT"> <Offset> <AbsDimension x="96" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_Level" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text16" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffLevel Difficulty"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text17" inherits="TipBuddy_ColorPickerButtonSml_Template" id="17"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text16" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text18" inherits="TipBuddy_ColorPickerButtonSml_Template" id="18"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text17" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text19" inherits="TipBuddy_ColorPickerButtonSml_Template" id="19"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text18" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text20" inherits="TipBuddy_ColorPickerButtonSml_Template" id="20"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text19" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text21" inherits="TipBuddy_ColorPickerButtonSml_Template" id="21"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text20" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text22" inherits="TipBuddy_ColorPickerButtonSml_Template" id="22"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text16" relativePoint="RIGHT"> <Offset> <AbsDimension x="96" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_Classes" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text22" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffClasses"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text23" inherits="TipBuddy_ColorPickerButtonSml_Template" id="23"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text22" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text24" inherits="TipBuddy_ColorPickerButtonSml_Template" id="24"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text23" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text25" inherits="TipBuddy_ColorPickerButtonSml_Template" id="25"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text24" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text26" inherits="TipBuddy_ColorPickerButtonSml_Template" id="26"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text25" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text27" inherits="TipBuddy_ColorPickerButtonSml_Template" id="27"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text26" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text28" inherits="TipBuddy_ColorPickerButtonSml_Template" id="28"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text27" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text29" inherits="TipBuddy_ColorPickerButtonSml_Template" id="29"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text28" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text30" inherits="TipBuddy_ColorPickerButtonSml_Template" id="30"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text29" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text31" inherits="TipBuddy_ColorPickerButtonSml_Template" id="31"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text30" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text32" inherits="TipBuddy_ColorPickerButtonSml_Template" id="32"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text7" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-42"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_UniqueUnits" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text32" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffUnique Units"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text33" inherits="TipBuddy_ColorPickerButtonSml_Template" id="33"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text32" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text34" inherits="TipBuddy_ColorPickerButtonSml_Template" id="34"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text21" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-32"/> </Offset> </Anchor> </Anchors> </Button> <Frame name="TipBuddy_ColorSub_Other" frameStrata="DIALOG" toplevel="true"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text34" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="2"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="" inherits="GameFontNormal" text="|cffffffffOther"> <Anchors> <Anchor point="CENTER"/> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> self:SetBackdropBorderColor(0.6, 0.6, 0.7); self:SetBackdropColor(0.15, 0.15, 0.15); </OnLoad> </Scripts> </Frame> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text35" inherits="TipBuddy_ColorPickerButtonSml_Template" id="35"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text34" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text36" inherits="TipBuddy_ColorPickerButtonSml_Template" id="36"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text35" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker_Text37" inherits="TipBuddy_ColorPickerButtonSml_Template" id="37"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="TipBuddy_OptionsFrame_ColorPicker_Text36" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> </Frames> </Frame> <Button name="TipBuddy_ColorOptionsFrameOkay" inherits="GameMenuButtonTemplate" text="Okay"> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-20" y="16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_ColorOptionsFrame:Hide(); TipBuddy_OptionsFrame_OnSave(); TipBuddy_ToggleOptionsFrame(); </OnClick> </Scripts> </Button> <Button name="TipBuddy_ColorOptionsFrameReset" inherits="GameMenuButtonTemplate" text="Reset"> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="20" y="16"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> TipBuddy_ResetColors(); TipBuddy_InitializeTextColors(); TipBuddy_OptionsFrame_UpdateColorButtons_Text(); </OnClick> </Scripts> </Button> </Frames> </Frame> <!-- MY COLOR PICKER --> <ColorSelect name="TBColorPickerFrame" frameStrata="DIALOG" toplevel="true" parent="UIParent" enableMouse="true" enableKeyboard="true" hidden="true"> <Size> <AbsDimension x="365" y="200"/> </Size> <Anchors> <Anchor point="CENTER"/> </Anchors> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <BackgroundInsets> <AbsInset left="11" right="12" top="12" bottom="11"/> </BackgroundInsets> <TileSize> <AbsValue val="32"/> </TileSize> <EdgeSize> <AbsValue val="32"/> </EdgeSize> </Backdrop> <Layers> <Layer level="ARTWORK"> <Texture name="TBColorSwatch"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="225" y="-32"/> </Offset> </Anchor> </Anchors> <Color r="1.0" g="1.0" b="1.0" a="1.0"/> </Texture> <Texture name="TBColorPickerFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size> <AbsDimension x="256" y="64"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="12"/> </Offset> </Anchor> </Anchors> </Texture> <FontString inherits="GameFontNormal" text="COLOR_PICKER"> <Anchors> <Anchor point="TOP" relativeTo="TBColorPickerFrameHeader"> <Offset> <AbsDimension x="0" y="-14"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="TipBuddy_ColorOptionsFrame_Cover" enableMouse="true"> <Size> <AbsDimension x="600" y="500"/> </Size> <Anchors> <Anchor point="CENTER" /> </Anchors> <Scripts> <OnLoad> self:SetFrameLevel(TBColorPickerFrame:GetFrameLevel() - 1); </OnLoad> </Scripts> </Frame> <Button name="TBColorPickerCancelButton" inherits="GameMenuButtonTemplate" text="CANCEL"> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-10" y="10"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> HideUIPanel(self:GetParent()); if (TBColorPickerFrame.cancelFunc) then TBColorPickerFrame.cancelFunc(TBColorPickerFrame.previousValues); end </OnClick> </Scripts> </Button> <Button name="TBColorPickerOkayButton" inherits="GameMenuButtonTemplate" text="OKAY"> <Anchors> <Anchor point="RIGHT" relativeTo="TBColorPickerCancelButton" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> HideUIPanel(self:GetParent()); TBColorPickerFrame.func(); if (TBColorPickerFrame.opacityFunc) then TBColorPickerFrame.opacityFunc(); end TipBuddy_Background_SetColor(); TipBuddy_OptionsFrame_UpdateColorButtons(); TipBuddy_InitializeTextColors(); </OnClick> </Scripts> </Button> <Slider name="TBOpacitySliderFrame" orientation="VERTICAL" minValue="0" maxValue="1" valueStep="0.05" defaultValue="1"> <Size> <AbsDimension x="16" y="128"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TBColorSwatch" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="32" y="0"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="3" right="3" top="6" bottom="6"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontNormalSmall"> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"/> </Anchors> </FontString> <FontString inherits="GameFontHighlightSmall" text="0%"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> <FontString inherits="GameFontHighlightSmall" text="100%"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentTextUpdate" inherits="GameFontHighlightSmall" text="Alpha"> <Anchors> <Anchor point="LEFT" relativePoint="RIGHT"> <Offset> <AbsDimension x="4" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnValueChanged> if (TBColorPickerFrame.opacityFunc) then TBColorPickerFrame.opacityFunc(); end </OnValueChanged> <OnUpdate> if (self.updatetext) then <!-- we should cap self somehow ("%.2f")? (format("%.2f", (self:GetValue()))) --> self.updatetext:SetText("Alpha:\n"..(format("%.0f", (((self:GetValue() - 1)*-100)))).."%"); return; end self.updatetext = getglobal(self:GetName().."TextUpdate"); </OnUpdate> </Scripts> <ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Vertical"> <Size> <AbsDimension x="32" y="32"/> </Size> </ThumbTexture> </Slider> </Frames> <Scripts> <OnShow> self:Raise(); if (self.hasOpacity) then TBOpacitySliderFrame:Show(); TBOpacitySliderFrame:SetValue(self.opacity); self:SetWidth(365); else TBOpacitySliderFrame:Hide(); self:SetWidth(305); end PlaySound("gsTitleOptionOK"); </OnShow> <OnHide> PlaySound("gsTitleOptionOK"); </OnHide> <OnColorSelect> TBColorSwatch:SetTexture(arg1, arg2, arg3); if (self.func) then self.func(); end </OnColorSelect> <OnKeyDown> if (arg1 == "ESCAPE") then HideUIPanel(self); if (TBColorPickerFrame.cancelFunc) then TBColorPickerFrame.cancelFunc(TBColorPickerFrame.previousValues); end end </OnKeyDown> </Scripts> <ColorWheelTexture name="TBColorPickerWheel"> <Size> <AbsDimension x="128" y="128"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="16" y="-32"/> </Offset> </Anchor> </Anchors> </ColorWheelTexture> <ColorWheelThumbTexture file="Interface\Buttons\UI-ColorPicker-Buttons"> <Size> <AbsDimension x="10" y="10"/> </Size> <TexCoords left="0" right="0.15625" top="0" bottom="0.625"/> </ColorWheelThumbTexture> <ColorValueTexture> <Size> <AbsDimension x="32" y="128"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TBColorPickerWheel" relativePoint="RIGHT"> <Offset> <AbsDimension x="24" y="0"/> </Offset> </Anchor> </Anchors> </ColorValueTexture> <ColorValueThumbTexture file="Interface\Buttons\UI-ColorPicker-Buttons"> <Size> <AbsDimension x="48" y="14"/> </Size> <TexCoords left="0.25" right="1.0" top="0" bottom="0.875"/> </ColorValueThumbTexture> </ColorSelect> <!-- MY COLOR PICKER_Text --> <ColorSelect name="TBColorPickerFrame_Text" frameStrata="DIALOG" toplevel="true" parent="UIParent" enableMouse="true" enableKeyboard="true" hidden="true"> <Size> <AbsDimension x="365" y="200"/> </Size> <Anchors> <Anchor point="CENTER"/> </Anchors> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <BackgroundInsets> <AbsInset left="11" right="12" top="12" bottom="11"/> </BackgroundInsets> <TileSize> <AbsValue val="32"/> </TileSize> <EdgeSize> <AbsValue val="32"/> </EdgeSize> </Backdrop> <Layers> <Layer level="ARTWORK"> <Texture name="TBColorSwatch_Text"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="225" y="-32"/> </Offset> </Anchor> </Anchors> <Color r="1.0" g="1.0" b="1.0" a="1.0"/> </Texture> <Texture name="TBColorPickerFrameHeader_Text" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size> <AbsDimension x="256" y="64"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="12"/> </Offset> </Anchor> </Anchors> </Texture> <FontString inherits="GameFontNormal" text="COLOR_PICKER"> <Anchors> <Anchor point="TOP" relativeTo="TBColorPickerFrameHeader_Text"> <Offset> <AbsDimension x="0" y="-14"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="TipBuddy_ColorOptionsFrame_Cover_Text" enableMouse="true"> <Size> <AbsDimension x="600" y="500"/> </Size> <Anchors> <Anchor point="CENTER" /> </Anchors> <Scripts> <OnLoad> self:SetFrameLevel(TBColorPickerFrame_Text:GetFrameLevel() - 1); </OnLoad> </Scripts> </Frame> <Button name="TBColorPickerCancelButton_Text" inherits="GameMenuButtonTemplate" text="CANCEL"> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-10" y="10"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> HideUIPanel(self:GetParent()); if (TBColorPickerFrame_Text.cancelFunc) then TBColorPickerFrame_Text.cancelFunc(TBColorPickerFrame_Text.previousValues); end </OnClick> </Scripts> </Button> <Button name="TBColorPickerOkayButton_Text" inherits="GameMenuButtonTemplate" text="OKAY"> <Anchors> <Anchor point="RIGHT" relativeTo="TBColorPickerCancelButton_Text" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> HideUIPanel(self:GetParent()); TBColorPickerFrame_Text.func(); if (TBColorPickerFrame_Text.opacityFunc) then TBColorPickerFrame_Text.opacityFunc(); end TipBuddy_Background_SetColor_Text(); TipBuddy_OptionsFrame_UpdateColorButtons_Text(); TipBuddy_InitializeTextColors(); </OnClick> </Scripts> </Button> <Slider name="TBOpacitySliderFrame_Text" orientation="VERTICAL" minValue="0" maxValue="1" valueStep="0.05" defaultValue="1"> <Size> <AbsDimension x="16" y="128"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="TBColorSwatch_Text" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="32" y="0"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true"> <EdgeSize> <AbsValue val="8"/> </EdgeSize> <TileSize> <AbsValue val="8"/> </TileSize> <BackgroundInsets> <AbsInset left="3" right="3" top="6" bottom="6"/> </BackgroundInsets> </Backdrop> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontNormalSmall"> <Anchors> <Anchor point="BOTTOM" relativePoint="TOP"/> </Anchors> </FontString> <FontString inherits="GameFontHighlightSmall" text="0%"> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> <FontString inherits="GameFontHighlightSmall" text="100%"> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-2" y="3"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnValueChanged> if (TBColorPickerFrame_Text.opacityFunc) then TBColorPickerFrame_Text.opacityFunc(); end </OnValueChanged> </Scripts> <ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Vertical"> <Size> <AbsDimension x="32" y="32"/> </Size> </ThumbTexture> </Slider> </Frames> <Scripts> <OnShow> self:Raise(); if (self.hasOpacity) then TBOpacitySliderFrame_Text:Show(); TBOpacitySliderFrame_Text:SetValue(self.opacity); self:SetWidth(365); else TBOpacitySliderFrame_Text:Hide(); self:SetWidth(305); end PlaySound("gsTitleOptionOK"); </OnShow> <OnHide> PlaySound("gsTitleOptionOK"); </OnHide> <OnColorSelect> TBColorSwatch_Text:SetTexture(arg1, arg2, arg3); if (self.func) then self.func(); end </OnColorSelect> <OnKeyDown> if (arg1 == "ESCAPE") then HideUIPanel(self); if (TBColorPickerFrame_Text.cancelFunc) then TBColorPickerFrame_Text.cancelFunc(TBColorPickerFrame_Text.previousValues); end end </OnKeyDown> </Scripts> <ColorWheelTexture name="TBColorPickerWheel_Text"> <Size> <AbsDimension x="128" y="128"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="16" y="-32"/> </Offset> </Anchor> </Anchors> </ColorWheelTexture> <ColorWheelThumbTexture file="Interface\Buttons\UI-ColorPicker-Buttons"> <Size> <AbsDimension x="10" y="10"/> </Size> <TexCoords left="0" right="0.15625" top="0" bottom="0.625"/> </ColorWheelThumbTexture> <ColorValueTexture> <Size> <AbsDimension x="32" y="128"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="TBColorPickerWheel" relativePoint="RIGHT"> <Offset> <AbsDimension x="24" y="0"/> </Offset> </Anchor> </Anchors> </ColorValueTexture> <ColorValueThumbTexture file="Interface\Buttons\UI-ColorPicker-Buttons"> <Size> <AbsDimension x="48" y="14"/> </Size> <TexCoords left="0.25" right="1.0" top="0" bottom="0.875"/> </ColorValueThumbTexture> </ColorSelect> <!-- EXTRA CHECKBUTTONS --> <CheckButton name="TB_Op_Check66" inherits="TipBuddy_CheckButtonTemplate" id="66"> </CheckButton> <CheckButton name="TB_Op_Check67" inherits="TipBuddy_CheckButtonTemplate" id="67"> </CheckButton> <CheckButton name="TB_Op_Check68" inherits="TipBuddy_CheckButtonTemplate" id="68"> </CheckButton> <CheckButton name="TB_Op_Check69" inherits="TipBuddy_CheckButtonTemplate" id="69"> </CheckButton> <Frame name="TB_ExtraStuff" hidden="true" parent="UIParent"> <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> <EdgeSize> <AbsValue val="16"/> </EdgeSize> <TileSize> <AbsValue val="16"/> </TileSize> <BackgroundInsets> <AbsInset left="5" right="5" top="5" bottom="5"/> </BackgroundInsets> </Backdrop> <Size> <AbsDimension x="128" y="128"/> </Size> <Anchors> <Anchor point="CENTER"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Frames> <Button name="TipBuddy_OptionsFrame_ColorPicker10" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="10"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> <Button name="TipBuddy_OptionsFrame_ColorPicker20" toplevel="true" frameStrata="HIGH" inherits="TipBuddy_ColorPickerButton_Template" id="20"> <Size> <AbsDimension x="32" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="-2"/> </Offset> </Anchor> </Anchors> </Button> </Frames> </Frame> <!-- <Frame parent="UIParent"> <Frames> <Button name="TitanPanelTipBuddyTitanButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true"> <Scripts> <OnLoad> TitanPanelTipBuddyIcon_OnLoad(); </OnLoad> <OnEvent> TitanPanelTipBuddyIcon_OnEvent(); </OnEvent> <OnClick> TitanPanelTipBuddyIcon_OnClick(arg1); </OnClick> </Scripts> </Button> </Frames> </Frame>--> </Ui>