WoW:API Frame CreateTexture

From AddOn Studio
Revision as of 13:54, 24 February 2008 by WoWWiki>DocMartin (New page: Good for solid color backgrounds instead of using the SetBackdrop function. FRAME.texture = FRAME:CreateTexture() texture:SetAllPoints(FRAME) texture:SetTexture(r,g,b[,a]))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Good for solid color backgrounds instead of using the SetBackdrop function.

FRAME.texture = FRAME:CreateTexture()

texture:SetAllPoints(FRAME)

texture:SetTexture(r,g,b[,a])