View Single Post
11-30-14, 12:40 PM   #3
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The numbers in an AbsDimension inside an Offset inside an Anchor are just like the values you pass to SetPoint in Lua. The Lua equivalent of that XML would be:

Code:
<parent frame reference>:CreateFontString("PlayerLevelText", <draw layer>, "GameFontNormalSmall")
PlayerLevelText:SetPoint("CENTER", -63, -16)
From there it's hopefully obvious what to do.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote