You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
284 lines
7.8 KiB
284 lines
7.8 KiB
|
2 years ago
|
<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">
|
||
|
|
|
||
|
|
<Script file="VuhDoBuffWatch.lua" />
|
||
|
|
<Script file="VuhDoBuffWatchBuilder.lua" />
|
||
|
|
|
||
|
|
<Frame name="VuhDoBuffSelectDropdown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true">
|
||
|
|
<Scripts>
|
||
|
|
<OnLoad>
|
||
|
|
VUHDO_buffSelectDropdownOnLoad();
|
||
|
|
</OnLoad>
|
||
|
|
</Scripts>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Button name="VuhDoSmartCastGlassButton" inherits="SecureUnitButtonTemplate">
|
||
|
|
<Scripts>
|
||
|
|
<OnLoad>self:RegisterForClicks("LeftButtonDown", "MiddleButtonDown", "RightButtonDown", "Button4Down", "Button5Down");
|
||
|
|
self:SetScript("PreClick", VUHDO_execSmartBuffPre);
|
||
|
|
self:SetScript("PostClick", VUHDO_execSmartBuffPost);
|
||
|
|
</OnLoad>
|
||
|
|
</Scripts>
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Frame name="VuhDoBuffSwatchPanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
|
||
|
|
<KeyValues>
|
||
|
|
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_BUFF_SWATCH_PANEL_8_8_0000" type="global" />
|
||
|
|
<KeyValue key="backdropColor" value="BACKDROP_COLOR_VUHDO_BUFF_SWATCH_PANEL" type="global" />
|
||
|
|
</KeyValues>
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="75" y="24" />
|
||
|
|
</Size>
|
||
|
|
<Frames>
|
||
|
|
|
||
|
|
<Button name="$parentGlassButton" setAllPoints="true" inherits="SecureUnitButtonTemplate,SecureHandlerEnterLeaveTemplate,SecureHandlerShowHideTemplate">
|
||
|
|
<Scripts>
|
||
|
|
<OnLoad>
|
||
|
|
self:RegisterForClicks("AnyDown");
|
||
|
|
self:SetScript("PreClick", VuhDoBuffPreClick);
|
||
|
|
self:SetScript("PostClick", VuhDoBuffPostClick)
|
||
|
|
</OnLoad>
|
||
|
|
</Scripts>
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Frame name="$parentGroupLabel" inherits="VuhDoLabelFrameTemplate">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="50" y="16" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="3" y="1" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" inherits="SystemFont_Tiny" text="">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="8" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.898" b="0.4" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Frame name="$parentMessageLabel" inherits="VuhDoLabelFrameTemplate">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="28" y="15" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="43" y="0" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" inherits="SystemFont_Tiny" text="" justifyH="RIGHT">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="8" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.7" b="0.2" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Frame name="$parentTimerLabel" inherits="VuhDoLabelFrameTemplate">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="50" y="10" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="3" y="-12" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" inherits="SystemFont_Tiny" text="">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="8" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.7" b="0.2" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Frame name="$parentCounterLabel" inherits="VuhDoLabelFrameTemplate">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="28" y="10" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="43" y="-12" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" inherits="SystemFont_Tiny" text="" justifyH="RIGHT">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="8" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.7" b="0.2" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
</Frames>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Frame name="VuhDoBuffWatchBuffTemplate" virtual="true">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="30" y="30" />
|
||
|
|
</Size>
|
||
|
|
<Frames>
|
||
|
|
<Frame name="$parentBuffNameLabel" inherits="VuhDoLabelFrameTemplate" >
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="120" y="24" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="30" y="-3" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" font="SystemFont_Tiny" text="" justifyH="LEFT">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="9" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.82" b="0" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
<Button name="$parentIconTexture">
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="24" y="24" />
|
||
|
|
</Size>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<Texture name="$parentTexture" setAllPoints="true">
|
||
|
|
<TexCoords left="0" right="1" top="0" bottom="1" />
|
||
|
|
</Texture>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
<Scripts>
|
||
|
|
<OnMouseDown>VUHDO_buffWatchOnMouseDown(self:GetParent():GetParent())</OnMouseDown>
|
||
|
|
<OnMouseUp>VUHDO_buffWatchOnMouseUp(self:GetParent():GetParent())</OnMouseUp>
|
||
|
|
</Scripts>
|
||
|
|
</Button>
|
||
|
|
</Frames>
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
<Frame name="VuhDoBuffWatchMainFrameTemplate" virtual="true" toplevel="true" frameStrata="MEDIUM"
|
||
|
|
movable="true" parent="UIParent" enableMouse="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
|
||
|
|
<KeyValues>
|
||
|
|
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_BUFF_WATCH_MAIN_FRAME_16_16_5555" type="global" />
|
||
|
|
</KeyValues>
|
||
|
|
<Frames>
|
||
|
|
<Frame name="$parentInfoLabel" hidden="true" inherits="VuhDoLabelFrameTemplate" >
|
||
|
|
<Size>
|
||
|
|
<AbsDimension x="120" y="24" />
|
||
|
|
</Size>
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="CENTER">
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="0" y="0" />
|
||
|
|
</Offset>
|
||
|
|
</Anchor>
|
||
|
|
</Anchors>
|
||
|
|
<Layers>
|
||
|
|
<Layer>
|
||
|
|
<FontString name="$parentLabel" font="SystemFont_Tiny" text="VuhDo - BuffWatch" justifyH="LEFT">
|
||
|
|
<Anchors>
|
||
|
|
<Anchor point="TOPLEFT" />
|
||
|
|
<Anchor point="BOTTOMRIGHT" />
|
||
|
|
</Anchors>
|
||
|
|
<FontHeight>
|
||
|
|
<AbsValue val="9" />
|
||
|
|
</FontHeight>
|
||
|
|
<Color r="1" g="0.82" b="0" />
|
||
|
|
<Shadow>
|
||
|
|
<Color r="0" g="0" b="0" />
|
||
|
|
<Offset>
|
||
|
|
<AbsDimension x="1" y="-1" />
|
||
|
|
</Offset>
|
||
|
|
</Shadow>
|
||
|
|
</FontString>
|
||
|
|
</Layer>
|
||
|
|
</Layers>
|
||
|
|
</Frame>
|
||
|
|
</Frames>
|
||
|
|
|
||
|
|
<Scripts>
|
||
|
|
<OnMouseDown>VUHDO_buffWatchOnMouseDown(self)</OnMouseDown>
|
||
|
|
<OnMouseUp>VUHDO_buffWatchOnMouseUp(self)</OnMouseUp>
|
||
|
|
</Scripts>
|
||
|
|
|
||
|
|
</Frame>
|
||
|
|
|
||
|
|
</Ui>
|
||
|
|
|