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:XML types
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!
{{uixmltype}} [[XML types]] are common types used by [[XML properties]] and [[XML attributes]] to define WoW UI constructs. Types defined here are not the same as a major XML element types like the <Frame> widget, which can be found instead in [[XML elements]]. == Reference == Below are the 'XML types', wow 'attribute types', 'element types', and 'enumerations'. The 'XML types', wow 'attribute types', and 'enumerations' can be used on attributes. The 'element types' are typically CapitolCase, where 'enumerations' are typically ALLUPPERCASE. == XML simple types == <!-- * nil - null or Lua nil, an empty value or type --> * boolean - a binary value constrained to "true" or "false" * int - an integer, a signed number constrained to whole values, like -1, 0, 1, 2... 1000... * unsignedInt - an unsigned integer, an unsigned signed number constrained to whole values 0 or greater, like 0, 1, 2... 1000... * float - floating point number, a signed number able to contain fractional values, like -1.2, -1, 0.123, 2000.1... * string - a list of text characters, like "bob" == Size and Offset == ==== [[XML/Dimension|Dimension]] ==== * [[XML/AbsDimension|AbsDimension]] - unit based coordinates * [[XML/RelDimension|RelDimension]] - scalar coordinates * x (int) - a unit value thats horizontally opposed * y (int) - a unit value thats vertically opposed ==== [[XML/AbsDimension|AbsDimension]] ==== * x (int) - a unit value thats horizontally opposed * y (int) - a unit value thats vertically opposed ==== [[XML/RelDimension|RelDimension]] ==== * x (float) - a scalar value thats horizontally opposed * y (float) - a scalar value thats vertically opposed ==== [[XML/Value|Value]] ==== * [[XML/AbsValue|AbsValue]] - unit based value * [[XML/RelValue|RelValue]] - scalar value * val (int) - a unit value ==== [[XML/AbsValue|AbsValue]] ==== * val (int) - a unit value ==== [[XML/RelValue|RelValue]] ==== * val (float) - a scalar value ==== [[XML/Inset|Inset]] ==== * [[XML/AbsInset|AbsInset]] * [[XML/RelInset|RelInset]] * left (int) * right (int) * top (int) * bottom (int) ==== [[XML/AbsInset|AbsInset]] ==== * left (int) * right (int) * top (int) * bottom (int) ==== [[XML/RelInset|RelInset]] ==== * left (float) * right (float) * top (float) * bottom (float) == Layout == ==== [[XML/LayoutFrame|LayoutFrame]] ==== * name (string) - defines the name of the element * parentKey (string) - name for a key in the parent element, which will reference this element at runtime. * parentArray (string) - name for an array in the parent, to reference this element at runtime. * inherits (string) - uses a ''virtual'' element as a template * virtual (boolean) - marks the as a template, to be inherited from using '''inherits''' * setAllPoints (boolean) - anchors the TOPLEFT, TOPRIGHT, BOTTOMLEFT and BOTTOMRIGHT points to the parent * hidden (boolean) - makes the element hidden by default * Size ([[XML/Dimension|Dimension]]) * [[XML/Anchors|Anchors]] * [[XML/KeyValues|KeyValues]] * [[XML/Animations|Animations]] ==== [[XML/Anchor|Anchor]] ==== * point ([[XML/FRAMEPOINT|FRAMEPOINT]]) * relativeTo (string) * relativeKey (string) - uses a Lua name of reference to make relative to. alternate to 'relativeTo'. * relativePoint ([[XML/FRAMEPOINT|FRAMEPOINT]]) * x (int) * y (int) * Offset ([[XML/Dimension|Dimension]]) ==== [[XML/FRAMEPOINT|FRAMEPOINT]] ==== * TOPLEFT * TOPRIGHT * BOTTOMLEFT * BOTTOMRIGHT * TOP * BOTTOM * LEFT * RIGHT * CENTER == Appearance == ==== [[XML/Color|Color]] ==== * r (float) - red * g (float) - green * b (float) - blue * a (float) - Default is '1.0'. ==== [[XML/Gradient|Gradient]] ==== * orientation ([[XML/ORIENTATION|ORIENTATION]]) - Default is HORIZONTAL. * MinColor ([[XML/Color|Color]]) * MaxColor ([[XML/Color|Color]]) ==== [[XML/ButtonStyle|ButtonStyle]] ==== * style (string) - Name of a font or fontstring for text render. ==== [[XML/ORIENTATION|ORIENTATION]] ==== * HORIZONTAL * VERTICAL ==== [[XML/JUSTIFYV|JUSTIFYV]] ==== * TOP * MIDDLE * BOTTOM ==== [[XML/JUSTIFYH|JUSTIFYH]] ==== * LEFT * CENTER * RIGHT ==== [[XML/OUTLINE|OUTLINE]] ==== * NONE * NORMAL * THICK ==== [[XML/ALPHAMODE|ALPHAMODE]] ==== ''Defines how colors and textures are blended, and not necessarily alpha as the name would imply.'' * DISABLE - no blend. * BLEND - (default) while background fades element gets stronger * ALPHAKEY - transparency depends on alpha channel of textures * ADD - background and element colors added resulting in bright colors * MOD - modulate == Display == ==== [[XML/Layer|Layer]] ==== * level ([[XML/DRAWLAYER|DRAWLAYER]]) - Default is 'ARTWORK'. * textureSubLevel (int) - Additional sub-leveling of 'level'. Range of -8 .. 7. Default is '0'. * [[XML/Texture|Texture]] ... * [[XML/FontString|FontString]] ... ==== [[XML/Backdrop|Backdrop]] ==== * bgFile (string) - texture file for frame background * edgeFile (string) - texture file to use as frame edge * tile (boolean) - true tile background, otherise is stretched. Default is 'false'. * alphaMode ([[XML/ALPHAMODE|ALPHAMODE]]) - blend mode for the colors or texture. Default is 'BLEND'. * BackgroundInsets ([[XML/Inset|Inset]]) - offset out from frame to draw backdrop, higher values go outward. * EdgeSize ([[XML/Value|Value]]) - how large each copy of the edgeFile becomes on-screen * TileSize ([[XML/Value|Value]]) - how large each copy of the bgFile becomes on-screen * Color ([[XML/Color|Color]]) - defines a background color * BorderColor ([[XML/Color|Color]]) - defines a border color ==== [[XML/DRAWLAYER|DRAWLAYER]] ==== * BACKGROUND * BORDER * ARTWORK - usual default. * OVERLAY * HIGHLIGHT ==== [[XML/FRAMESTRATA|FRAMESTRATA]] ==== * PARENT * BACKGROUND * LOW * MEDIUM * HIGH * DIALOG * FULLSCREEN * FULLSCREEN_DIALOG * TOOLTIP == Animation == ==== [[XML/AnimOrigin|AnimOrigin]] ==== * point ([[XML/FRAMEPOINT|FRAMEPOINT]]) - relative anchor for the offset. * Offset ([[XML/Dimension|Dimension]]) - static initial ofset for the animation origin. ==== [[XML/ControlPoint|ControlPoint]] ==== * name (string) * offsetX (float) * offsetY (float) ==== [[XML/ANIMLOOP|ANIMLOOP]] ==== * NONE * REPEAT * BOUNCE ==== [[XML/ANIMSMOOTH|ANIMSMOOTH]] ==== * NONE * IN * OUT * IN_OUT * OUT_IN ==== [[XML/ANIMCURVE|ANIMCURVE]] ==== * NONE * SMOOTH == Other Types == ==== [[XML/ATTRIBUTETYPE|ATTRIBUTETYPE]] ==== * nil * boolean * number * string ==== [[XML/FONTALPHABET|FONTALPHABET]] ==== * roman * korean * simplifiedchinese * traditionalchinese * russian ==== [[XML/KEYVALUETYPE|KEYVALUETYPE]] ==== * nil * boolean * number * string * global ==== [[XML/SCRIPTINHERITTYPE|SCRIPTINHERITTYPE]] ==== * prepend - run this script before any other previously inherited scripts * append - run this script after any other previously inherited scripts * none - (default) override any inherited scripts, other scripts will not be run ==== [[XML/SCRIPTINTRINSICORDERTYPE|SCRIPTINTRINSICORDERTYPE]] ==== ''Used on Script elements when defining an 'intrinsic' type'' * precall - called before any regular event scripts, cannot be overridden * postcall - called after any regular event scripts, cannot be overridden * none (default) - called as regular event script, can be overridden ==== [[XML/Ui|Ui]] ==== == Parked == ''The below is temporarity parked '''here''' while things are restructured, was from the XML Basics, where it didnt really belong'' For complete description and properties of each element follow link below. Since there is no official blizzard documentation, and standards change with patches, it's hard to keep this list up to date and accurate. *[[XML_Elements#Widgets|Widgets]] **[[XML_Elements#Button|Button]] - button you can click **[[XML_Elements#CheckButton|CheckButton]] - This is checkbox, used in options **[[XML_Elements#ColorSelect|colorselect]] - You can select color with this element **[[XML_Elements#CoolDown|cooldown]] - Action bars with cooldown **[[XML_Elements#DressUpModel|dressupmodel]] - used to check look of an items **[[XML_Elements#EditBox|editbox]] - You can enter text here **[[XML_Elements#FontString|FontString]] - This is just text to read **[[XML_Elements#Frame|frame]] - Window for all other elements **[[XML_Elements#GameTooltip|gametooltip]] - it's a small window showing hints about anything under cursor **[[XML_Elements#MessageFrame|messageframe]] - used for chat **[[XML_Elements#MiniMap|minimap]] - Radar is build with this one **[[XML_Elements#Model|model]] - ??? **[[XML_Elements#PlayerModel|playermodel]] - ??? **[[XML_Elements#ScrollFrame|scrollframe]] - Used in any window you need to scroll down (quest logs etc.) **[[XML_Elements#ScrollingMessageFrame|scrollingmessageframe]] - Same as message frame but with scrolling **[[XML_Elements#SimpleHtml|simplehtml]] - used to show htmls (most html tags ignored) **[[XML_Elements#Slider|slider]] - it's a scroll bar for scrolling frames **[[XML_Elements#StatusBar|statusbar]] - ??? **[[XML_Elements#TabardModel|tabardmodel]] - used to select tabard **[[XML_Elements#TaxiRouteFrame|taxirouteframe]] - ??? **[[XML_Elements#WorldFrame|worldframe]] - All 3d rendered inside here **[[XML_Elements#UIParent|uiparent]] - This is where normally all addons loaded *[[XML_Elements#NonWidgets|NonWidgets]] **[[XML_Elements#Include|include]] - You specify another scheme to load here (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) **[[XML_Elements#Texture|texture]] - Defines a texture template (can be used only inside ui tag) [[Category:XML types| ]] [[Category:XML elements]]
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)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Uixmltype
(
edit
)