WoW:XML/BackdropTemplate: Difference between revisions

From AddOn Studio
< XML
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
== Inheritance ==
== Inheritance ==
Inherited by: many, Inherits: none, Defined in: [[XML/SharedXML|SharedXML]]
Inherited by: many, Inherits: none, Defined in: [[XML/SharedXML|SharedXML]]
== Reqirements ==
* a [[XML/Frame]] that inherits or indirectly inherits 'BackdropTemplate'
<pre>
<Frame name="Frame1" inherits="BackdropTemplate">
</pre>
* [[XML/KeyValue]] with a Key of 'backdropInfo' who's value is the name of a global variable that holds the desired backdrop layout.
<pre>
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global" />
</KeyValues>
</pre>


== Notes ==
== Notes ==
* The BackdropTemplate template directly replaced the older [[XML/Backdrop]] [[XML types|type]] in WoW Retail patch 9.0.1, but still worked in Classic and Era.
* The BackdropTemplate template directly replaced the older [[XML/Backdrop]] [[XML types|type]] in WoW Retail patch 9.0.1, but still worked in Classic and Era.
* In Classic and Classic Era patch 2.5.3 and patch 1.14.0 respectively, BackdropTemplate template also replaced Backdrop element, when the version 9 engine was adopted.
* In Classic and Classic Era patch 2.5.3 and patch 1.14.0 respectively, BackdropTemplate template also replaced Backdrop element, when the version 9 engine was adopted.

Revision as of 22:17, 2 May 2022

XML UI ← XML templates < BackdropTemplate

BackdropTemplate is a template that helps create a Frame backdrop in the WoW UI.

Inheritance

Inherited by: many, Inherits: none, Defined in: SharedXML

Reqirements

  • a XML/Frame that inherits or indirectly inherits 'BackdropTemplate'
<Frame name="Frame1" inherits="BackdropTemplate">
  • XML/KeyValue with a Key of 'backdropInfo' who's value is the name of a global variable that holds the desired backdrop layout.
<KeyValues>
	<KeyValue key="backdropInfo" value="BACKDROP_DIALOG_32_32" type="global" />
</KeyValues>

Notes

  • The BackdropTemplate template directly replaced the older XML/Backdrop type in WoW Retail patch 9.0.1, but still worked in Classic and Era.
  • In Classic and Classic Era patch 2.5.3 and patch 1.14.0 respectively, BackdropTemplate template also replaced Backdrop element, when the version 9 engine was adopted.