Hmm, okay. So that means I would need a shine texture. Does one exist within WoW, or is that something that needs to be created?
This is my frame creation code. It is just the base, as I haven't populated it except for the title text. The good news is that the title text is the only part I want shiny or glittery. That would be line 31.
The plan eventually is to have have "MyrroUI" at the top in gold, version in silver below that, and at the bottom of the frame, "Installer" in bronze, all glittering, but baby steps.
Lua Code:
-- if SVN checkout, replace version text --------
if version:match("@") then
version = L["Developer"]
end
local addonName = "MyrroUI " .. version
function MyrroUI:CreateInstaller()
-- create Installer window ----------------------
local width = UIParent:GetWidth() / 2
local height = UIParent:GetHeight() / 2
local f = f or CreateFrame("Frame", "MyrroUIInstallerFrame")
f:SetFrameStrata("MEDIUM")
f:SetMovable(true)
f:SetUserPlaced(false)
f:SetClampedToScreen(true)
f:SetSize(width, height)
f:ClearAllPoints()
f:SetPoint("CENTER", UIParent, "CENTER")
-- frame backdrop ---------------------------
f:SetBackdrop({
bgFile = LSM:Fetch("background", "Blizzard Marble"),
edgeFile = LSM:Fetch("border", "Blizzard Achievement Wood"),
tile = false, tileSize = 0, edgeSize = 100,
insets = {left = 0, right = 0, top = 0, bottom = 0}
})
-- colour it --------------------------------
f:SetBackdropColor(1, 1, 1, 0.75)
f:SetBackdropBorderColor(0, 0, 0, 0.75)
-- "MyrroUI version" ------------------------
local fo = f:CreateFontString()
fo:SetFont(LSM:Fetch("font", "Roman"), 24, nil)
-- fo:SetTextColor(255, 215, 0, 1)
fo:SetPoint("BOTTOM", f, "TOP", 0, -26)
fo:SetText(addonName)
fo:SetTextColor(255, 215, 0, 1)
return f
end