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