Skip to content

Instantly share code, notes, and snippets.

local UnitSpecific = {
player = function(self)
-- Player specific layout code.
end,
party = function(self)
-- Party specific layout code.
end,
}
self.CPoints = CreateFrame("Frame", nil, self)
for index = 1, MAX_COMBO_POINTS do
-- Set texture and size
local CPoint = self:CreateTexture(nil, 'OVERLAY')
CPoint:SetSize(8, 8)
CPoint:SetTexture('Interface\\ComboFrame\\ComboPoint')
CPoint:SetTexCoord(0, 0.375, 0, 1)
-- Set positions