/
global.lua
69 lines (59 loc) · 1.54 KB
/
global.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
-- oUF_SimpleConfig: global
-- zork, 2016
-----------------------------
-- Variables
-----------------------------
local A, L = ...
-----------------------------
-- Global Config
-----------------------------
--mediapath
L.C.mediapath = "interface\\addons\\"..A.."\\media\\"
L.C.globalscale = 0.85
--print("ouf_SimepleConfig:","UI scale",UIParent:GetScale(),"L.C.globalscale",L.C.globalscale)
--backdrop
L.C.backdrop = {
bgFile = L.C.mediapath.."backdrop",
bgColor = {0,0,0,0.8},
edgeFile = L.C.mediapath.."backdrop_edge",
edgeColor = {0,0,0,0.8},
tile = false,
tileSize = 0,
inset = 5,
edgeSize = 5,
insets = {
left = 5,
right = 5,
top = 5,
bottom = 5,
},
}
--textures
L.C.textures = {
statusbar = L.C.mediapath.."statusbar",
statusbarBG = L.C.mediapath.."statusbar",
absorb = L.C.mediapath.."absorb",
aura = L.C.mediapath.."square",
split = L.C.mediapath.."split",
}
--colors
L.C.colors = {}
--colors bgMultiplier
L.C.colors.bgMultiplier = 0.3
--colors castbar
L.C.colors.castbar = {
default = {1,0.7,0},
defaultBG = {1*L.C.colors.bgMultiplier,0.7*L.C.colors.bgMultiplier,0},
shielded = {0.7,0.7,0.7},
shieldedBG = {0.7*L.C.colors.bgMultiplier,0.7*L.C.colors.bgMultiplier,0.7*L.C.colors.bgMultiplier},
}
--colors healthbar
L.C.colors.healthbar = {
--default = {0,1,0},
--defaultBG = {0*L.C.colors.bgMultiplier,1*L.C.colors.bgMultiplier,0},
threat = {1,0,0},
threatBG = {1*L.C.colors.bgMultiplier,0,0},
threatInvers = {0,1,0},
threatInversBG = {0,1*L.C.colors.bgMultiplier,0},
absorb = {0.1,1,1,0.7}
}