Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CPoints = {}
- for index = 1, MAX_COMBO_POINTS do
- local CPoint = self:CreateTexture(nil, 'BACKGROUND')
- -- Position and size of the combo point.
- CPoint:SetSize(12, 16)
- CPoint:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', index * CPoint:GetWidth(), 0)
- CPoints[index] = CPoint
- end
- -- Register with oUF
- self.CPoints = CPoints
Add Comment
Please, Sign In to add comment