Fill textures with SetColorTexture instead of color-form SetTexture

ClassicAPI's SetColorTexture is the same engine call as SetTexture(r, g, b [, a]) under the name that says what it does. 83 calls across 25 files, renamed only.
This commit is contained in:
Brues
2026-10-30 19:48:48 -05:00
parent 6469a557ff
commit f7680ded0b
25 changed files with 83 additions and 83 deletions
+3 -3
View File
@@ -259,7 +259,7 @@ pfUI:RegisterModule("equipmentmanager", function()
row.highlight = row:CreateTexture(nil, "BACKGROUND")
row.highlight:SetAllPoints(row)
row.highlight:SetTexture(.3, .3, .3, .4)
row.highlight:SetColorTexture(.3, .3, .3, .4)
row.highlight:Hide()
row.gear = CreateFrame("Button", nil, row)
@@ -1055,7 +1055,7 @@ pfUI:RegisterModule("equipmentmanager", function()
o.dim = o:CreateTexture(nil, "OVERLAY")
o.dim:SetPoint("TOPLEFT", f, "TOPLEFT", 1, -1)
o.dim:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", -1, 1)
o.dim:SetTexture(0, 0, 0, .7)
o.dim:SetColorTexture(0, 0, 0, .7)
o.glow = o:CreateTexture(nil, "OVERLAY")
o.glow:SetTexture("Interface\\Buttons\\UI-ActionButton-Border")
@@ -1597,7 +1597,7 @@ pfUI:RegisterModule("equipmentmanager", function()
local function SetupTriggerRow(row)
row.highlight = row:CreateTexture(nil, "BACKGROUND")
row.highlight:SetAllPoints(row)
row.highlight:SetTexture(.3, .3, .3, .4)
row.highlight:SetColorTexture(.3, .3, .3, .4)
row.highlight:Hide()
row.check = CreateCheckbox(row)