I'm cross posting this from the WoW UI & Macro forums because I think I may get more helpful responses here.
I downloaded a DBM skin called Quse Boss Styles (
http://www.wowinterface.com/download...ossStyles.html), and am having a bit of trouble with the scaling. I posted a comment on the WoWInterface page, but it appears as if the author doesn't update very often and I'd really like to find a solution since this is the first DBM skin I've been able to find that actually matches my UI. ><
Here's a screenshot of my problem:
The bars on the right hand side are absolutely perfect. However, the "huge bar" (down towards the bottom right) is off somehow, causing the border be blurry instead of pixel perfect like the others. As you can see on my DBM settings, the scaling and everything else are exactly the same. Looking through the WoWInterface comments, someone else had the same issue and it doesn't sound like it was ever actually fixed, but I'm hoping someone here can help me figure it out.
I was hoping that the LUA contained different settings for each bar type, but it doesn't appear to (although my LUA skills are a bit limited, so I could be wrong). Here's the LUA file, in case this helps anyone identify the problem:
Code:
hooksecurefunc('CreateFrame', function(...)
local _, name, _, template = ...
if(template == 'DBTBarTemplate') then
local frame = _G[name]
local bar = _G[frame:GetName().."Bar"]
local spark = _G[frame:GetName().."BarSpark"]
local texture = _G[frame:GetName().."BarTexture"]
local icon1 = _G[frame:GetName().."BarIcon1"]
local icon2 = _G[frame:GetName().."BarIcon2"]
local name = _G[frame:GetName().."BarName"]
local timer = _G[frame:GetName().."BarTimer"]
bar:SetHeight(18)
bar:SetFrameLevel(1)
-- BAR STYLE
texture:SetTexture("Interface\\AddOns\\!dbm\\media\\statusbar")
icon1:SetTexCoord(.1,.9,.1,.9)
icon1:ClearAllPoints()
icon1:SetPoint("LEFT", bar, "LEFT", -21, 0)
icon2:SetTexCoord(.1,.9,.1,.9)
name:SetPoint("CENTER")
name:SetPoint("LEFT", 4, 0)
name:SetFont("Interface\\AddOns\\!dbm\\media\\Hoog0655.ttf", 8, "OUTLINEMONOCHROME")
name:SetShadowColor(0, 0, 0, 0)
timer:SetPoint("CENTER")
timer:SetPoint("RIGHT", -4, 0)
timer:SetFont("Interface\\AddOns\\!dbm\\media\\Hoog0655.ttf", 8, "OUTLINEMONOCHROME")
timer:SetFont("Interface\\AddOns\\!dbm\\media\\Hoog0655.ttf", 8, "OUTLINEMONOCHROME")
timer:SetShadowColor(0, 0, 0, 0)
spark:SetAlpha(0)
name.SetFont = function() end
texture.SetTexture = function() end
timer.SetFont = function() end
spark.SetAlpha = function() end
--bar.styled = true
-- BACKDROP AND BORDER
local bg = CreateFrame("Frame", nil, bar)
bg:SetPoint("TOPRIGHT", frame, 0, 0)
bg:SetPoint("BOTTOMLEFT", frame, -1, -0)
bg:SetBackdrop({
bgFile = "Interface\\Buttons\\WHITE8X8",
edgeFile = "Interface\\Buttons\\WHITE8X8",
edgeSize = 1,
})
bg:SetBackdropBorderColor(0, 0, 0, 1)
bg:SetBackdropColor(.078,.078,.078,0.5)
bg:SetFrameLevel(0)
-- LEFT ICON
-- local ibg = CreateFrame("Frame", icon1)
-- ibg:SetPoint("TOPRIGHT", icon1, 1, 1)
-- ibg:SetPoint("BOTTOMLEFT", icon1, -1, -1)
-- ibg:SetBackdrop({
-- bgFile = "",
-- edgeFile = "Interface\\Buttons\\WHITE8X8",
-- edgeSize = 1,
-- })
-- ibg:SetBackdropBorderColor(0, 0, 0)
-- ibg:SetParent(bar)
-- RIGHT ICON
-- local ibg = CreateFrame("Frame", icon2)
-- ibg:SetPoint("TOPRIGHT", icon2, 1, 1)
-- ibg:SetPoint("BOTTOMLEFT", icon2, -1, -1)
-- ibg:SetBackdrop({
-- bgFile = "",
-- edgeFile = "Interface\\Buttons\\WHITE8X8",
-- edgeSize = 1,
-- })
-- ibg:SetBackdropBorderColor(0, 0, 0)
-- ibg:SetParent(bar)
end
end)