annotate Libs/DF/normal_bar.xml @ 11:2f09fe4be15c

Added an Options Panel.
author Tercio
date Mon, 20 Apr 2015 16:34:18 -0300
parents
children 7a285d98b95f
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 <Script file="normal_bar.lua"/>
Tercio@11 3
Tercio@11 4 <StatusBar name="DetailsFrameworkNormalBarTemplate" virtual="true">
Tercio@11 5 <Size x="300" y="14"/>
Tercio@11 6
Tercio@11 7 <Layers>
Tercio@11 8
Tercio@11 9 <Layer level="BACKGROUND">
Tercio@11 10 <!-- background texture -->
Tercio@11 11 <Texture name="$parent_background" hidden="false" setAllPoints="true" parentKey="background" file = "Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" horizTile="false" vertTile="false">
Tercio@11 12 <Size x="300" y="14" />
Tercio@11 13 <Color a = "0.3" r = "0.3" g = "0.3" b = "0.3" />
Tercio@11 14 </Texture>
Tercio@11 15 </Layer>
Tercio@11 16
Tercio@11 17 <Layer level="ARTWORK">
Tercio@11 18 <!-- timer texture -->
Tercio@11 19 <Texture name="$parent_timerTexture" hidden="true" parentKey="timertexture" 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 <Anchors>
Tercio@11 23 <Anchor point="LEFT" relativeTo="$parent" />
Tercio@11 24 </Anchors>
Tercio@11 25 </Texture>
Tercio@11 26
Tercio@11 27 <!-- statusbar texture -->
Tercio@11 28 <Texture name="$parent_statusbarTexture" hidden="false" parentKey="texture" file = "Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" horizTile="false" vertTile="false">
Tercio@11 29 <Size x="300" y="14" />
Tercio@11 30 <Color a = "1" r = "1" g = "1" b = "1" />
Tercio@11 31 </Texture>
Tercio@11 32 </Layer>
Tercio@11 33
Tercio@11 34 <Layer level="OVERLAY">
Tercio@11 35 <!-- icon texture -->
Tercio@11 36 <Texture name="$parent_icon" parentKey="icontexture">
Tercio@11 37 <Size x="14" y="14" />
Tercio@11 38 <Anchors>
Tercio@11 39 <Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT" x="0" y="0"/>
Tercio@11 40 </Anchors>
Tercio@11 41 </Texture>
Tercio@11 42
Tercio@11 43 <!-- spark mouse over -->
Tercio@11 44 <Texture name="$parent_sparkMouseover" hidden="true" parentKey="sparkmouseover" file = "Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
Tercio@11 45 <Size>
Tercio@11 46 <AbsDimension x="32" y="32"/>
Tercio@11 47 </Size>
Tercio@11 48 <Anchors>
Tercio@11 49 <Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT" x="-16" y="-1"/>
Tercio@11 50 </Anchors>
Tercio@11 51 </Texture>
Tercio@11 52
Tercio@11 53 <!-- timer spark -->
Tercio@11 54 <Texture name="$parent_sparkTimer" hidden="true" parentKey="sparktimer" file = "Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
Tercio@11 55 <Size>
Tercio@11 56 <AbsDimension x="32" y="32"/>
Tercio@11 57 </Size>
Tercio@11 58 <Anchors>
Tercio@11 59 <Anchor point="LEFT" relativeTo="$parent_timerTexture" relativePoint="RIGHT" x="-16" y="-1"/>
Tercio@11 60 </Anchors>
Tercio@11 61 </Texture>
Tercio@11 62
Tercio@11 63 <!-- left text -->
Tercio@11 64 <FontString name="$parent_TextLeft" parentKey="lefttext" inherits="GameFontHighlight" justifyH="LEFT" nonspacewrap="false">
Tercio@11 65 <FontHeight val="10.5"/>
Tercio@11 66 <Anchors>
Tercio@11 67 <Anchor point="LEFT" relativeTo="$parent_icon" relativePoint="RIGHT" x="3" y="0"/>
Tercio@11 68 </Anchors>
Tercio@11 69 </FontString>
Tercio@11 70
Tercio@11 71 <!-- right text -->
Tercio@11 72 <FontString name="$parent_TextRight" parentKey="righttext" inherits="GameFontHighlight" justifyH="RIGHT" nonspacewrap="false">
Tercio@11 73 <FontHeight val="10.5"/>
Tercio@11 74 <Anchors>
Tercio@11 75 <Anchor point="RIGHT" relativeTo="$parent" relativePoint="RIGHT" x="-3" y="0"/>
Tercio@11 76 </Anchors>
Tercio@11 77 </FontString>
Tercio@11 78
Tercio@11 79 </Layer>
Tercio@11 80
Tercio@11 81 </Layers>
Tercio@11 82
Tercio@11 83 <Scripts>
Tercio@11 84 <OnLoad>
Tercio@11 85 self:SetStatusBarTexture (self.texture);
Tercio@11 86 DetailsFrameworkNormalBar_OnCreate (self);
Tercio@11 87 </OnLoad>
Tercio@11 88 </Scripts>
Tercio@11 89 </StatusBar>
Tercio@11 90 </Ui>