WoW:XML/BackdropTemplate: Difference between revisions

Line 23: Line 23:
; KeyValue pairs:
; KeyValue pairs:
''on the Frame inheriting BackdropTemplate''
''on the Frame inheriting BackdropTemplate''
* backdropInfo (global, backdropInfo table name) - the main backdrop configuration table, using 'type' 'global' with a string 'value' that's the name of a global Lua 'backdropInfo' table. Can use one of the many WoW predefined 'backdropInfo' default tables.
* backdropInfo (global, backdropInfo table name) - the main backdrop configuration table, using 'type' 'global' with a string 'value' that's the name of a global Lua 'backdropInfo' table. Can use one of the many WoW predefined 'backdropInfo' default tables, like BACKDROP_DIALOG_32_32.


* backdropColor (global, color table name) - default none. 'value' is one of the predefined or a user defined global Lua color table constants, used to set backdrop background vertex color values, set on load by BackdropTemplate SetBackdropColor(r, g, b, a) which uses SetVertexColor(r, g, b, a or 1) on the background texture, if any. If no background texture is defined, then has no effect.
* backdropColor (global, color table name) - default none. 'value' is one of the predefined or a user defined global Lua color table constants, used to set backdrop background vertex color values, set on load by BackdropTemplate SetBackdropColor(r, g, b, a) which uses SetVertexColor(r, g, b, a or 1) on the background texture, if any. If no background texture is defined, then has no effect.