mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-13 00:42:40 +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:
@@ -0,0 +1,70 @@
|
||||
pfUI:RegisterSkin("Looking for group", "tbc", function ()
|
||||
local border = tonumber(pfUI_config.appearance.border.default)
|
||||
local bpad = border > 1 and border - 1 or 1
|
||||
|
||||
CreateBackdrop(LFGParentFrame, nil, nil, .75)
|
||||
CreateBackdropShadow(LFGParentFrame)
|
||||
|
||||
LFGParentFrame.backdrop:SetPoint("TOPLEFT", 14, -10)
|
||||
LFGParentFrame.backdrop:SetPoint("BOTTOMRIGHT", -26, 72)
|
||||
LFGParentFrame:SetHitRectInsets(14,26,10,72)
|
||||
EnableMovable(LFGParentFrame)
|
||||
|
||||
SkinCloseButton(GetNoNameObject(LFGParentFrame, 'Button', nil, "UI-Panel-MinimizeButton-Up"), LFGParentFrame.backdrop, -6, -6)
|
||||
|
||||
LFGParentFrame:DisableDrawLayer("BACKGROUND")
|
||||
|
||||
LFGParentFrameTitle:ClearAllPoints()
|
||||
LFGParentFrameTitle:SetPoint("TOP", LFGParentFrame.backdrop, "TOP", 0, -10)
|
||||
|
||||
SkinTab(LFGParentFrameTab1)
|
||||
LFGParentFrameTab1:ClearAllPoints()
|
||||
LFGParentFrameTab1:SetPoint("TOPLEFT", LFGParentFrame.backdrop, "BOTTOMLEFT", bpad, -(border + (border == 1 and 1 or 2)))
|
||||
SkinTab(LFGParentFrameTab2)
|
||||
LFGParentFrameTab2:ClearAllPoints()
|
||||
LFGParentFrameTab2:SetPoint("LEFT", LFGParentFrameTab1, "RIGHT", border*2 + 1, 0)
|
||||
|
||||
LFGParentFrameBackground:Hide()
|
||||
|
||||
do -- LFGWizardFrame
|
||||
SkinButton(LFGWizardFrameLFGButton)
|
||||
SkinButton(LFGWizardFrameLFMButton)
|
||||
end
|
||||
|
||||
do -- LFGFrame
|
||||
StripTextures(AutoJoinBackground)
|
||||
|
||||
SkinCheckbox(AutoJoinCheckButton)
|
||||
|
||||
SkinDropDown(LFGFrameTypeDropDown1)
|
||||
SkinDropDown(LFGFrameNameDropDown1)
|
||||
SkinDropDown(LFGFrameTypeDropDown2)
|
||||
SkinDropDown(LFGFrameNameDropDown2)
|
||||
SkinDropDown(LFGFrameTypeDropDown3)
|
||||
SkinDropDown(LFGFrameNameDropDown3)
|
||||
|
||||
SkinButton(LFGFrameDoneButton)
|
||||
SkinButton(LFGFrameClearAllButton)
|
||||
LFGFrameClearAllButton:ClearAllPoints()
|
||||
LFGFrameClearAllButton:SetPoint("RIGHT", LFGFrameDoneButton, "LEFT", -2*bpad, 0)
|
||||
|
||||
CreateBackdrop(LFGComment)
|
||||
end
|
||||
|
||||
do -- LFMFrame
|
||||
StripTextures(AddMemberBackground)
|
||||
|
||||
SkinCheckbox(AutoAddMembersCheckButton)
|
||||
|
||||
SkinDropDown(LFMFrameTypeDropDown, nil, nil, nil, true)
|
||||
SkinDropDown(LFMFrameNameDropDown, nil, nil, nil, true)
|
||||
|
||||
for i=1, 4 do
|
||||
SkinButton(_G["LFMFrameColumnHeader"..i])
|
||||
end
|
||||
|
||||
SkinButton(LFMFrameGroupInviteButton)
|
||||
SkinButton(LFMFrameSendMessageButton)
|
||||
SkinButton(LFMFrameSearchButton)
|
||||
end
|
||||
end)
|
||||
Reference in New Issue
Block a user