From 0aa5ede1516a14fbb912c41e6266f235f46e6360 Mon Sep 17 00:00:00 2001 From: StormFX Date: Mon, 7 Nov 2022 17:41:05 -0600 Subject: [PATCH] - Move Dominos skin to external. --- .pkgmeta | 5 ++- Dominos/plugins/buttonThemer.lua | 67 -------------------------------- 2 files changed, 4 insertions(+), 68 deletions(-) diff --git a/.pkgmeta b/.pkgmeta index f0f85ec5..c73a53d4 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -11,6 +11,7 @@ move-folders: Dominos/Dominos_Encounter: Dominos_Encounter Dominos/Dominos_Progress: Dominos_Progress Dominos/Dominos_Roll: Dominos_Roll + Dominos/Masque_Dominos: Masque_Dominos externals: # core dominos libraries @@ -31,4 +32,6 @@ externals: Dominos_Config/libs/AceConfig-3.0: https://repos.wowace.com/wow/ace3/trunk/AceConfig-3.0 Dominos_Config/libs/AceDBOptions-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDBOptions-3.0 Dominos_Config/libs/AceGUI-3.0: https://repos.wowace.com/wow/ace3/trunk/AceGUI-3.0 - Dominos_Config/libs/LibUIDropDownMenu: https://repos.wowace.com/wow/libuidropdownmenu/trunk/LibUIDropDownMenu \ No newline at end of file + Dominos_Config/libs/LibUIDropDownMenu: https://repos.wowace.com/wow/libuidropdownmenu/trunk/LibUIDropDownMenu + # Dominos Skin + Masque_Dominos: https://github.com/SFX-WoW/Masque_Dominos.git diff --git a/Dominos/plugins/buttonThemer.lua b/Dominos/plugins/buttonThemer.lua index 827f060f..a445d373 100644 --- a/Dominos/plugins/buttonThemer.lua +++ b/Dominos/plugins/buttonThemer.lua @@ -168,73 +168,6 @@ if Masque then end end else - -- Add the new default skin (thanks StormFX) - Masque:AddSkin( - AddonName, - { - -- Info - Description = ('The default skin for %s.'):format(AddonName), - Author = 'Tuller, StormFX', - -- Skin - Template = 'Default', - --Disable = true, -- Hides the skin in the GUI. - Icon = { - TexCoords = { 0.06, 0.94, 0.06, 0.94 }, - DrawLayer = 'BACKGROUND', - DrawLevel = 0, - Width = 36, - Height = 36, - Point = 'CENTER', - OffsetX = 0, - OffsetY = 0 - }, - Normal = { - Texture = [[Interface\Buttons\UI-Quickslot2]], - -- TexCoords = {0, 1, 0, 1}, - Color = { 1, 1, 1, 0.5 }, - -- EmptyTexture = [[Interface\Buttons\UI-Quickslot2]], - -- EmptyCoords = {0, 1, 0, 1}, - -- EmptyColor = {1, 1, 1, 0.5}, - BlendMode = 'BLEND', - DrawLayer = 'ARTWORK', - DrawLevel = 0, - Width = 66, - Height = 66, - Point = 'CENTER', - OffsetX = 0, - OffsetY = 0, - UseStates = true - }, - IconBorder = { - Texture = [[Interface\Common\WhiteIconFrame]], - RelicTexture = [[Interface\Artifacts\RelicIconFrame]], - -- TexCoords = {0, 1, 0, 1}, - -- Color = {1, 1, 1, 1}, - BlendMode = 'BLEND', - DrawLayer = 'OVERLAY', - DrawLevel = 0, - Width = 37, - Height = 37, - Point = 'CENTER', - OffsetX = 0, - OffsetY = 0 - }, - IconOverlay = { - Atlas = 'AzeriteIconFrame', - -- Color = {1, 1, 1, 1}, - BlendMode = 'BLEND', - DrawLayer = 'OVERLAY', - DrawLevel = 1, - Width = 37, - Height = 37, - Point = 'CENTER', - OffsetX = 0, - OffsetY = 0 - } - }, - true - ) - function ButtonThemer:Reskin() if not self.shouldReskin then return