Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:UI XML tutorial
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Preface == As a bit of a primer for this guide, here is a short list of XML element types, to give some perspective as you work through the next sections. See: [[XML types]], [[XML attributes]] and [[XML elements]], later for a more complete list of WoW UI XML references. ''Keep in mind that there is no official Blizzard documentation for any of this.'' For description and properties of each element follow link below. ==== Example Types ==== ''These are usually first in the [[XML]] file.'' *[[XML_elements#Ui|Ui]] - This is the root element, holds all the others in the XML file (worry about later) **[[XML_elements#Include|Include]] - You specify another XML to load too (ones not listed in ToC file) **[[XML_elements#Script|Script]] - Refers to a script file (skipped in ToC file) or contains lua script inside **[[XML_elements#Font|Font]] - Defines a font template (can be used only inside ui tag) ''These begin to actually define screen elements, and are later in the [[XML]] file.'' *[[XML_elements#Widgets|LayoutFrame]] - a basic visible WoW UI element. also called Widgets. **[[XML_elements#Texture|Texture]] - defines a texture or visible image. is a LayoutFrame. **[[XML_elements#FontString|FontString]] - This is just text to read. is also a LayoutFrame. **[[XML_elements#Frame|Frame]] - a visible 'window' and basic container for other elements. is a LayoutFrame too. ***[[XML_elements#Button|Button]] - button you can click. A Button is a Frame, A Frame is a LayoutFrame. :) ***[[XML_elements#CheckButton|CheckButton]] - This is checkbox, used in options ***[[XML_elements#EditBox|EditBox]] - You can enter text here ***[[XML_elements#ScrollFrame|ScrollFrame]] - Used in any window you need to scroll down (quest logs etc.) ***[[XML_elements#Slider|Slider]] - it's a scroll bar for scrolling frames ***[[XML_elements#TabardModel|TabardModel]] - used to select tabard ***[[XML_elements#WorldFrame|WorldFrame]] - A frame to hold the 3D game 'world'. All 3d rendered inside here. ***[[XML_elements#UIParent|UIParent]] - Top built-in WoW 'Frame'. Contains all the 2D UI when game is running.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)