Thursday, April 19, 2012

Frame Creation Tutorial?

Is there one of these flying around? I've already checked wowwiki.com but the info there is..... lacking. It explains how to create a basic frame, but nothing on buttons, how to do edge files, and all that fancy stuff.

Something that I can look at and understand. Hell, just a list of syntaxes for "CreateFrame" would be great.


Code:
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background">

CHANGES TO


Code:
local t = f:CreateTexture(nil,"BACKGROUND")
t:SetTexture("Interface\DialogFrame\UI-DialogBox-Background")

Completely different layout, different syntaxes on a lot of other conversions. Very confusing....

No comments:

Post a Comment