![]() Local t = f:CreateTexture(nil,"BACKGROUND") Local f = CreateFrame("Frame",nil,UIParent)į:SetWidth(128) - Set these to whatever height/width is needed Result: displays the horde and alliance insignias in the middle of the screen. Returns newFrame Frame - Reference to the newly created frame. ![]() These frames cannot be frames that were created using this function, they must be created using XML with virtual="true" in the tag. inheritsFrame String - a comma-delimited list of names of virtual frames to inherit from (the same as in XML). parentFrame Frame - The frame object that will be used as the created Frame's parent (cannot be a string!) Does not default to UIParent if given nil. The function will also set a global variable of this name to point to the newly created frame. See UIOBJECT_Frame frameName String - Name of the newly created frame. ![]() Parameters Arguments frameType String - Type of the frame to be created (XML tag name): "Frame", "Button", etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |