Commit 716a5b98 authored by Alexey Milenin's avatar Alexey Milenin

Minimal RareScanner support

parent 653bdb86
......@@ -107,6 +107,7 @@
<Script file="QuestPointer.lua"/>
<Script file="QuikEmotes.lua"/>
<Script file="RaiderIO.lua"/>
<Script file="RareScanner.lua"/>
<Script file="Recount.lua"/>
<Script file="Scrap.lua"/>
<Script file="SearingPlasmaTracker.lua"/>
......
local AS = unpack(AddOnSkins)
if not AS:CheckAddOn('RareScanner') then return end
function AS:RareScanner()
AS:SkinFrame(scanner_button, 'Default')
AS:SkinCloseButton(scanner_button.CloseButton)
scanner_button.CloseButton:ClearAllPoints()
scanner_button.CloseButton:SetPoint("TOPRIGHT")
AS:SkinButton(scanner_button.FilterDisabledButton)
scanner_button.FilterDisabledButton:SetNormalTexture([[Interface\WorldMap\Dash_64Grey]])
scanner_button.FilterDisabledButton:ClearAllPoints()
scanner_button.FilterDisabledButton:SetPoint("TOPLEFT", 5, -5)
AS:SkinButton(scanner_button.FilterEnabledButton)
scanner_button.FilterEnabledTexture:SetTexture([[Interface\WorldMap\Skull_64]])
scanner_button.FilterEnabledButton:ClearAllPoints()
scanner_button.FilterEnabledButton:SetPoint("TOPLEFT", 5, -5)
end
AS:RegisterSkin('RareScanner', AS.RareScanner)
\ No newline at end of file
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