|
|
|
|
--[[
|
|
|
|
|
|
|
|
|
|
This file is part of 'Masque', an add-on for World of Warcraft. For bug reports,
|
|
|
|
|
suggestions and license information, please visit https://github.com/SFX-WoW/Masque.
|
|
|
|
|
|
|
|
|
|
* File...: Skins\Modern_Enhanced.lua
|
|
|
|
|
* Author.: StormFX, Blizzard Entertainment
|
|
|
|
|
|
|
|
|
|
"Modern Enhanced" Skin
|
|
|
|
|
|
|
|
|
|
]]
|
|
|
|
|
|
|
|
|
|
local _, Core = ...
|
|
|
|
|
|
|
|
|
|
if not Core.WOW_RETAIL then return end
|
|
|
|
|
|
|
|
|
|
----------------------------------------
|
|
|
|
|
-- Internal
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
-- @ Locales\enUS
|
|
|
|
|
local L = Core.Locale
|
|
|
|
|
|
|
|
|
|
-- @ Skins\Skins
|
|
|
|
|
local Hidden = Core.__Hidden
|
|
|
|
|
|
|
|
|
|
----------------------------------------
|
|
|
|
|
-- Modern Enhanced
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
Core.AddSkin("Modern Enhanced", {
|
|
|
|
|
-- API_VERSION = Template.API_VERSION,
|
|
|
|
|
-- Shape = Template.Shape,
|
|
|
|
|
Template = "Blizzard Modern",
|
|
|
|
|
|
|
|
|
|
-- Info
|
|
|
|
|
Authors = {"StormFX", "|cff0099ffBlizzard Entertainment|r"},
|
|
|
|
|
Description = L["An enhanced version of the Dragonflight button style."],
|
|
|
|
|
Discord = Core.Discord,
|
|
|
|
|
-- Version = Template.Version,
|
|
|
|
|
Websites = Core.Websites,
|
|
|
|
|
|
|
|
|
|
-- Skin
|
|
|
|
|
-- Mask = Template.Mask,
|
|
|
|
|
-- Backdrop = Template.Backdrop,
|
|
|
|
|
Icon = {
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
DrawLayer = "BACKGROUND",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
UseMask = true,
|
|
|
|
|
Aura = {
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
DrawLayer = "BACKGROUND",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "TOP",
|
|
|
|
|
RelPoint = "TOP",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
UseMask = true,
|
|
|
|
|
},
|
|
|
|
|
BagSlot = {
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
DrawLayer = "BACKGROUND",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
UseMask = true,
|
|
|
|
|
},
|
|
|
|
|
Item = {
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
DrawLayer = "BACKGROUND",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
-- SlotIcon = Template.SlotIcon,
|
|
|
|
|
-- Shadow = Template.Shadow,
|
|
|
|
|
Normal = {
|
|
|
|
|
Atlas = "UI-HUD-ActionBar-IconFrame",
|
|
|
|
|
-- EmptyAtlas = "UI-HUD-ActionBar-IconFrame",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
-- Color = {1, 1, 1, 0},
|
|
|
|
|
-- EmptyColor = {1, 1, 1, 0.5},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "ARTWORK",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 37,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 1,
|
|
|
|
|
OffsetY = -0.5,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
-- UseStates = true,
|
|
|
|
|
Backpack = {
|
|
|
|
|
Atlas = "bag-main",
|
|
|
|
|
-- EmptyAtlas = "bag-main",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
-- EmptyColor = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "ARTWORK",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
UseStates = true,
|
|
|
|
|
},
|
|
|
|
|
BagSlot = {
|
|
|
|
|
Atlas = "bag-border",
|
|
|
|
|
-- EmptyAtlas = "bag-border-empty",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
-- EmptyColor = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "ARTWORK",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
SetAllPoints = true,
|
|
|
|
|
UseStates = true,
|
|
|
|
|
},
|
|
|
|
|
Item = {
|
|
|
|
|
Texture = [[Interface\Buttons\UI-Quickslot2]],
|
|
|
|
|
-- EmptyTexture = "Interface\\Buttons\\UI-Quickslot2",
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
-- EmptyCoords = {0, 1, 0, 1},
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
-- EmptyColor = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "ARTWORK",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 62,
|
|
|
|
|
Height = 62,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0.5,
|
|
|
|
|
OffsetY = -0.5,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
UseStates = true,
|
|
|
|
|
},
|
|
|
|
|
ReagentBag = {
|
|
|
|
|
Atlas = "bag-reagent-border",
|
|
|
|
|
-- EmptyAtlas = "bag-reagent-border-empty",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
-- EmptyColor = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "ARTWORK",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
SetAllPoints = true,
|
|
|
|
|
UseStates = true,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
-- Disabled = Template.Disabled,
|
|
|
|
|
-- Pushed = Template.Pushed,
|
|
|
|
|
-- Flash = Template.Flash,
|
|
|
|
|
-- HotKey = Template.HotKey,
|
|
|
|
|
-- Count = Template.Count,
|
|
|
|
|
-- Duration = Template.Duration,
|
|
|
|
|
-- Checked = Template.Checked,
|
|
|
|
|
-- SlotHighlight = Template.SlotHighlight,
|
|
|
|
|
-- Name = Template.Name,
|
|
|
|
|
Border = {
|
|
|
|
|
Atlas = "UI-HUD-ActionBar-IconFrame-Border",
|
|
|
|
|
UseAtlasSize = false, -- true
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "OVERLAY",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 35,
|
|
|
|
|
Height = 34,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0.5,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
Debuff = {
|
|
|
|
|
Texture = [[Interface\Buttons\UI-Debuff-Overlays]],
|
|
|
|
|
TexCoords = {0.296875, 0.5703125, 0, 0.515625},
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "OVERLAY",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 33,
|
|
|
|
|
Height = 32,
|
|
|
|
|
Anchor = "Icon",
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = -0.5,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
},
|
|
|
|
|
Item = {
|
|
|
|
|
Texture = [[Interface\Common\WhiteIconFrame]],
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "OVERLAY",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
DebuffBorder = {
|
|
|
|
|
Texture = [[Interface\Buttons\UI-Debuff-Overlays]],
|
|
|
|
|
TexCoords = {0.296875, 0.5703125, 0, 0.515625},
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "OVERLAY",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 33,
|
|
|
|
|
Height = 32,
|
|
|
|
|
Anchor = "Icon",
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = -0.5,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
},
|
|
|
|
|
EnchantBorder = "Border",
|
|
|
|
|
-- IconBorder = Template.IconBorder,
|
|
|
|
|
Gloss = {
|
|
|
|
|
Texture = [[Interface\AddOns\Masque\Textures\Gloss\Action-Modern]],
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
Color = {1, 1, 1, 0.8},
|
|
|
|
|
BlendMode = "BLEND",
|
|
|
|
|
DrawLayer = "OVERLAY",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 52,
|
|
|
|
|
Height = 52,
|
|
|
|
|
--Anchor = "Icon",
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
Backpack = Hidden,
|
|
|
|
|
BagSlot = Hidden,
|
|
|
|
|
Item = Hidden,
|
|
|
|
|
},
|
|
|
|
|
-- NewAction = Template.NewAction,
|
|
|
|
|
-- SpellHighlight = Template.SpellHighlight,
|
|
|
|
|
-- AutoCastable = Template.AutoCastable,
|
|
|
|
|
-- IconOverlay = Template.IconOverlay,
|
|
|
|
|
-- UpgradeIcon = Template.UpgradeIcon,
|
|
|
|
|
-- IconOverlay2 = Template.IconOverlay2,
|
|
|
|
|
-- QuestBorder = Template.QuestBorder,
|
|
|
|
|
-- NewItem = Template.NewItem,
|
|
|
|
|
-- SearchOverlay = Template.SearchOverlay,
|
|
|
|
|
-- ContextOverlay = Template.ContextOverlay,
|
|
|
|
|
-- JunkIcon = Template.JunkIcon,
|
|
|
|
|
Highlight = {
|
|
|
|
|
Atlas = "UI-HUD-ActionBar-IconFrame-Mouseover",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "ADD",
|
|
|
|
|
DrawLayer = "HIGHLIGHT",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 35,
|
|
|
|
|
Height = 34,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0.5,
|
|
|
|
|
OffsetY = -0.5,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
-- UseColor = nil,
|
|
|
|
|
Backpack = {
|
|
|
|
|
Atlas = "bag-main-highlight",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
Color = {1, 1, 1, 0.4},
|
|
|
|
|
BlendMode = "ADD",
|
|
|
|
|
DrawLayer = "HIGHLIGHT",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
-- UseColor = nil,
|
|
|
|
|
},
|
|
|
|
|
BagSlot = {
|
|
|
|
|
Atlas = "bag-border-highlight",
|
|
|
|
|
UseAtlasSize = false,
|
|
|
|
|
Color = {1, 1, 1, 0.4},
|
|
|
|
|
BlendMode = "ADD",
|
|
|
|
|
DrawLayer = "HIGHLIGHT",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 36,
|
|
|
|
|
Height = 36,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
-- UseColor = nil,
|
|
|
|
|
},
|
|
|
|
|
Item = {
|
|
|
|
|
Texture = [[Interface\Buttons\ButtonHilight-Square]],
|
|
|
|
|
-- TexCoords = {0, 1, 0, 1},
|
|
|
|
|
-- Color = {1, 1, 1, 1},
|
|
|
|
|
BlendMode = "ADD",
|
|
|
|
|
DrawLayer = "HIGHLIGHT",
|
|
|
|
|
DrawLevel = 0,
|
|
|
|
|
Width = 37,
|
|
|
|
|
Height = 37,
|
|
|
|
|
Point = "CENTER",
|
|
|
|
|
RelPoint = "CENTER",
|
|
|
|
|
OffsetX = 0,
|
|
|
|
|
OffsetY = 0,
|
|
|
|
|
-- SetAllPoints = nil,
|
|
|
|
|
-- UseColor = nil,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
-- AutoCastShine = Template.AutoCastShine,
|
|
|
|
|
-- Cooldown = Template.Cooldown,
|
|
|
|
|
-- ChargeCooldown = Template.ChargeCooldown,
|
|
|
|
|
}, true)
|