fix(libs): pick up coa-ace3 d422ad3 (FileDataID → string paths)
Re-sync after coa-ace3 d422ad3 which converted 42 numeric FileDataIDs in Set*Texture() calls back to string paths. Upstream Ace3 uses FDIDs which silently fail on WoW 3.3.5 / CoA, rendering color swatches, checkboxes and window chrome as solid-red placeholders.
This commit is contained in:
+3
-3
@@ -585,11 +585,11 @@ do
|
|||||||
button:SetSize(128, 21)
|
button:SetSize(128, 21)
|
||||||
button:SetNormalFontObject(GameFontNormal)
|
button:SetNormalFontObject(GameFontNormal)
|
||||||
button:SetHighlightFontObject(GameFontHighlight)
|
button:SetHighlightFontObject(GameFontHighlight)
|
||||||
button:SetNormalTexture(130763) -- "Interface\\Buttons\\UI-DialogBox-Button-Up"
|
button:SetNormalTexture("Interface\\Buttons\\UI-DialogBox-Button-Up")
|
||||||
button:GetNormalTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
button:GetNormalTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
||||||
button:SetPushedTexture(130761) -- "Interface\\Buttons\\UI-DialogBox-Button-Down"
|
button:SetPushedTexture("Interface\\Buttons\\UI-DialogBox-Button-Down")
|
||||||
button:GetPushedTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
button:GetPushedTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
||||||
button:SetHighlightTexture(130762) -- "Interface\\Buttons\\UI-DialogBox-Button-Highlight"
|
button:SetHighlightTexture("Interface\\Buttons\\UI-DialogBox-Button-Highlight")
|
||||||
button:GetHighlightTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
button:GetHighlightTexture():SetTexCoord(0.0, 1.0, 0.0, 0.71875)
|
||||||
button:SetText(newText)
|
button:SetText(newText)
|
||||||
return button
|
return button
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ local function Constructor()
|
|||||||
statustext:SetText("")
|
statustext:SetText("")
|
||||||
|
|
||||||
local titlebg = frame:CreateTexture(nil, "OVERLAY")
|
local titlebg = frame:CreateTexture(nil, "OVERLAY")
|
||||||
titlebg:SetTexture(131080) -- Interface\\DialogFrame\\UI-DialogBox-Header
|
titlebg:SetTexture("Interface\\DialogFrame\\UI-DialogBox-Header")
|
||||||
titlebg:SetTexCoord(0.31, 0.67, 0, 0.63)
|
titlebg:SetTexCoord(0.31, 0.67, 0, 0.63)
|
||||||
titlebg:SetPoint("TOP", 0, 12)
|
titlebg:SetPoint("TOP", 0, 12)
|
||||||
titlebg:SetWidth(100)
|
titlebg:SetWidth(100)
|
||||||
@@ -237,14 +237,14 @@ local function Constructor()
|
|||||||
titletext:SetPoint("TOP", titlebg, "TOP", 0, -14)
|
titletext:SetPoint("TOP", titlebg, "TOP", 0, -14)
|
||||||
|
|
||||||
local titlebg_l = frame:CreateTexture(nil, "OVERLAY")
|
local titlebg_l = frame:CreateTexture(nil, "OVERLAY")
|
||||||
titlebg_l:SetTexture(131080) -- Interface\\DialogFrame\\UI-DialogBox-Header
|
titlebg_l:SetTexture("Interface\\DialogFrame\\UI-DialogBox-Header")
|
||||||
titlebg_l:SetTexCoord(0.21, 0.31, 0, 0.63)
|
titlebg_l:SetTexCoord(0.21, 0.31, 0, 0.63)
|
||||||
titlebg_l:SetPoint("RIGHT", titlebg, "LEFT")
|
titlebg_l:SetPoint("RIGHT", titlebg, "LEFT")
|
||||||
titlebg_l:SetWidth(30)
|
titlebg_l:SetWidth(30)
|
||||||
titlebg_l:SetHeight(40)
|
titlebg_l:SetHeight(40)
|
||||||
|
|
||||||
local titlebg_r = frame:CreateTexture(nil, "OVERLAY")
|
local titlebg_r = frame:CreateTexture(nil, "OVERLAY")
|
||||||
titlebg_r:SetTexture(131080) -- Interface\\DialogFrame\\UI-DialogBox-Header
|
titlebg_r:SetTexture("Interface\\DialogFrame\\UI-DialogBox-Header")
|
||||||
titlebg_r:SetTexCoord(0.67, 0.77, 0, 0.63)
|
titlebg_r:SetTexCoord(0.67, 0.77, 0, 0.63)
|
||||||
titlebg_r:SetPoint("LEFT", titlebg, "RIGHT")
|
titlebg_r:SetPoint("LEFT", titlebg, "RIGHT")
|
||||||
titlebg_r:SetWidth(30)
|
titlebg_r:SetWidth(30)
|
||||||
@@ -262,7 +262,7 @@ local function Constructor()
|
|||||||
line1:SetWidth(14)
|
line1:SetWidth(14)
|
||||||
line1:SetHeight(14)
|
line1:SetHeight(14)
|
||||||
line1:SetPoint("BOTTOMRIGHT", -8, 8)
|
line1:SetPoint("BOTTOMRIGHT", -8, 8)
|
||||||
line1:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
line1:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
local x = 0.1 * 14/17
|
local x = 0.1 * 14/17
|
||||||
line1:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
line1:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ local function Constructor()
|
|||||||
line2:SetWidth(8)
|
line2:SetWidth(8)
|
||||||
line2:SetHeight(8)
|
line2:SetHeight(8)
|
||||||
line2:SetPoint("BOTTOMRIGHT", -8, 8)
|
line2:SetPoint("BOTTOMRIGHT", -8, 8)
|
||||||
line2:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
line2:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
x = 0.1 * 8/17
|
x = 0.1 * 8/17
|
||||||
line2:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
line2:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
||||||
|
|
||||||
|
|||||||
@@ -105,11 +105,11 @@ local function UpdateButton(button, treeline, selected, canExpand, isExpanded)
|
|||||||
|
|
||||||
if canExpand then
|
if canExpand then
|
||||||
if not isExpanded then
|
if not isExpanded then
|
||||||
toggle:SetNormalTexture(130838) -- Interface\\Buttons\\UI-PlusButton-UP
|
toggle:SetNormalTexture("Interface\\Buttons\\UI-PlusButton-UP")
|
||||||
toggle:SetPushedTexture(130836) -- Interface\\Buttons\\UI-PlusButton-DOWN
|
toggle:SetPushedTexture("Interface\\Buttons\\UI-PlusButton-DOWN")
|
||||||
else
|
else
|
||||||
toggle:SetNormalTexture(130821) -- Interface\\Buttons\\UI-MinusButton-UP
|
toggle:SetNormalTexture("Interface\\Buttons\\UI-MinusButton-UP")
|
||||||
toggle:SetPushedTexture(130820) -- Interface\\Buttons\\UI-MinusButton-DOWN
|
toggle:SetPushedTexture("Interface\\Buttons\\UI-MinusButton-DOWN")
|
||||||
end
|
end
|
||||||
toggle:Show()
|
toggle:Show()
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -190,67 +190,67 @@ do
|
|||||||
frame:SetToplevel(true)
|
frame:SetToplevel(true)
|
||||||
|
|
||||||
local titlebg = frame:CreateTexture(nil, "BACKGROUND")
|
local titlebg = frame:CreateTexture(nil, "BACKGROUND")
|
||||||
titlebg:SetTexture(251966) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Title-Background
|
titlebg:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Title-Background")
|
||||||
titlebg:SetPoint("TOPLEFT", 9, -6)
|
titlebg:SetPoint("TOPLEFT", 9, -6)
|
||||||
titlebg:SetPoint("BOTTOMRIGHT", frame, "TOPRIGHT", -28, -24)
|
titlebg:SetPoint("BOTTOMRIGHT", frame, "TOPRIGHT", -28, -24)
|
||||||
|
|
||||||
local dialogbg = frame:CreateTexture(nil, "BACKGROUND")
|
local dialogbg = frame:CreateTexture(nil, "BACKGROUND")
|
||||||
dialogbg:SetTexture(137056) -- Interface\\Tooltips\\UI-Tooltip-Background
|
dialogbg:SetTexture("Interface\\Tooltips\\UI-Tooltip-Background")
|
||||||
dialogbg:SetPoint("TOPLEFT", 8, -24)
|
dialogbg:SetPoint("TOPLEFT", 8, -24)
|
||||||
dialogbg:SetPoint("BOTTOMRIGHT", -6, 8)
|
dialogbg:SetPoint("BOTTOMRIGHT", -6, 8)
|
||||||
dialogbg:SetVertexColor(0, 0, 0, .75)
|
dialogbg:SetVertexColor(0, 0, 0, .75)
|
||||||
|
|
||||||
local topleft = frame:CreateTexture(nil, "BORDER")
|
local topleft = frame:CreateTexture(nil, "BORDER")
|
||||||
topleft:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
topleft:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
topleft:SetWidth(64)
|
topleft:SetWidth(64)
|
||||||
topleft:SetHeight(64)
|
topleft:SetHeight(64)
|
||||||
topleft:SetPoint("TOPLEFT")
|
topleft:SetPoint("TOPLEFT")
|
||||||
topleft:SetTexCoord(0.501953125, 0.625, 0, 1)
|
topleft:SetTexCoord(0.501953125, 0.625, 0, 1)
|
||||||
|
|
||||||
local topright = frame:CreateTexture(nil, "BORDER")
|
local topright = frame:CreateTexture(nil, "BORDER")
|
||||||
topright:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
topright:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
topright:SetWidth(64)
|
topright:SetWidth(64)
|
||||||
topright:SetHeight(64)
|
topright:SetHeight(64)
|
||||||
topright:SetPoint("TOPRIGHT")
|
topright:SetPoint("TOPRIGHT")
|
||||||
topright:SetTexCoord(0.625, 0.75, 0, 1)
|
topright:SetTexCoord(0.625, 0.75, 0, 1)
|
||||||
|
|
||||||
local top = frame:CreateTexture(nil, "BORDER")
|
local top = frame:CreateTexture(nil, "BORDER")
|
||||||
top:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
top:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
top:SetHeight(64)
|
top:SetHeight(64)
|
||||||
top:SetPoint("TOPLEFT", topleft, "TOPRIGHT")
|
top:SetPoint("TOPLEFT", topleft, "TOPRIGHT")
|
||||||
top:SetPoint("TOPRIGHT", topright, "TOPLEFT")
|
top:SetPoint("TOPRIGHT", topright, "TOPLEFT")
|
||||||
top:SetTexCoord(0.25, 0.369140625, 0, 1)
|
top:SetTexCoord(0.25, 0.369140625, 0, 1)
|
||||||
|
|
||||||
local bottomleft = frame:CreateTexture(nil, "BORDER")
|
local bottomleft = frame:CreateTexture(nil, "BORDER")
|
||||||
bottomleft:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
bottomleft:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
bottomleft:SetWidth(64)
|
bottomleft:SetWidth(64)
|
||||||
bottomleft:SetHeight(64)
|
bottomleft:SetHeight(64)
|
||||||
bottomleft:SetPoint("BOTTOMLEFT")
|
bottomleft:SetPoint("BOTTOMLEFT")
|
||||||
bottomleft:SetTexCoord(0.751953125, 0.875, 0, 1)
|
bottomleft:SetTexCoord(0.751953125, 0.875, 0, 1)
|
||||||
|
|
||||||
local bottomright = frame:CreateTexture(nil, "BORDER")
|
local bottomright = frame:CreateTexture(nil, "BORDER")
|
||||||
bottomright:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
bottomright:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
bottomright:SetWidth(64)
|
bottomright:SetWidth(64)
|
||||||
bottomright:SetHeight(64)
|
bottomright:SetHeight(64)
|
||||||
bottomright:SetPoint("BOTTOMRIGHT")
|
bottomright:SetPoint("BOTTOMRIGHT")
|
||||||
bottomright:SetTexCoord(0.875, 1, 0, 1)
|
bottomright:SetTexCoord(0.875, 1, 0, 1)
|
||||||
|
|
||||||
local bottom = frame:CreateTexture(nil, "BORDER")
|
local bottom = frame:CreateTexture(nil, "BORDER")
|
||||||
bottom:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
bottom:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
bottom:SetHeight(64)
|
bottom:SetHeight(64)
|
||||||
bottom:SetPoint("BOTTOMLEFT", bottomleft, "BOTTOMRIGHT")
|
bottom:SetPoint("BOTTOMLEFT", bottomleft, "BOTTOMRIGHT")
|
||||||
bottom:SetPoint("BOTTOMRIGHT", bottomright, "BOTTOMLEFT")
|
bottom:SetPoint("BOTTOMRIGHT", bottomright, "BOTTOMLEFT")
|
||||||
bottom:SetTexCoord(0.376953125, 0.498046875, 0, 1)
|
bottom:SetTexCoord(0.376953125, 0.498046875, 0, 1)
|
||||||
|
|
||||||
local left = frame:CreateTexture(nil, "BORDER")
|
local left = frame:CreateTexture(nil, "BORDER")
|
||||||
left:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
left:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
left:SetWidth(64)
|
left:SetWidth(64)
|
||||||
left:SetPoint("TOPLEFT", topleft, "BOTTOMLEFT")
|
left:SetPoint("TOPLEFT", topleft, "BOTTOMLEFT")
|
||||||
left:SetPoint("BOTTOMLEFT", bottomleft, "TOPLEFT")
|
left:SetPoint("BOTTOMLEFT", bottomleft, "TOPLEFT")
|
||||||
left:SetTexCoord(0.001953125, 0.125, 0, 1)
|
left:SetTexCoord(0.001953125, 0.125, 0, 1)
|
||||||
|
|
||||||
local right = frame:CreateTexture(nil, "BORDER")
|
local right = frame:CreateTexture(nil, "BORDER")
|
||||||
right:SetTexture(251963) -- Interface\\PaperDollInfoFrame\\UI-GearManager-Border
|
right:SetTexture("Interface\\PaperDollInfoFrame\\UI-GearManager-Border")
|
||||||
right:SetWidth(64)
|
right:SetWidth(64)
|
||||||
right:SetPoint("TOPRIGHT", topright, "BOTTOMRIGHT")
|
right:SetPoint("TOPRIGHT", topright, "BOTTOMRIGHT")
|
||||||
right:SetPoint("BOTTOMRIGHT", bottomright, "TOPRIGHT")
|
right:SetPoint("BOTTOMRIGHT", bottomright, "TOPRIGHT")
|
||||||
@@ -290,7 +290,7 @@ do
|
|||||||
line1:SetWidth(14)
|
line1:SetWidth(14)
|
||||||
line1:SetHeight(14)
|
line1:SetHeight(14)
|
||||||
line1:SetPoint("BOTTOMRIGHT", -8, 8)
|
line1:SetPoint("BOTTOMRIGHT", -8, 8)
|
||||||
line1:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
line1:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
local x = 0.1 * 14/17
|
local x = 0.1 * 14/17
|
||||||
line1:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
line1:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
||||||
|
|
||||||
@@ -299,7 +299,7 @@ do
|
|||||||
line2:SetWidth(8)
|
line2:SetWidth(8)
|
||||||
line2:SetHeight(8)
|
line2:SetHeight(8)
|
||||||
line2:SetPoint("BOTTOMRIGHT", -8, 8)
|
line2:SetPoint("BOTTOMRIGHT", -8, 8)
|
||||||
line2:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
line2:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
x = 0.1 * 8/17
|
x = 0.1 * 8/17
|
||||||
line2:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
line2:SetTexCoord(0.05 - x, 0.5, 0.05, 0.5 + x, 0.05, 0.5 - x, 0.5 + x, 0.5)
|
||||||
|
|
||||||
|
|||||||
@@ -151,21 +151,21 @@ local methods = {
|
|||||||
local size
|
local size
|
||||||
if type == "radio" then
|
if type == "radio" then
|
||||||
size = 16
|
size = 16
|
||||||
checkbg:SetTexture(130843) -- Interface\\Buttons\\UI-RadioButton
|
checkbg:SetTexture("Interface\\Buttons\\UI-RadioButton")
|
||||||
checkbg:SetTexCoord(0, 0.25, 0, 1)
|
checkbg:SetTexCoord(0, 0.25, 0, 1)
|
||||||
check:SetTexture(130843) -- Interface\\Buttons\\UI-RadioButton
|
check:SetTexture("Interface\\Buttons\\UI-RadioButton")
|
||||||
check:SetTexCoord(0.25, 0.5, 0, 1)
|
check:SetTexCoord(0.25, 0.5, 0, 1)
|
||||||
check:SetBlendMode("ADD")
|
check:SetBlendMode("ADD")
|
||||||
highlight:SetTexture(130843) -- Interface\\Buttons\\UI-RadioButton
|
highlight:SetTexture("Interface\\Buttons\\UI-RadioButton")
|
||||||
highlight:SetTexCoord(0.5, 0.75, 0, 1)
|
highlight:SetTexCoord(0.5, 0.75, 0, 1)
|
||||||
else
|
else
|
||||||
size = 24
|
size = 24
|
||||||
checkbg:SetTexture(130755) -- Interface\\Buttons\\UI-CheckBox-Up
|
checkbg:SetTexture("Interface\\Buttons\\UI-CheckBox-Up")
|
||||||
checkbg:SetTexCoord(0, 1, 0, 1)
|
checkbg:SetTexCoord(0, 1, 0, 1)
|
||||||
check:SetTexture(130751) -- Interface\\Buttons\\UI-CheckBox-Check
|
check:SetTexture("Interface\\Buttons\\UI-CheckBox-Check")
|
||||||
check:SetTexCoord(0, 1, 0, 1)
|
check:SetTexCoord(0, 1, 0, 1)
|
||||||
check:SetBlendMode("BLEND")
|
check:SetBlendMode("BLEND")
|
||||||
highlight:SetTexture(130753) -- Interface\\Buttons\\UI-CheckBox-Highlight
|
highlight:SetTexture("Interface\\Buttons\\UI-CheckBox-Highlight")
|
||||||
highlight:SetTexCoord(0, 1, 0, 1)
|
highlight:SetTexCoord(0, 1, 0, 1)
|
||||||
end
|
end
|
||||||
checkbg:SetHeight(size)
|
checkbg:SetHeight(size)
|
||||||
@@ -251,11 +251,11 @@ local function Constructor()
|
|||||||
checkbg:SetWidth(24)
|
checkbg:SetWidth(24)
|
||||||
checkbg:SetHeight(24)
|
checkbg:SetHeight(24)
|
||||||
checkbg:SetPoint("TOPLEFT")
|
checkbg:SetPoint("TOPLEFT")
|
||||||
checkbg:SetTexture(130755) -- Interface\\Buttons\\UI-CheckBox-Up
|
checkbg:SetTexture("Interface\\Buttons\\UI-CheckBox-Up")
|
||||||
|
|
||||||
local check = frame:CreateTexture(nil, "OVERLAY")
|
local check = frame:CreateTexture(nil, "OVERLAY")
|
||||||
check:SetAllPoints(checkbg)
|
check:SetAllPoints(checkbg)
|
||||||
check:SetTexture(130751) -- Interface\\Buttons\\UI-CheckBox-Check
|
check:SetTexture("Interface\\Buttons\\UI-CheckBox-Check")
|
||||||
|
|
||||||
local text = frame:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
|
local text = frame:CreateFontString(nil, "OVERLAY", "GameFontHighlight")
|
||||||
text:SetJustifyH("LEFT")
|
text:SetJustifyH("LEFT")
|
||||||
@@ -264,7 +264,7 @@ local function Constructor()
|
|||||||
text:SetPoint("RIGHT")
|
text:SetPoint("RIGHT")
|
||||||
|
|
||||||
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
||||||
highlight:SetTexture(130753) -- Interface\\Buttons\\UI-CheckBox-Highlight
|
highlight:SetTexture("Interface\\Buttons\\UI-CheckBox-Highlight")
|
||||||
highlight:SetBlendMode("ADD")
|
highlight:SetBlendMode("ADD")
|
||||||
highlight:SetAllPoints(checkbg)
|
highlight:SetAllPoints(checkbg)
|
||||||
|
|
||||||
|
|||||||
@@ -180,7 +180,7 @@ local function Constructor()
|
|||||||
local colorSwatch = frame:CreateTexture(nil, "OVERLAY")
|
local colorSwatch = frame:CreateTexture(nil, "OVERLAY")
|
||||||
colorSwatch:SetWidth(19)
|
colorSwatch:SetWidth(19)
|
||||||
colorSwatch:SetHeight(19)
|
colorSwatch:SetHeight(19)
|
||||||
colorSwatch:SetTexture(130939) -- Interface\\ChatFrame\\ChatFrameColorSwatch
|
colorSwatch:SetTexture("Interface\\ChatFrame\\ChatFrameColorSwatch")
|
||||||
colorSwatch:SetPoint("LEFT")
|
colorSwatch:SetPoint("LEFT")
|
||||||
|
|
||||||
local texture = frame:CreateTexture(nil, "BACKGROUND")
|
local texture = frame:CreateTexture(nil, "BACKGROUND")
|
||||||
@@ -195,7 +195,7 @@ local function Constructor()
|
|||||||
colorSwatch.checkers = checkers
|
colorSwatch.checkers = checkers
|
||||||
checkers:SetWidth(14)
|
checkers:SetWidth(14)
|
||||||
checkers:SetHeight(14)
|
checkers:SetHeight(14)
|
||||||
checkers:SetTexture(188523) -- Tileset\\Generic\\Checkers
|
checkers:SetTexture("Tileset\\Generic\\Checkers")
|
||||||
checkers:SetTexCoord(.25, 0, 0.5, .25)
|
checkers:SetTexCoord(.25, 0, 0.5, .25)
|
||||||
checkers:SetDesaturated(true)
|
checkers:SetDesaturated(true)
|
||||||
checkers:SetVertexColor(1, 1, 1, 0.75)
|
checkers:SetVertexColor(1, 1, 1, 0.75)
|
||||||
@@ -210,7 +210,7 @@ local function Constructor()
|
|||||||
text:SetPoint("RIGHT")
|
text:SetPoint("RIGHT")
|
||||||
|
|
||||||
--local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
--local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
||||||
--highlight:SetTexture(136810) -- Interface\\QuestFrame\\UI-QuestTitleHighlight
|
--highlight:SetTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight")
|
||||||
--highlight:SetBlendMode("ADD")
|
--highlight:SetBlendMode("ADD")
|
||||||
--highlight:SetAllPoints(frame)
|
--highlight:SetAllPoints(frame)
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ function ItemBase.Create(type)
|
|||||||
self.text = text
|
self.text = text
|
||||||
|
|
||||||
local highlight = frame:CreateTexture(nil, "OVERLAY")
|
local highlight = frame:CreateTexture(nil, "OVERLAY")
|
||||||
highlight:SetTexture(136810) -- Interface\\QuestFrame\\UI-QuestTitleHighlight
|
highlight:SetTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight")
|
||||||
highlight:SetBlendMode("ADD")
|
highlight:SetBlendMode("ADD")
|
||||||
highlight:SetHeight(14)
|
highlight:SetHeight(14)
|
||||||
highlight:ClearAllPoints()
|
highlight:ClearAllPoints()
|
||||||
@@ -182,7 +182,7 @@ function ItemBase.Create(type)
|
|||||||
check:SetWidth(16)
|
check:SetWidth(16)
|
||||||
check:SetHeight(16)
|
check:SetHeight(16)
|
||||||
check:SetPoint("LEFT",frame,"LEFT",3,-1)
|
check:SetPoint("LEFT",frame,"LEFT",3,-1)
|
||||||
check:SetTexture(130751) -- Interface\\Buttons\\UI-CheckBox-Check
|
check:SetTexture("Interface\\Buttons\\UI-CheckBox-Check")
|
||||||
check:Hide()
|
check:Hide()
|
||||||
self.check = check
|
self.check = check
|
||||||
|
|
||||||
@@ -190,7 +190,7 @@ function ItemBase.Create(type)
|
|||||||
sub:SetWidth(16)
|
sub:SetWidth(16)
|
||||||
sub:SetHeight(16)
|
sub:SetHeight(16)
|
||||||
sub:SetPoint("RIGHT",frame,"RIGHT",-3,-1)
|
sub:SetPoint("RIGHT",frame,"RIGHT",-3,-1)
|
||||||
sub:SetTexture(130940) -- Interface\\ChatFrame\\ChatFrameExpandArrow
|
sub:SetTexture("Interface\\ChatFrame\\ChatFrameExpandArrow")
|
||||||
sub:Hide()
|
sub:Hide()
|
||||||
self.sub = sub
|
self.sub = sub
|
||||||
|
|
||||||
|
|||||||
@@ -51,14 +51,14 @@ local function Constructor()
|
|||||||
left:SetHeight(8)
|
left:SetHeight(8)
|
||||||
left:SetPoint("LEFT", 3, 0)
|
left:SetPoint("LEFT", 3, 0)
|
||||||
left:SetPoint("RIGHT", label, "LEFT", -5, 0)
|
left:SetPoint("RIGHT", label, "LEFT", -5, 0)
|
||||||
left:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
left:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
left:SetTexCoord(0.81, 0.94, 0.5, 1)
|
left:SetTexCoord(0.81, 0.94, 0.5, 1)
|
||||||
|
|
||||||
local right = frame:CreateTexture(nil, "BACKGROUND")
|
local right = frame:CreateTexture(nil, "BACKGROUND")
|
||||||
right:SetHeight(8)
|
right:SetHeight(8)
|
||||||
right:SetPoint("RIGHT", -3, 0)
|
right:SetPoint("RIGHT", -3, 0)
|
||||||
right:SetPoint("LEFT", label, "RIGHT", 5, 0)
|
right:SetPoint("LEFT", label, "RIGHT", 5, 0)
|
||||||
right:SetTexture(137057) -- Interface\\Tooltips\\UI-Tooltip-Border
|
right:SetTexture("Interface\\Tooltips\\UI-Tooltip-Border")
|
||||||
right:SetTexCoord(0.81, 0.94, 0.5, 1)
|
right:SetTexCoord(0.81, 0.94, 0.5, 1)
|
||||||
|
|
||||||
local widget = {
|
local widget = {
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ local function Constructor()
|
|||||||
|
|
||||||
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
local highlight = frame:CreateTexture(nil, "HIGHLIGHT")
|
||||||
highlight:SetAllPoints(image)
|
highlight:SetAllPoints(image)
|
||||||
highlight:SetTexture(136580) -- Interface\\PaperDollInfoFrame\\UI-Character-Tab-Highlight
|
highlight:SetTexture("Interface\\PaperDollInfoFrame\\UI-Character-Tab-Highlight")
|
||||||
highlight:SetTexCoord(0, 1, 0.23, 0.77)
|
highlight:SetTexCoord(0, 1, 0.23, 0.77)
|
||||||
highlight:SetBlendMode("ADD")
|
highlight:SetBlendMode("ADD")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user