Navigation menu

WoW:XML/Frame: Difference between revisions

Jump to navigation Jump to search
27 bytes removed ,  2 August 2008
m (catfix)
(Typo fixing using AWB)
Line 1: Line 1:
== Overview ==
Frames are the building blocks of the visual components of the user interface. All of the various visual elements of the UI are types of Frame, and inhertit most if not all of the basic frame properties, in addition to adding some more.  Frames are defined in the various <tt>.xml</tt> files in the <tt>Interface</tt> directory (Except for the <tt>Bindings.xml</tt> files, which provide key bindings).
Frames are the building blocks of the visual components of the user interface. All of the various visual elements of the UI are types of Frame, and inhertit most if not all of the basic frame properties, in addition to adding some more.  Frames are defined in the various <tt>.xml</tt> files in the <tt>Interface</tt> directory (Except for the <tt>Bindings.xml</tt> files, which provide key bindings).


Line 32: Line 31:
Instead of going around and specifying that frame A should have frame level 12, and frame B frame level 15, Blizzard uses a set of predefined "groups" of frame levels called frameStrata. The valid values for frameStrata are "PARENT", "BACKGROUND", "LOW", "MEDIUM", "HIGH", "DIALOG", "FULLSCREEN_DIALOG" and "TOOLTIP" (there may be more).  For the values "BACKGROUND" through "TOOLTIP" the values are listed in their assumed ascendancy (i.e. it is assumed that "BACKGROUND" will be below "LOW").  The default value is "PARENT" if no frameStrata is specified.
Instead of going around and specifying that frame A should have frame level 12, and frame B frame level 15, Blizzard uses a set of predefined "groups" of frame levels called frameStrata. The valid values for frameStrata are "PARENT", "BACKGROUND", "LOW", "MEDIUM", "HIGH", "DIALOG", "FULLSCREEN_DIALOG" and "TOOLTIP" (there may be more).  For the values "BACKGROUND" through "TOOLTIP" the values are listed in their assumed ascendancy (i.e. it is assumed that "BACKGROUND" will be below "LOW").  The default value is "PARENT" if no frameStrata is specified.


There is also a special attribute called toplevel - this means (hopefully) that the frame should be on top of any other frame (or, possibly, on top of any other frame in the same [[FrameStrata|frameStrata]]). Valid values are "false" and "true".
There is also a special attribute called toplevel - this means (hopefully) that the frame should be on top of any other frame (or, possibly, on top of any other frame in the same [[frameStrata]]). Valid values are "false" and "true".


[[Category:Interface customization]]
[[Category:Interface customization]]
Anonymous user