Hey again! Thought I'd update this thread today!
Did add a border with a small amount of backdrop to my frames using this:
Lua Code:
--border
local borderf = CreateFrame("Frame", nil, health)
borderf:SetPoint("RIGHT", 5, -2.6)
borderf:SetSize(159, 34.5)
borderf:SetBackdrop({
bgFile = "Interface\\AddOns\\oUF_Kygo\\Media\\backdrop", tile = false,
edgeFile = "Interface\\AddOns\\oUF_Kygo\\Media\\backdrop_edge", edgeSize = 5,
insets = { left = 1, right = 1 , top = 1, bottom = 1 }
})
borderf:SetBackdropColor(0, 0, 0, .1)
borderf:SetBackdropBorderColor(0, 0, 0, 1)
health.borderf = borderf
It looks alright, still some tweaking for a bit more depth on the backdrop!
Got a few questions that I hope someone could answer!
If I want to make the healthbars in custom colors , how do I do that? Did try to disable ".colorClass" and add ":SetStatusbarColor" and "SetStatusbarTexture" (not at the same time tho) with (0, 0, 0, .5) (that color just to test!) but it came back saying that both of the syntaxes is returning a nil value.
If I want to add another file that contains referencses / links to the textures and fonts etc or even define custom colors so that the Frames.lua file can use those variables like to replace this >
"Interface\\AddOns\\oUF_Kygo\\Media\\neuropol.ttf" with this > config.healthTextFont or something similar (not completly sure on the syntax that needs to be used)
Like a small push just to get started would be really nice!
Updated code (updated today) >
http://pastebin.com/U5JH0ten if you wanna look at it!