mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-19 02:50:50 +00:00
skins: add a bunch of tbc compatible skins
* add skin for: auction, character, game_menu guild_registrar, inspect, macro, mail, merchant, options-interface, options-sound, options-video, popup_dialogs, professions, questlog, talents, tracking, guildbank, socket, readycheck, arena_registrar, arena, time_manager, LFG * add mail highlighting the quality of items * add quality borders of guildbank items
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
pfUI:RegisterSkin("Guild Registrar", "vanilla", function ()
|
||||
pfUI:RegisterSkin("Guild Registrar", "vanilla:tbc", function ()
|
||||
StripTextures(GuildRegistrarFrame)
|
||||
StripTextures(GuildRegistrarGreetingFrame)
|
||||
CreateBackdrop(GuildRegistrarFrame, nil, nil, .75)
|
||||
@@ -25,16 +25,9 @@ pfUI:RegisterSkin("Guild Registrar", "vanilla", function ()
|
||||
CreateBackdrop(GuildRegistrarFrameEditBox, nil, nil, 1)
|
||||
GuildRegistrarFrameEditBox:SetHeight(16)
|
||||
|
||||
local texture = "StationeryTest"
|
||||
if date("%m%d") == "0223" then texture = "Stationery_Val" end
|
||||
local tex_Left = GuildRegistrarFrame:CreateTexture("BACKGROUND")
|
||||
tex_Left:SetTexture("Interface\\Stationery\\"..texture.."1")
|
||||
tex_Left:SetPoint("TOPLEFT", 23, -81)
|
||||
tex_Left:SetWidth(tex_Left:GetWidth() + 10)
|
||||
tex_Left:SetHeight(330)
|
||||
local tex_Right = GuildRegistrarFrame:CreateTexture("BACKGROUND")
|
||||
tex_Right:SetTexture("Interface\\Stationery\\"..texture.."2")
|
||||
tex_Right:SetPoint("LEFT", tex_Left, "RIGHT", 0, 0)
|
||||
tex_Right:SetWidth(tex_Right:GetWidth() + 10)
|
||||
tex_Right:SetHeight(330)
|
||||
local bg = GuildRegistrarFrame:CreateTexture(nil, "LOW")
|
||||
bg:SetTexCoord(.1,1,0,1)
|
||||
bg:SetTexture("Interface\\Stationery\\StationeryTest1")
|
||||
bg:SetPoint("TOPLEFT", 23, -81)
|
||||
bg:SetPoint("BOTTOMRIGHT", -40, 100)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user