View Single Post
11-01-10, 09:05 PM   #6
Ailae
A Rage Talon Dragon Guard
 
Ailae's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 318
Looks about right, but you need to create the texture before you apply it.

Example
lua Code:
  1. -- -- can change OVERLAY if you want another to use another framestrata
  2.     Local BorderTL = SK.Frame.Options:CreateTexture(nil, "OVERLAY")
  3.     BorderTL:SetTexture([[Interface\PaperDollInfoFrame\UI-GearManager-Border]])
  4.     BorderTL:SetWidth(64)
  5.     BorderTL:SetHeight(64)
  6.     BorderTL:SetPoint("TOPLEFT", 0, 0)
  7.     BorderTL:SetCoords(.5, .625, 0, 1)
__________________
Oh, the simulated horror!
  Reply With Quote