Guest User

Untitled

a guest
May 26th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. local CPoints = {}
  2. for index = 1, MAX_COMBO_POINTS do
  3. local CPoint = self:CreateTexture(nil, 'BACKGROUND')
  4.  
  5. -- Position and size of the combo point.
  6. CPoint:SetSize(12, 16)
  7. CPoint:SetPoint('TOPLEFT', self, 'BOTTOMLEFT', index * CPoint:GetWidth(), 0)
  8.  
  9. CPoints[index] = CPoint
  10. end
  11.  
  12. -- Register with oUF
  13. self.CPoints = CPoints
Add Comment
Please, Sign In to add comment