Advertisement
Guest User

emeral

a guest
Oct 25th, 2009
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.17 KB | None | 0 0
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
  2. ..\FrameXML\UI.xsd">
  3.     <Button name="BasicUnitFrames_ButtonTemplate" virtual="true">
  4.         <Size x="100" y="35"/>
  5.         <Layers>
  6.             <Layer level="ARTWORK">
  7.                 <FontString name="$parent_Name" setAllPoints="true" text="Unknown Entity" inherits="GameFontHighLight" />
  8.             </Layer>
  9.         </Layers>
  10.         <Frames>
  11.             <StatusBar name="$parent_HealthBar" minValue="0" maxValue="100" defaultValue="100" setAllPoints="true">
  12.                 <BarTexture file="Interface\TargetingFrame\UI-StatusBar" />
  13.                 <BarColor r="1.0" g="1.0" b="1.0" />
  14.                 <Scripts>
  15.                     <OnLoad>
  16.                         self:SetFrameLevel(self:GetFrameLevel() -1)
  17.                     </OnLoad>
  18.                 </Scripts>
  19.             </StatusBar>   
  20.         </Frames>
  21.         <Scripts>
  22.             <OnLoad>
  23.                 BasicUnitFrames_Button_OnLoad(self)
  24.             </OnLoad>
  25.             <OnShow>
  26.                 BasicUnitFrames_Button_OnShow(self)
  27.             </OnShow>
  28.             <OnEvent>
  29.                 BasicUnitFrames_Button_OnEvent(self, event, ...)
  30.             </OnEvent>
  31.             <OnDragStart>
  32.                 BasicUnitFrames_Button_OnDragStart(self, button)
  33.             </OnDragStart>
  34.             <OnDragStop>
  35.                 BasicUnitFrames_Button_OnDragStop(self, button)
  36.             </OnDragStop>
  37.             <OnHide>
  38.                 BasicUnitFrames_Button_OnDragStop(self, button)
  39.             </OnHide>
  40.         </Scripts>
  41.     </Button>
  42.     <Frame name="BasicUnitFrames_Header" parent="UIParent" inherits="SecureGroupHeaderTemplate" movable="true" hidden="false">
  43.         <Anchors>
  44.             <Anchor point="CENTER"/>
  45.         </Anchors>
  46.         <Attributes>
  47.             <Attribute name="showParty" type="boolean" value="true" />
  48.             <Attribute name="showRaid" type="boolean" value="true" />
  49.             <Attribute name="showPlayer" type="boolean" value="true" />
  50.             <Attribute name="showSolo" type="boolean" value="true" />
  51.             <Attribute name="maxColumns" type="number" value="8" />
  52.             <Attribute name="unitsPerColumn" type="number" value="5" />
  53.             <Attribute name="columnAncherPoint" type="string" value="LEFT" />
  54.             <Attribute name="point" type="string" value="TOP" />
  55.             <Attribute name="template" type="string" value="BasicUnitFrames_ButtonTemplate" />
  56.             <Attribute name="templateType" type="string" value="Button" />
  57.         </Attributes>
  58.     </Frame>
  59. </Ui>  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement