-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathElvUI.lua
28 lines (25 loc) · 1.01 KB
/
ElvUI.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
local _G = _G
local unpack = unpack
if not AddOnSkins then return end
local AS = unpack(AddOnSkins)
if not AS:CheckAddOn("REFlex") then return end
function AS:REFlex()
AS:SkinFrame(REFlexFrame)
AS:SkinFrame(REFlex.TableBG.frame, nil, true)
AS:StripTextures(_G[REFlex.TableBG.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[REFlex.TableBG.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinFrame(REFlex.TableArena.frame, nil, true)
AS:StripTextures(_G[REFlex.TableArena.frame:GetName().."ScrollTrough"], true)
AS:SkinScrollBar(_G[REFlex.TableArena.frame:GetName().."ScrollFrameScrollBar"])
AS:SkinButton(REFlexFrame_DumpButton)
AS:SkinButton(REFlexFrame_StatsButton)
AS:SkinCloseButton(REFlexFrame_CloseButton)
AS:StripTextures(REFlexFrame_HKBar)
AS:SkinStatusBar(REFlexFrame_HKBar_I)
for i = 1, REFlexFrame.numTabs do
AS:SkinTab(_G["REFlexFrameTab"..i])
end
REFlexFrame_Title:SetPoint("TOP", 0, -10)
REFlexFrame_HKBar:SetPoint("BOTTOM", 0, 18)
end
AS:RegisterSkin("REFlex", AS.REFlex)