From cbae1119d528e2ca6b8414e78c9a711a4e1a5650 Mon Sep 17 00:00:00 2001 From: Azilroka Date: Wed, 14 Aug 2024 16:21:52 -0500 Subject: [PATCH] RareScanner --- AddOnSkins/Skins/AddOns/RareScanner.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/AddOnSkins/Skins/AddOns/RareScanner.lua b/AddOnSkins/Skins/AddOns/RareScanner.lua index 1bc17ae9..46812f2a 100644 --- a/AddOnSkins/Skins/AddOns/RareScanner.lua +++ b/AddOnSkins/Skins/AddOns/RareScanner.lua @@ -1,18 +1,18 @@ local AS, L, S, R = unpack(AddOnSkins) function R:RareScanner() - S:HandleFrame(scanner_button, 'Default') - S:HandleCloseButton(scanner_button.CloseButton) - scanner_button.CloseButton:ClearAllPoints() - scanner_button.CloseButton:SetPoint("TOPRIGHT") - S:HandleButton(scanner_button.FilterEntityButton) - scanner_button.FilterEntityButton:SetNormalTexture([[Interface\WorldMap\Dash_64Grey]]) - scanner_button.FilterEntityButton:ClearAllPoints() - scanner_button.FilterEntityButton:SetPoint("TOPLEFT", 5, -5) - S:HandleButton(scanner_button.UnfilterEnabledButton) - scanner_button.FilterEnabledTexture:SetTexture([[Interface\WorldMap\Skull_64]]) - scanner_button.UnfilterEnabledButton:ClearAllPoints() - scanner_button.UnfilterEnabledButton:SetPoint("TOPLEFT", 5, -5) + S:HandleFrame(RARESCANNER_BUTTON, 'Default') + S:HandleButton(RARESCANNER_BUTTON.CloseButton) + RARESCANNER_BUTTON.CloseButton:ClearAllPoints() + RARESCANNER_BUTTON.CloseButton:SetPoint("TOPRIGHT", -5, -5) + S:HandleButton(RARESCANNER_BUTTON.FilterEntityButton) + RARESCANNER_BUTTON.FilterEntityButton:SetNormalTexture([[Interface\WorldMap\Dash_64Grey]]) + RARESCANNER_BUTTON.FilterEntityButton:ClearAllPoints() + RARESCANNER_BUTTON.FilterEntityButton:SetPoint("TOPLEFT", 5, -5) + S:HandleButton(RARESCANNER_BUTTON.UnfilterEnabledButton) + RARESCANNER_BUTTON.FilterEnabledTexture:SetTexture([[Interface\WorldMap\Skull_64]]) + RARESCANNER_BUTTON.UnfilterEnabledButton:ClearAllPoints() + RARESCANNER_BUTTON.UnfilterEnabledButton:SetPoint("TOPLEFT", 5, -5)``` end AS:RegisterSkin('RareScanner')