Skip to content

Commit

Permalink
- Move Dominos skin to external.
Browse files Browse the repository at this point in the history
  • Loading branch information
StormFX committed Nov 7, 2022
1 parent a8977a6 commit 0aa5ede
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 68 deletions.
5 changes: 4 additions & 1 deletion .pkgmeta
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Dominos_Config/libs/LibUIDropDownMenu: https://repos.wowace.com/wow/libuidropdownmenu/trunk/LibUIDropDownMenu
# Dominos Skin
Masque_Dominos: https://github.com/SFX-WoW/Masque_Dominos.git
67 changes: 0 additions & 67 deletions Dominos/plugins/buttonThemer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0aa5ede

Please sign in to comment.