Advertisement
Guest User

DBM-Template Customized

a guest
Feb 9th, 2011
561
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.77 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.     <Frame name="DBTBarTemplate" virtual="true" frameStrata="MEDIUM" topLevel="true">
  4.         <Size>
  5.             <AbsDimension x="195" y="14"/>
  6.         </Size>
  7.         <Frames>
  8.             <StatusBar name="$parentBar">
  9.                 <Size>
  10.                     <AbsDimension x="195" y="6"/>
  11.                 </Size>
  12.                 <Anchors>
  13.                     <Anchor point="CENTER" relativePoint="CENTER">
  14.                         <Offset>
  15.                             <AbsDimension x="0" y="0"/>
  16.                         </Offset>
  17.                     </Anchor>
  18.                 </Anchors>
  19.                 <Layers>
  20.                     <Layer level="BACKGROUND">
  21.                         <Texture name="$parentBackground">
  22.                             <Color r="0" g="0" b="0" a="0.7"/>
  23.                         </Texture>
  24.                     </Layer>
  25.                     <Layer level="OVERLAY">
  26.                         <Texture name="$parentSpark" file="Interface\AddOns\DBM-Core\textures\Spark.blp" alphaMode="ADD">
  27.                             <Size>
  28.                                 <AbsDimension x="0" y="20"/>
  29.                             </Size>
  30.                             <Anchors>
  31.                                 <Anchor point="CENTER">
  32.                                     <Offset>
  33.                                         <AbsDimension x="0" y="0"/>
  34.                                     </Offset>
  35.                                 </Anchor>
  36.                             </Anchors>
  37.                         </Texture>
  38.                         <FontString name="$parentName" inherits="GameFontHighlightSmall" text="">
  39.                             <Anchors>
  40.                                 <Anchor point="LEFT" relativePoint="LEFT">
  41.                                     <Offset>
  42.                                         <AbsDimension x="0" y="12"/>
  43.                                     </Offset>
  44.                                 </Anchor>
  45.                             </Anchors>
  46.                         </FontString>
  47.                         <FontString name="$parentTimer" inherits="GameFontHighlightSmall" text="">
  48.                             <Anchors>
  49.                                 <Anchor point="RIGHT" relativePoint="RIGHT">
  50.                                     <Offset>
  51.                                         <AbsDimension x="1" y="12"/>
  52.                                     </Offset>
  53.                                 </Anchor>
  54.                             </Anchors>
  55.                         </FontString>
  56.                         <Texture name="$parentIcon1">
  57.                             <Size>
  58.                                 <AbsDimension x="20" y="20"/>
  59.                             </Size>
  60.                             <Anchors>
  61.                                 <Anchor point="RIGHT" relativePoint="LEFT">
  62.                                     <Offset>
  63.                                         <AbsDimension x="-5" y="5"/>
  64.                                     </Offset>
  65.                                 </Anchor>
  66.                             </Anchors>
  67.                         </Texture>
  68.                         <Texture name="$parentIcon2">
  69.                             <Size>
  70.                                 <AbsDimension x="20" y="20"/>
  71.                             </Size>
  72.                             <Anchors>
  73.                                 <Anchor point="LEFT" relativePoint="RIGHT">
  74.                                     <Offset>
  75.                                         <AbsDimension x="0" y="0"/>
  76.                                     </Offset>
  77.                                 </Anchor>
  78.                             </Anchors>
  79.                         </Texture>
  80.                     </Layer>
  81.                 </Layers>
  82.                 <BarTexture name="$parentTexture" file="Interface\AddOns\DBM-Core\textures\default.tga"/>
  83.                 <BarColor r="1.0" g="0.7" b="0.0"/>
  84.                 <Scripts>
  85.                     <OnLoad function="DBT_Bar_OnLoad"/>
  86.                 </Scripts>
  87.             </StatusBar>
  88.         </Frames>
  89.         <Scripts>
  90.             <OnUpdate function="DBT_Bar_OnUpdate"/>
  91.             <OnMouseDown function="DBT_Bar_OnMouseDown"/>
  92.             <OnMouseUp function="DBT_Bar_OnMouseUp"/>
  93.             <OnHide function="DBT_Bar_OnHide"/>
  94.         </Scripts>
  95.     </Frame>
  96. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement