Commit 5bc22026 authored by Azilroka's avatar Azilroka
Browse files

SimC

parent 77d65ba3
......@@ -3,9 +3,14 @@ local AS = unpack(AddOnSkins)
if not AS:CheckAddOn('Simulationcraft') then return end
function AS:Simulationcraft()
AS:SkinFrame(SimcFrame)
AS:SkinButton(SimcFrameButton)
AS:SkinScrollBar(SimcScrollFrameScrollBar)
local Simulationcraft = LibStub("AceAddon-3.0"):GetAddon("Simulationcraft")
hooksecurefunc(Simulationcraft, 'GetMainFrame', function()
if not SimcFrame.isSkinned then
AS:SkinFrame(SimcFrame)
AS:SkinButton(SimcFrameButton)
AS:SkinScrollBar(SimcScrollFrameScrollBar)
end
end)
end
AS:RegisterSkin('Simulationcraft', AS.Simulationcraft)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment