Commit 86f057bd authored by Ivaria's avatar Ivaria
Browse files

Migrated backdrops to BackdropTemplate and BackdropTemplateMixin

parent eed4ebb0
......@@ -20,6 +20,7 @@
<Include file="LibCompress\lib.xml"/>
<Script file="LibBase64-1.0\LibBase64-1.0.lua" />
<Include file="LibCustomGlow-1.0\LibCustomGlow-1.0.xml" />
<Include file="NickTag-1.0\NickTag-1.0.xml" />
<!-- disable NickTag support till Tercioo releases an update for Shadowlands -->
<!-- <Include file="NickTag-1.0\NickTag-1.0.xml" /> -->
</Ui>
......@@ -101,7 +101,7 @@
</Scripts>
</Frame>
<Frame name="VuhDoTooltip" frameStrata="TOOLTIP" movable="true" parent="UIParent" hidden="true" inherits="BackdropTemplate">
<Frame name="VuhDoTooltip" frameStrata="TOOLTIP" movable="true" parent="UIParent" hidden="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_TOOLTIP" type="global" />
</KeyValues>
......
......@@ -14,7 +14,8 @@ VUHDO_LibCompressEncode = VUHDO_LibCompress:GetAddonEncodeTable();
VUHDO_LibBase64 = LibStub:GetLibrary("LibBase64-1.0");
VUHDO_LibCustomGlow = LibStub("LibCustomGlow-1.0");
VUHDO_LibNickTag = LibStub("NickTag-1.0");
-- disable NickTag support till Tercioo releases an update for Shadowlands
--VUHDO_LibNickTag = LibStub("NickTag-1.0");
VUHDO_LibSharedMedia:Register("font", "Arial Black", "Interface\\AddOns\\VuhDo\\Fonts\\ariblk.ttf");
VUHDO_LibSharedMedia:Register("font", "Emblem", "Interface\\AddOns\\VuhDo\\Fonts\\Emblem.ttf");
......
......@@ -1255,7 +1255,7 @@
<AbsDimension x="140" y="50" />
</Size>
<Frames>
<Slider name="$parentSlider" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="HORIZONTAL" inherits="BackdropTemplate">
<Slider name="$parentSlider" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="HORIZONTAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_H_SLIDER_8_8_1111" type="global" />
</KeyValues>
......@@ -1322,7 +1322,7 @@
<AbsDimension x="18" y="50" />
</Size>
<Frames>
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate">
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_H_SLIDER_8_8_1111" type="global" />
</KeyValues>
......@@ -1960,7 +1960,7 @@
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel">
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
......@@ -2099,7 +2099,7 @@
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel">
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
......@@ -2125,7 +2125,7 @@
</Scripts>
</Button>
<Frame name="VuhDoFrameTemplate" toplevel="true" movable="true" virtual="true" inherits="BackdropTemplate">
<Frame name="VuhDoFrameTemplate" toplevel="true" movable="true" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_FRAME_16_16_1111" type="global" />
</KeyValues>
......@@ -2137,7 +2137,7 @@
</KeyValues>
</Frame>
<Frame name="VuhDoWhitePanelTemplate" virtual="true" inherits="BackdropTemplate">
<Frame name="VuhDoWhitePanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_WHITE_PANEL_16_16_3333" type="global" />
</KeyValues>
......@@ -2197,7 +2197,7 @@
</Slider>
<ScrollFrame name="VuhDoScrollPanelTemplate" virtual="true" inherits="BackdropTemplate">
<ScrollFrame name="VuhDoScrollPanelTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_SCROLL_PANEL_16_16_0000" type="global" />
</KeyValues>
......@@ -2247,7 +2247,7 @@
</Scripts>
</ScrollFrame>
<ScrollFrame name="VuhDoScrollPanelTemplate2" virtual="true" inherits="BackdropTemplate">
<ScrollFrame name="VuhDoScrollPanelTemplate2" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_SCROLL_PANEL_2_16_16_0000" type="global" />
</KeyValues>
......@@ -2412,7 +2412,7 @@
</Anchor>
</Anchors>
<ScrollChild>
<Frame name="$parentSelectPanel">
<Frame name="$parentSelectPanel" mixin="BackdropTemplateMixin">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
......@@ -2439,7 +2439,7 @@
</Button>
<Frame name="VuhDoPanelAppendBottomTemplate" virtual="true" inherits="BackdropTemplate">
<Frame name="VuhDoPanelAppendBottomTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PANEL_APPEND_BOTTOM_16_16_1111" type="global" />
</KeyValues>
......
......@@ -229,7 +229,7 @@
</Anchor>
</Anchors>
<Frames>
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate">
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_COLOR_PICKER_SLIDER_8_8_1111" type="global" />
</KeyValues>
......
......@@ -295,7 +295,7 @@
</Anchors>
<Frames>
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate">
<Slider name="$parentSlider" setallpoints="true" enableMouse="true" minValue="0" maxValue="100" defaultValue="0" valueStep="1" orientation="VERTICAL" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_H_SLIDER_8_8_1111" type="global" />
</KeyValues>
......
......@@ -131,7 +131,7 @@
</Scripts>
</StatusBar>
<Frame name="VuhDoPlayerTargetFrameTemplate" virtual="true" inherits="BackdropTemplate">
<Frame name="VuhDoPlayerTargetFrameTemplate" virtual="true" inherits="BackdropTemplate" mixin="BackdropTemplateMixin">
<KeyValues>
<KeyValue key="backdropInfo" value="BACKDROP_VUHDO_PLAYER_TARGET_FRAME" type="global" />
<KeyValue key="backdropBorderColor" value="BACKDROP_BORDER_COLOR_VUHDO_PLAYER_TARGET_FRAME" type="global" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment