11local MASQUE = LibStub (" Masque" , true )
22if not MASQUE then
3- return
3+ return
44end
55
66local AddOn , _ = ...
77local Version = GetAddOnMetadata (AddOn , " Version" )
88
9- --[[ CleanUI ]]
9+ --[[ Default ]]
1010
11- MASQUE :AddSkin (" Default" , {
12- Author = " Soyier" ,
13- Version = Version ,
14- Shape = " Square" ,
15- Masque_Version = 80200 ,
16-
17- -- Layer Settings
18- Backdrop = {
19- Width = 42 ,
20- Height = 42 ,
21- Color = {0.4 , 0.4 , 0.4 , 1 },
22- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Backdrop]] ,
23- },
24- Icon = {
25- Width = 28 ,
26- Height = 28 ,
27- TexCoords = {0.08 , 0.92 , 0.08 , 0.92 },
28- },
29- Flash = {
30- Width = 42 ,
31- Height = 42 ,
32- BlendMode = " ADD" ,
33- Color = {0.5 , 0 , 1 , 0.6 },
34- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Overlay]] ,
35- },
36- Cooldown = {
37- Width = 28 ,
38- Height = 28 ,
39- AboveNormal = true ,
40- },
41- Normal = {
42- Width = 42 ,
43- Height = 42 ,
44- Color = {0.3 , 0.3 , 0.3 , 1 },
45- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Normal]] ,
46- },
47- Pushed = {
48- Width = 42 ,
49- BlendMode = " ADD" ,
50- Color = {1 , 1 , 1 , 1 },
51- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Overlay]] ,
52- },
53- Border = {
54- Width = 42 ,
55- Height = 42 ,
56- BlendMode = " BLEND" ,
57- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
58- },
59- Disabled = {
60- Width = 42 ,
61- Height = 42 ,
62- BlendMode = " BLEND" ,
63- Color = {1 , 0 , 0 , 1 },
64- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
65- },
66- Checked = {
67- Width = 42 ,
68- Height = 42 ,
69- BlendMode = " BLEND" ,
70- Color = {0 , 0.12 , 1 , 1 },
71- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
72- },
73- AutoCastable = {
74- Width = 42 ,
75- Height = 42 ,
76- Texture = [[ Interface\Buttons\UI-AutoCastableOverlay]] ,
77- },
78- Shine = {
79- Width = 42 ,
80- Height = 42 ,
81- },
82- Highlight = {
83- Width = 42 ,
84- Height = 42 ,
85- BlendMode = " ADD" ,
86- Color = {0.5 , 0 , 1 , 1 },
87- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Highlight]] ,
88- },
89- Gloss = {
90- Width = 42 ,
91- Height = 42 ,
92- BlendMode = " ADD" ,
93- Color = {1 , 1 , 1 , 1 },
94- Texture = [[ Interface\AddOns\Masque_Neuron\Default\Gloss]] ,
95- },
96- HotKey = {
97- Width = 42 ,
98- Height = 10 ,
99- JustifyH = " RIGHT" ,
100- JustifyV = " TOP" ,
101- OffsetX = - 4 ,
102- OffsetY = - 4 ,
103- },
104- Count = {
105- Width = 42 ,
106- Height = 10 ,
107- JustifyH = " RIGHT" ,
108- JustifyV = " BOTTOM" ,
109- OffsetY = 2 ,
110- },
111- Name = {
112- Width = 42 ,
113- Height = 10 ,
114- JustifyH = " CENTER" ,
115- JustifyV = " BOTTOM" ,
116- OffsetY = 3 ,
117- },
118- Duration = {
119- Width = 42 ,
120- Height = 10 ,
121- OffsetY = - 2 ,
122- },
123- -- Skin data end.
11+ MASQUE :AddSkin (" Neuron: Default" , {
12+ Description = " The default Masque skin for the Neuron World of Warcraft add-on" ,
13+ Author = " Soyier" ,
14+ Version = Version ,
15+ Shape = " Square" ,
16+ Masque_Version = 80200 ,
12417
18+ -- Layer Settings
19+ Backdrop = {
20+ Width = 42 ,
21+ Height = 42 ,
22+ Color = {0 , 0 , 0 , .6 },
23+ DrawLayer = " BACKGROUND" ,
24+ DrawLevel = - 1 ,
25+ Point = " CENTER" ,
26+ RelPoint = " CENTER" ,
27+ OffsetX = 0 ,
28+ OffsetY = 0 ,
29+ UseColor = true ,
30+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Backdrop]] ,
31+ },
32+ Icon = {
33+ Width = 29 ,
34+ Height = 29 ,
35+ TexCoords = {0.08 , 0.92 , 0.08 , 0.92 },
36+ DrawLayer = " BACKGROUND" ,
37+ DrawLevel = 0 ,
38+ Point = " CENTER" ,
39+ RelPoint = " CENTER" ,
40+ OffsetX = 0 ,
41+ OffsetY = 0 ,
42+ },
43+ Flash = {
44+ Width = 42 ,
45+ Height = 42 ,
46+ Texture = [[ Interface\Buttons\UI-QuickslotRed]] ,
47+ TexCoords = {0.2 , 0.8 , 0.2 , 0.8 },
48+ Color = {1 , 1 , 1 , 0.75 },
49+ BlendMode = " BLEND" ,
50+ DrawLayer = " ARTWORK" ,
51+ DrawLevel = 1 ,
52+ Point = " CENTER" ,
53+ RelPoint = " CENTER" ,
54+ OffsetX = 0 ,
55+ OffsetY = 0 ,
56+ },
57+ Cooldown = {
58+ Width = 28 ,
59+ Height = 28 ,
60+ Color = {0 , 0 , 0 , 0.6 },
61+ Point = " CENTER" ,
62+ RelPoint = " CENTER" ,
63+ OffsetX = 0 ,
64+ OffsetY = 0 ,
65+ },
66+ Normal = {
67+ Width = 42 ,
68+ Height = 42 ,
69+ Color = {0.2 , 0.2 , 0.2 , 1 },
70+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Normal]] ,
71+ },
72+ Pushed = {
73+ Width = 42 ,
74+ Height = 42 ,
75+ BlendMode = " BLEND" ,
76+ DrawLayer = " ARTWORK" ,
77+ DrawLevel = 0 ,
78+ Point = " CENTER" ,
79+ RelPoint = " CENTER" ,
80+ OffsetX = 0 ,
81+ OffsetY = 0 ,
82+ Color = {1 , 1 , 1 , .5 },
83+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Overlay]] ,
84+ },
85+ Border = {
86+ Width = 42 ,
87+ Height = 42 ,
88+ BlendMode = " ADD" ,
89+ DrawLayer = " OVERLAY" ,
90+ DrawLevel = 0 ,
91+ Point = " CENTER" ,
92+ RelPoint = " CENTER" ,
93+ OffsetX = 0 ,
94+ OffsetY = 0 ,
95+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
96+ },
97+ Disabled = {
98+ Width = 42 ,
99+ Height = 42 ,
100+ BlendMode = " BLEND" ,
101+ Color = {1 , 0 , 0 , 1 },
102+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
103+ },
104+ Checked = {
105+ Width = 42 ,
106+ Height = 42 ,
107+ BlendMode = " ADD" ,
108+ DrawLayer = " OVERLAY" ,
109+ DrawLevel = 0 ,
110+ Color = {1 , 1 , 1 , 0.5 },
111+ Point = " CENTER" ,
112+ RelPoint = " CENTER" ,
113+ OffsetX = 0 ,
114+ OffsetY = 0 ,
115+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Border]] ,
116+ },
117+ AutoCastable = {
118+ Texture = [[ Interface\Buttons\UI-AutoCastableOverlay]] ,
119+ BlendMode = " BLEND" ,
120+ DrawLayer = " OVERLAY" ,
121+ DrawLevel = 1 ,
122+ Width = 42 ,
123+ Height = 42 ,
124+ Point = " CENTER" ,
125+ RelPoint = " CENTER" ,
126+ OffsetX = 0.5 ,
127+ OffsetY = - 0.5 ,
128+ },
129+ Shine = {
130+ Width = 32 ,
131+ Height = 32 ,
132+ OffsetX = 1 ,
133+ OffsetY = - 1 ,
134+ AboveNormal = true ,
135+ },
136+ Highlight = {
137+ Width = 37 ,
138+ Height = 37 ,
139+ BlendMode = " ADD" ,
140+ DrawLayer = " HIGHLIGHT" ,
141+ Color = {1 , 1 , 1 , 0.75 },
142+ Point = " CENTER" ,
143+ RelPoint = " CENTER" ,
144+ OffsetX = 0.5 ,
145+ OffsetY = - 0.5 ,
146+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Highlight]] ,
147+ },
148+ Gloss = {
149+ Width = 42 ,
150+ Height = 42 ,
151+ BlendMode = " ADD" ,
152+ Color = {1 , 1 , 1 , .15 },
153+ Texture = [[ Interface\AddOns\Masque_Neuron\Default\Gloss]] ,
154+ },
155+ HotKey = {
156+ JustifyH = " RIGHT" ,
157+ JustifyV = " MIDDLE" ,
158+ DrawLayer = " ARTWORK" ,
159+ Width = 42 ,
160+ Height = 10 ,
161+ Point = " TOPRIGHT" ,
162+ RelPoint = " TOPRIGHT" ,
163+ OffsetX = - 3 ,
164+ OffsetY = - 4 ,
165+ },
166+ Count = {
167+ JustifyH = " RIGHT" ,
168+ JustifyV = " MIDDLE" ,
169+ DrawLayer = " ARTWORK" ,
170+ Width = 42 ,
171+ Height = 10 ,
172+ Point = " BOTTOMRIGHT" ,
173+ RelPoint = " BOTTOMRIGHT" ,
174+ OffsetX = - 3 ,
175+ OffsetY = 4 ,
176+ },
177+ Name = {
178+ Width = 42 ,
179+ Height = 10 ,
180+ JustifyH = " CENTER" ,
181+ JustifyV = " BOTTOM" ,
182+ OffsetY = 3 ,
183+ },
184+ Duration = {
185+ JustifyH = " CENTER" ,
186+ JustifyV = " MIDDLE" ,
187+ DrawLayer = " ARTWORK" ,
188+ Width = 42 ,
189+ Height = 10 ,
190+ Point = " TOP" ,
191+ RelPoint = " BOTTOM" ,
192+ OffsetX = 0 ,
193+ OffsetY = - 2 ,
194+ },
125195}, true )
0 commit comments