WoW:XML/Backdrop: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
Line 6: Line 6:


Attributes: bgFile, edgeFile, tile
Attributes: bgFile, edgeFile, tile
== Example ==
<Frame name="autoInviteMainConfigFrame" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
<Size>
<RelDimension x="0.3" y="0.3"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<!-- Draw the main window -->
  <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
  </Backdrop>
</Frame>
[[Image:Backdrop.jpg]]

Revision as of 15:28, 9 November 2005

Backdrop

Derived from: ?

Elements: EdgeSize, TileSize, BackgroundInsets

Attributes: bgFile, edgeFile, tile

Example

<Frame name="autoInviteMainConfigFrame" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
	<Size>
		<RelDimension x="0.3" y="0.3"/>
	</Size>
	<Anchors>
		<Anchor point="CENTER"/>
	</Anchors>
  <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
	<EdgeSize>
		<AbsValue val="16"/>
	</EdgeSize>
	<TileSize>
		<AbsValue val="32"/>
	</TileSize>
	<BackgroundInsets>
		<AbsInset left="5" right="5" top="5" bottom="5"/>
	</BackgroundInsets>
  </Backdrop>
</Frame>

Backdrop.jpg