WoW:XML/BackdropTemplate: Difference between revisions

no edit summary
No edit summary
Line 5: Line 5:
Inherited by: many, Inherits: none, Defined in: [[XML/SharedXML|SharedXML]]
Inherited by: many, Inherits: none, Defined in: [[XML/SharedXML|SharedXML]]


== Reqirements ==
== Configuration ==
 
KeyValue pairs on the Frame:
* backdropInfo (global, value to table name) - points to a backdrop configuration table, using 'type' 'global' with a string 'value' that's the name of a global Lua table
* backdropColorAlpha (number) - 0 to 1 value that can be used to override BackdropTemplateMixin:SetBackdropColor(r, g, b, a) alpha, set on load
* backdropBorderColorAlpha (number) - 0 to 1 value that can be used to override the BackdropTemplateMixin:SetBackdropBorderColor(r, g, b, a) alpha, set on load
* backdropBorderBlendMode (string) - can be used to override the BackdropTemplateMixin:SetBorderBlendMode(blendMode), set on load, which will set the blend mode for each layout frame piece that makes up the backdrop. See [[XML/ALPHAMODE]] for list of options
 
 
== Requirements ==
* a [[XML/Frame]] that inherits or indirectly inherits 'BackdropTemplate'
* a [[XML/Frame]] that inherits or indirectly inherits 'BackdropTemplate'