mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
skin: add static popup editbox skins
This commit is contained in:
@@ -62,6 +62,7 @@ pfUI:RegisterModule("skin", function ()
|
||||
"StaticPopup2Button1",
|
||||
"StaticPopup2Button2",
|
||||
}
|
||||
|
||||
local boxes = {
|
||||
"StaticPopup1",
|
||||
"StaticPopup2",
|
||||
@@ -72,6 +73,11 @@ pfUI:RegisterModule("skin", function ()
|
||||
"DropDownList2Backdrop",
|
||||
}
|
||||
|
||||
local editboxes = {
|
||||
"StaticPopup1EditBox",
|
||||
"StaticPopup1WideEditBox",
|
||||
}
|
||||
|
||||
GameMenuFrameHeader:SetTexture(nil)
|
||||
GameMenuFrame:SetHeight(GameMenuFrame:GetHeight()+2)
|
||||
GameMenuFrame:SetWidth(GameMenuFrame:GetWidth()-30)
|
||||
@@ -97,6 +103,13 @@ pfUI:RegisterModule("skin", function ()
|
||||
CreateBackdrop(b, nil, true, .8)
|
||||
end
|
||||
|
||||
for _, edit in pairs(editboxes) do
|
||||
local b = getglobal(edit)
|
||||
b:SetHeight(20)
|
||||
StripTextures(b)
|
||||
CreateBackdrop(b, nil, true, .8)
|
||||
end
|
||||
|
||||
for i,v in ipairs({GameMenuFrame:GetRegions()}) do
|
||||
if v.SetTextColor then
|
||||
v:SetTextColor(1,1,1,1)
|
||||
|
||||
Reference in New Issue
Block a user