View Single Post
Unread 12-23-12, 02:01 PM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Mod
Featured
Join Date: Sep 2008
Posts: 1,171
Use CreateTexture(). Example:

Lua Code:
  1. local line = f:CreateTexture()
  2. line:SetTexture(.6 ,.6, .6, .2)
  3. line:SetSize(100, 1)
  4. line:SetPoint("CENTER", f)

Where f is the name of your frame.
Haleth is online now   Reply With Quote