Skip to content

Commit

Permalink
- Add "Modern" style spell alerts. (Closes #386)
Browse files Browse the repository at this point in the history
  • Loading branch information
StormFX committed Jul 24, 2024
1 parent 19e1703 commit dc66ebb
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 2 deletions.
28 changes: 28 additions & 0 deletions Core/Regions/SpellAlert.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,33 @@ local FlipBooks = {
FrameWidth = DEFAULT_SIZE,
},
},
["Modern"] = {
["Circle"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Circle\SpellAlert-Loop-Modern]],
FrameHeight = 84,
FrameWidth = 84,
},
["Hexagon"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Hexagon\SpellAlert-Loop-Modern]],
FrameHeight = 84,
FrameWidth = 84,
},
["Hexagon-Rotated"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Hexagon-Rotated\SpellAlert-Loop-Modern]],
FrameHeight = 84,
FrameWidth = 84,
},
["Modern"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Modern\SpellAlert-Loop-Modern]],
FrameHeight = 84,
FrameWidth = 84,
},
["Square"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Square\SpellAlert-Loop-Modern]],
FrameHeight = 84,
FrameWidth = 84,
},
},
["Thin"] = {
["Circle"] = {
LoopTexture = [[Interface\AddOns\Masque\Textures\Circle\SpellAlert-Loop]],
Expand Down Expand Up @@ -116,6 +143,7 @@ local FlipBooks = {
local FlipBook_List = {
[0] = "None",
["Classic"] = "Classic",
["Modern"] = "Modern",
["Thin"] = "Thin",
}

Expand Down
4 changes: 4 additions & 0 deletions Skins/Classic_Enhanced.lua
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ Core.AddSkin("Classic Enhanced", {
Height = 32,
Width = 32,
},
Modern = {
Height = 32,
Width = 32,
},
Thin = {
Height = 30,
Width = 30,
Expand Down
8 changes: 6 additions & 2 deletions Skins/Dream.lua
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,12 @@ Core.AddSkin("Dream", {
Width = 34,
Height = 34,
Classic = {
Height = 28,
Width = 28,
Height = 30,
Width = 30,
},
Modern = {
Height = 29,
Width = 29,
},
Thin = {
Height = 26,
Expand Down
4 changes: 4 additions & 0 deletions Skins/Modern_Enhanced.lua
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ Core.AddSkin("Modern Enhanced", {
Height = 30,
Width = 30,
},
Modern = {
Height = 32,
Width = 32,
},
Thin = {
Height = 29,
Width = 29,
Expand Down
4 changes: 4 additions & 0 deletions Skins/Zoomed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,10 @@ Core.AddSkin("Zoomed", {
Height = 34,
Width = 34,
},
Modern = {
Height = 34,
Width = 34,
},
Thin = {
Height = 30,
Width = 30,
Expand Down
Binary file added Textures/Circle/SpellAlert-Loop-Modern.tga
Binary file not shown.
Binary file not shown.
Binary file added Textures/Hexagon/SpellAlert-Loop-Modern.tga
Binary file not shown.
Binary file added Textures/Modern/SpellAlert-Loop-Modern.tga
Binary file not shown.
Binary file added Textures/Square/SpellAlert-Loop-Modern.tga
Binary file not shown.

0 comments on commit dc66ebb

Please sign in to comment.