mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 02:36:02 +00:00
34f5c3eb02
Bugfixes: - Fixed 40-yard range check not working for raid/party frames - Fixed aggro indicator not displaying properly on raid/party frames - Improved aggro cache to only cache positive results for instant detection - Fixed HP/Mana not updating with "Use Raid Frames for group" enabled - Added SuperWoW nil-check for SpellInfo - Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING UI Improvements: - Share/Hoverbind buttons now show warning when module is disabled
34 lines
1.3 KiB
Lua
34 lines
1.3 KiB
Lua
pfUI:RegisterSkin("Guild Registrar", "vanilla:tbc", function ()
|
|
StripTextures(GuildRegistrarFrame)
|
|
StripTextures(GuildRegistrarGreetingFrame)
|
|
CreateBackdrop(GuildRegistrarFrame, nil, nil, .75)
|
|
CreateBackdropShadow(GuildRegistrarFrame)
|
|
|
|
GuildRegistrarFrame.backdrop:SetPoint("TOPLEFT", 12, -16)
|
|
GuildRegistrarFrame.backdrop:SetPoint("BOTTOMRIGHT", -28, 66)
|
|
GuildRegistrarFrame:SetHitRectInsets(12,28,16,66)
|
|
EnableMovable(GuildRegistrarFrame)
|
|
|
|
SkinCloseButton(GuildRegistrarFrameCloseButton, GuildRegistrarFrame.backdrop, -6, -6)
|
|
|
|
GuildRegistrarFrame:DisableDrawLayer("BACKGROUND")
|
|
|
|
GuildRegistrarFrameNpcNameText:ClearAllPoints()
|
|
GuildRegistrarFrameNpcNameText:SetPoint("TOP", GuildRegistrarFrame.backdrop, "TOP", 0, -10)
|
|
|
|
SkinButton(GuildRegistrarFrameGoodbyeButton)
|
|
SkinButton(GuildRegistrarFrameCancelButton)
|
|
SkinButton(GuildRegistrarFramePurchaseButton)
|
|
|
|
GuildRegistrarCostLabel:SetFontObject("GameFontWhite")
|
|
GuildRegistrarFrameEditBox:DisableDrawLayer("BACKGROUND")
|
|
CreateBackdrop(GuildRegistrarFrameEditBox, nil, nil, 1)
|
|
GuildRegistrarFrameEditBox:SetHeight(16)
|
|
|
|
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)
|