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