22-- Copyright (c) 2017-2024 Britt W. Yazel
33-- This code is licensed under the MIT license (see LICENSE for details)
44
5- local MASQUE , MSQ_VERSION = LibStub (" Masque" , true )
5+ local addon = ...
6+
7+ local MASQUE = LibStub (" Masque" , true )
68if not MASQUE then
79 return
810end
911
10- local AddOn = ...
12+ local API_VERSION = 110000
1113
1214-- Declare our theme
1315
1416--[[ Default ]]
1517MASQUE :AddSkin (" Neuron: Default" , {
16- API_VERSION = MSQ_VERSION or 110000 ,
18+ API_VERSION = API_VERSION ,
1719 Shape = " Square" ,
1820
1921 -- Info
20- Description = " The default Masque skin for the Neuron World of Warcraft add-on ." ,
22+ Description = " The default Masque skin originally created for Neuron action bars ." ,
2123 Author = " Soyier" ,
22- Version = C_AddOns .GetAddOnMetadata (AddOn , " Version" ),
24+ Version = C_AddOns .GetAddOnMetadata (addon , " Version" ),
2325 Websites = {
2426 " https://www.curseforge.com/wow/addons/masque-neuron" ,
2527 " https://github.com/brittyazel/Masque_Neuron" ,
2628 },
27-
28-
29+
2930 -- Skin
3031 Backdrop = {
32+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Backdrop]] ,
3133 Width = 42 ,
3234 Height = 42 ,
3335 Color = {0 , 0 , 0 , .6 },
@@ -38,9 +40,10 @@ MASQUE:AddSkin("Neuron: Default", {
3840 OffsetX = 0 ,
3941 OffsetY = 0 ,
4042 UseColor = true ,
41- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Backdrop]] ,
4243 },
44+
4345 Icon = {
46+ Texture = [[ Interface\Icons\INV_Misc_Bag_08]] ,
4447 Width = 29 ,
4548 Height = 29 ,
4649 TexCoords = {0.08 , 0.92 , 0.08 , 0.92 },
@@ -51,80 +54,132 @@ MASQUE:AddSkin("Neuron: Default", {
5154 OffsetX = 0 ,
5255 OffsetY = 0 ,
5356 },
54- Flash = {
57+
58+ SlotIcon = " Icon" ,
59+
60+ Normal = {
61+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Normal]] ,
62+ Width = 42 ,
63+ Height = 42 ,
64+ Color = {0.2 , 0.2 , 0.2 , 1 },
65+ },
66+
67+ Pushed = {
68+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Overlay]] ,
5569 Width = 42 ,
5670 Height = 42 ,
57- Texture = [[ Interface\Buttons\UI-QuickslotRed]] ,
58- TexCoords = {0.2 , 0.8 , 0.2 , 0.8 },
59- Color = {1 , 1 , 1 , 0.75 },
6071 BlendMode = " BLEND" ,
6172 DrawLayer = " ARTWORK" ,
62- DrawLevel = 1 ,
73+ DrawLevel = 0 ,
6374 Point = " CENTER" ,
6475 RelPoint = " CENTER" ,
6576 OffsetX = 0 ,
6677 OffsetY = 0 ,
78+ Color = {1 , 1 , 1 , .5 },
6779 },
68- Cooldown = {
69- Width = 28 ,
70- Height = 28 ,
71- Color = {0 , 0 , 0 , 0.6 },
80+
81+ Flash = {
82+ Texture = [[ Interface\Buttons\UI-QuickslotRed]] ,
83+ Width = 42 ,
84+ Height = 42 ,
85+ TexCoords = {0.2 , 0.8 , 0.2 , 0.8 },
86+ Color = {1 , 1 , 1 , 0.75 },
87+ BlendMode = " BLEND" ,
88+ DrawLayer = " ARTWORK" ,
89+ DrawLevel = 1 ,
7290 Point = " CENTER" ,
7391 RelPoint = " CENTER" ,
7492 OffsetX = 0 ,
7593 OffsetY = 0 ,
7694 },
77- Normal = {
95+
96+ HotKey = {
97+ JustifyH = " RIGHT" ,
98+ JustifyV = " MIDDLE" ,
99+ DrawLayer = " ARTWORK" ,
78100 Width = 42 ,
79- Height = 42 ,
80- Color = {0.2 , 0.2 , 0.2 , 1 },
81- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Normal]] ,
101+ Height = 10 ,
102+ Point = " TOPRIGHT" ,
103+ RelPoint = " TOPRIGHT" ,
104+ OffsetX = - 3 ,
105+ OffsetY = - 4 ,
82106 },
83- Pushed = {
107+
108+ Count = {
109+ JustifyH = " RIGHT" ,
110+ JustifyV = " MIDDLE" ,
111+ DrawLayer = " ARTWORK" ,
84112 Width = 42 ,
85- Height = 42 ,
86- BlendMode = " BLEND" ,
113+ Height = 10 ,
114+ Point = " BOTTOMRIGHT" ,
115+ RelPoint = " BOTTOMRIGHT" ,
116+ OffsetX = - 3 ,
117+ OffsetY = 4 ,
118+ },
119+
120+ Duration = {
121+ JustifyH = " CENTER" ,
122+ JustifyV = " MIDDLE" ,
87123 DrawLayer = " ARTWORK" ,
88- DrawLevel = 0 ,
89- Point = " CENTER" ,
90- RelPoint = " CENTER" ,
124+ Width = 42 ,
125+ Height = 10 ,
126+ Point = " TOP" ,
127+ RelPoint = " BOTTOM" ,
91128 OffsetX = 0 ,
92- OffsetY = 0 ,
93- Color = {1 , 1 , 1 , .5 },
94- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Overlay]] ,
129+ OffsetY = - 2 ,
95130 },
96- Border = {
131+
132+ Checked = {
133+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
97134 Width = 42 ,
98135 Height = 42 ,
99136 BlendMode = " ADD" ,
100137 DrawLayer = " OVERLAY" ,
101138 DrawLevel = 0 ,
139+ Color = {1 , 1 , 1 , 0.5 },
102140 Point = " CENTER" ,
103141 RelPoint = " CENTER" ,
104142 OffsetX = 0 ,
105143 OffsetY = 0 ,
106- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
107144 },
108- Disabled = {
145+
146+ SlotHighlight = " Checked" ,
147+
148+ Name = {
109149 Width = 42 ,
110- Height = 42 ,
111- BlendMode = " BLEND " ,
112- Color = { 1 , 0 , 0 , 1 } ,
113- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border ]] ,
150+ Height = 10 ,
151+ JustifyH = " CENTER " ,
152+ JustifyV = " BOTTOM " ,
153+ OffsetY = 3 ,
114154 },
115- Checked = {
155+
156+ Border = {
157+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
116158 Width = 42 ,
117159 Height = 42 ,
118160 BlendMode = " ADD" ,
119161 DrawLayer = " OVERLAY" ,
120162 DrawLevel = 0 ,
121- Color = {1 , 1 , 1 , 0.5 },
122163 Point = " CENTER" ,
123164 RelPoint = " CENTER" ,
124165 OffsetX = 0 ,
125166 OffsetY = 0 ,
126- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
127167 },
168+
169+ DebuffBorder = " Border" ,
170+
171+ EnchantBorder = " Border" ,
172+
173+ IconBorder = " Border" ,
174+
175+ Gloss = {
176+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Gloss]] ,
177+ Width = 42 ,
178+ Height = 42 ,
179+ BlendMode = " ADD" ,
180+ Color = {1 , 1 , 1 , .15 },
181+ },
182+
128183 AutoCastable = {
129184 Texture = [[ Interface\Buttons\UI-AutoCastableOverlay]] ,
130185 BlendMode = " BLEND" ,
@@ -137,14 +192,9 @@ MASQUE:AddSkin("Neuron: Default", {
137192 OffsetX = 0.5 ,
138193 OffsetY = - 0.5 ,
139194 },
140- Shine = {
141- Width = 32 ,
142- Height = 32 ,
143- OffsetX = 1 ,
144- OffsetY = - 1 ,
145- AboveNormal = true ,
146- },
195+
147196 Highlight = {
197+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Highlight]] ,
148198 Width = 37 ,
149199 Height = 37 ,
150200 BlendMode = " ADD" ,
@@ -154,53 +204,23 @@ MASQUE:AddSkin("Neuron: Default", {
154204 RelPoint = " CENTER" ,
155205 OffsetX = 0.5 ,
156206 OffsetY = - 0.5 ,
157- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Highlight]] ,
158- },
159- Gloss = {
160- Width = 42 ,
161- Height = 42 ,
162- BlendMode = " ADD" ,
163- Color = {1 , 1 , 1 , .15 },
164- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Gloss]] ,
165207 },
166- HotKey = {
167- JustifyH = " RIGHT" ,
168- JustifyV = " MIDDLE" ,
169- DrawLayer = " ARTWORK" ,
170- Width = 42 ,
171- Height = 10 ,
172- Point = " TOPRIGHT" ,
173- RelPoint = " TOPRIGHT" ,
174- OffsetX = - 3 ,
175- OffsetY = - 4 ,
176- },
177- Count = {
178- JustifyH = " RIGHT" ,
179- JustifyV = " MIDDLE" ,
180- DrawLayer = " ARTWORK" ,
181- Width = 42 ,
182- Height = 10 ,
183- Point = " BOTTOMRIGHT" ,
184- RelPoint = " BOTTOMRIGHT" ,
185- OffsetX = - 3 ,
186- OffsetY = 4 ,
187- },
188- Name = {
189- Width = 42 ,
190- Height = 10 ,
191- JustifyH = " CENTER" ,
192- JustifyV = " BOTTOM" ,
193- OffsetY = 3 ,
208+
209+ AutoCastShine = {
210+ Width = 32 ,
211+ Height = 32 ,
212+ OffsetX = 1 ,
213+ OffsetY = - 1 ,
214+ AboveNormal = true ,
194215 },
195- Duration = {
196- JustifyH = " CENTER" ,
197- JustifyV = " MIDDLE" ,
198- DrawLayer = " ARTWORK" ,
199- Width = 42 ,
200- Height = 10 ,
201- Point = " TOP" ,
202- RelPoint = " BOTTOM" ,
216+
217+ Cooldown = {
218+ Width = 28 ,
219+ Height = 28 ,
220+ Color = {0 , 0 , 0 , 0.6 },
221+ Point = " CENTER" ,
222+ RelPoint = " CENTER" ,
203223 OffsetX = 0 ,
204- OffsetY = - 2 ,
224+ OffsetY = 0 ,
205225 },
206226})
0 commit comments