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/Backdrop
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}} == Inheritance == Inherited by: none, Inherits: none, Defined in: [[XML/Frame|Frame]] == Elements == * <[[XML/Inset|BackgroundInsets]]> - how far into the frame the background will be drawn (higher values are thicker edges) * <[[XML/Value|EdgeSize]]> - how large each copy of the edgeFile becomes on-screen (i.e. border thickness and corner size) * <[[XML/Value|TileSize]]> - how large each copy of the bgFile becomes on-screen * <[[XML/Color|Color]]> - defines a background color * <[[XML/Color|BorderColor]]> - defines a border color == Attributes == * bgFile (string) - texture file for frame background (.blp or .tga format) * edgeFile (string) - Which texture file to use as frame edge (.blp or .tga format) * tile (bool) - true if background texture will be repeated as tiles, otherise is stretched, . Default is 'false'. * alphaMode ([[XML/ALPHAMODE|ALPHAMODE]]) - Type of blend if any used for the colors or texture. Default is 'BLEND'. == Xsd == <xs:sequence minOccurs="0"> <xs:choice maxOccurs="unbounded"> <xs:element name="BackgroundInsets" type="Inset"/> <xs:element name="TileSize" type="Value"/> <xs:element name="EdgeSize" type="Value"/> <xs:element name="Color" type="ColorType"/> <xs:element name="BorderColor" type="ColorType"/> </xs:choice> </xs:sequence> <xs:attribute name="bgFile" type="xs:string"/> <xs:attribute name="edgeFile" type="xs:string"/> <xs:attribute name="tile" type="xs:boolean" default="false"/> <xs:attribute name="alphaMode" type="ALPHAMODE" default="BLEND"/> == Summary == Path examples * bgFile: 'Interface/DialogFrame/UI-DialogBox-Background', 'Interface/Tooltips/UI-Tooltip-Background' * edgeFile: 'Interface/Tooltips/UI-Tooltip-Border', 'Interface/DialogFrame/UI-DialogBox-Border' === Example === <Frame name="MyFrame" parent="UIParent" toplevel="true" enableMouse="true" movable="true"> <Size x="200" y="200"/> <Anchors> <Anchor point="CENTER"/> </Anchors> <!-- Draw the main window --> <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> <EdgeSize val="16"/> <TileSize val="32"/> <BackgroundInsets left="5" right="5" top="5" bottom="5"/> </Backdrop> </Frame> [[File:Backdrop.jpg]] [[Category:Interface customization]]
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
)