annotate Libs/DF/split_bar.xml @ 24:7a285d98b95f

- framework update.
author Tercio
date Mon, 14 Sep 2015 17:10:38 -0300
parents 2f09fe4be15c
children 0682d738499b
rev   line source
Tercio@11 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/ .. \FrameXML\UI.xsd">
Tercio@11 2
Tercio@11 3 <Script file="split_bar.lua"/>
Tercio@11 4
Tercio@11 5 <StatusBar name="DetailsFrameworkSplitBarTemplate" virtual="true">
Tercio@11 6 <Size x="300" y="14"/>
Tercio@11 7
Tercio@11 8 <Layers>
Tercio@11 9
Tercio@11 10 <Layer level="BACKGROUND">
Tercio@11 11 <!-- background texture -->
Tercio@11 12 <Texture name="$parent_StatusBarBackground" setAllPoints="true" parentKey="background" file = "Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" horizTile="false" vertTile="false">
Tercio@11 13 <Color a = "1" r = ".5" g = ".5" b = ".5" />
Tercio@11 14 </Texture>
Tercio@11 15 </Layer>
Tercio@11 16
Tercio@11 17 <Layer level="ARTWORK">
Tercio@11 18 <!-- statusbar texture -->
Tercio@11 19 <Texture name="$parent_StatusBarTexture" hidden="true" parentKey="texture" file = "Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" horizTile="false" vertTile="false">
Tercio@11 20 <Size x="300" y="14" />
Tercio@11 21 <Color a = "1" r = "1" g = "1" b = "1" />
Tercio@11 22 </Texture>
Tercio@11 23 </Layer>
Tercio@11 24
Tercio@11 25 <Layer level="OVERLAY">
Tercio@11 26 <!-- left icon -->
Tercio@11 27 <Texture name="$parent_IconLeft" parentKey="lefticon">
Tercio@11 28 <Size x="14" y="14" />
Tercio@11 29 <Anchors>
Tercio@11 30 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT" x="0" y="0"/>
Tercio@11 31 </Anchors>
Tercio@11 32 </Texture>
Tercio@11 33
Tercio@11 34 <!-- right icon -->
Tercio@11 35 <Texture name="$parent_IconRight" parentKey="righticon">
Tercio@11 36 <Size x="14" y="14" />
Tercio@11 37 <Anchors>
Tercio@11 38 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="RIGHT" x="0" y="0"/>
Tercio@11 39 </Anchors>
Tercio@11 40 </Texture>
Tercio@11 41
Tercio@11 42 <!-- left text -->
Tercio@11 43 <FontString name="$parent_TextLeft" parentKey="lefttext" inherits="GameFontHighlight" justifyH="LEFT" nonspacewrap="false">
Tercio@11 44 <FontHeight val="10.5"/>
Tercio@11 45 <Anchors>
Tercio@11 46 <Anchor point="LEFT" relativeTo="$parent_IconLeft" relativePoint="RIGHT" x="3" y="0"/>
Tercio@11 47 </Anchors>
Tercio@11 48 </FontString>
Tercio@11 49
Tercio@11 50 <!-- right text -->
Tercio@11 51 <FontString name="$parent_TextRight" parentKey="righttext" inherits="GameFontHighlight" justifyH="RIGHT" nonspacewrap="false">
Tercio@11 52 <FontHeight val="10.5"/>
Tercio@11 53 <Anchors>
Tercio@11 54 <Anchor point="RIGHT" relativeTo="$parent_IconRight" relativePoint="LEFT" x="-3" y="0"/>
Tercio@11 55 </Anchors>
Tercio@11 56 </FontString>
Tercio@11 57
Tercio@11 58 <!-- div spark -->
Tercio@11 59 <Texture name="$parent_Spark" parentKey="spark" file = "Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
Tercio@11 60 <Size>
Tercio@11 61 <AbsDimension x="32" y="32"/>
Tercio@11 62 </Size>
Tercio@11 63 <Anchors>
Tercio@11 64 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT" x="-17" y="-1"/>
Tercio@11 65 </Anchors>
Tercio@11 66 </Texture>
Tercio@11 67
Tercio@11 68 </Layer>
Tercio@11 69
Tercio@11 70 </Layers>
Tercio@11 71
Tercio@11 72 <Scripts>
Tercio@11 73 <OnLoad>
Tercio@11 74 self:SetStatusBarTexture (self.texture);
Tercio@11 75 self:SetMinMaxValues (1, 100);
Tercio@11 76 self:SetValue (50);
Tercio@11 77 DetailsFrameworkSplitlBar_OnCreate (self);
Tercio@11 78 </OnLoad>
Tercio@11 79 </Scripts>
Tercio@11 80
Tercio@11 81 </StatusBar>
Tercio@11 82 </Ui>