In oUF 1.4 there are 2 ways to display combo points:
1) Use the 'cpoints' tag to display a text representation of the current combo points
e.g.
Code:
local cpoints = self:CreateFontString(nil, 'OVERLAY')
cpoints:SetPoint('RIGHT', self, 'LEFT', -config.SPACING, 0)
cpoints:SetFont(config.FONT, config.FONTSIZELARGE, config.FONTBORDER)
cpoints:SetJustifyH('RIGHT')
self:Tag(cpoints, '|cffffffff[cpoints]|r')
2) Use the combo points element to display a number of texture for the current combo points
e.g.
Code:
local cpoints = {}
for i = 1, MAX_COMBO_POINTS do
cpoints[i] = self:CreateTexture(nil, 'ARTWORK')
cpoints[i]:SetSize(8, 8)
cpoints[i]:SetTexture(1, i == 5 and 0 or 1, i == 5 and 0 or 1, 1)
cpoints[i]:SetPoint('RIGHT', i == 1 and self or cpoints[i - 1], 'LEFT', -config.SPACING, 0)
end