Hello,
Could someone, please, help me with this matter?
I have a set of weakauras and would like the ECDC addon look the same - icons not zoomed in, some space between them, frame (please, see the image file). Right now I have a frame for buffs (weakaura). If the frame is removed, they look like default wow icons (number 3 in picture), which also would be fine, if too much in the code needs to change (not a big fan of the black corners, reason why I have the frame).
https://ibb.co/mqc7ZGS
I guess it has to be this part that needs changing. But I have no experience in this and cannot seem to get it working:
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop
Code:
<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="ECDC.lua"/>
<Frame name="ECDC" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnLoad>
ECDC_OnLoad(self);
</OnLoad>
<OnEvent>
ECDC_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
ECDC_OnUpdate(elapsed);
</OnUpdate>
</Scripts>
<Frames>
<Button name="ECDC_Button">
<Size>
<AbsDimension x="32" y="40"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="8"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
self:RegisterForDrag("LeftButton");
self:RegisterForClicks("LeftButtonUp", "RightButtonDown");
</OnLoad>
<OnDragStart>
ECDC_OnDragStart();
</OnDragStart>
<OnDragStop>
ECDC_OnDragStop();
</OnDragStop>
<OnMouseUp>
ECDC_OnDragStop();
</OnMouseUp>
<OnClick>
ECDC_Click(self, button);
</OnClick>
</Scripts>
</Button>
</Frames>
<Layers>
<Layer level="BACKGROUND">
<Texture name="ECDC_Tex1" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex2" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex1" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex3" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex2" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex4" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex3" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex5" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex4" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex6" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex5" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex7" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex6" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex8" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex7" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex9" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex8" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<Texture name="ECDC_Tex10" file="Interface\Icons\Spell_Holy_Renew">
<Size>
<AbsDimension x="32" y="32"></AbsDimension>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ECDC_Tex9" relativePoint="RIGHT">
</Anchor>
</Anchors>
<TexCoords left="0.07" right="0.93" top="0.07" bottom="0.93"/>
</Texture>
<FontString name="ECDC_CD1" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD2" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex2" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD3" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex3" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD4" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex4" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD5" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex5" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD6" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex6" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD7" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD8" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex8" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD9" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex9" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ECDC_CD10" outline="Thick" inherits="NumberFontNormalYellow">
<Size>
<AbsDimension x="33" y="12"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="ECDC_Tex10" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="ECDC_Frame1" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex1" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 1)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 1);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame2" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex2" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 2)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 2);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame3" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex3" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 3)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 3);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame4" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex4" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 4)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 4);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame5" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex5" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 5)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 5);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame6" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex6" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 6)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 6);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame7" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex7" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 7)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 7);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame8" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex8" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 8)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 8);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame9" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex9" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 9)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 9);
</OnClick>
</Scripts>
</Button>
<Button name="ECDC_Frame10" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="ECDC_Tex10" relativePoint="CENTER"/>
</Anchors>
<Backdrop edgeFile="Interface/Buttons/WHITE8X8" tile="true">
<EdgeSize val="1"/>
<BorderColor r="0" g="0" b="0" a="0"/>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForClicks("RightButtonDown");
</OnLoad>
<OnEnter>
ECDC_ToolTip(self, 10)
</OnEnter>
<OnLeave>
GameTooltip:Hide()
</OnLeave>
<OnClick>
ECDC_ClickIcon(self, button, 10);
</OnClick>
</Scripts>
</Button>
</Ui>