diff --git a/CRAFT_SHOW.lua b/CRAFT_SHOW.lua deleted file mode 100755 index 71449b1..0000000 --- a/CRAFT_SHOW.lua +++ /dev/null @@ -1,52 +0,0 @@ -local addonName, addon = ... -local childName = addon['childName'] -local child = addon[childName] -local events, db = {} -local hookedCraft = {} -local craftTip = CreateFrame("GameTooltip", format("%sCraftReagentTip",childName), nil, "GameTooltipTemplate") -local function CraftReagent_OnLeave(self) - craftTip:Hide() -end -local function CraftReagent_OnEnter(self) - if(self.hasItem==1) then - local itemName = self['Name']:GetText() - if(itemName) then - local id = GetItemInfoInstant(itemName) - craftTip:Hide() - craftTip:ClearLines() - craftTip:SetOwner(self, "ANCHOR_TOPLEFT") - if(id) then - craftTip:SetItemByID(id) - child.GameTooltip_OnTooltipSetItem(craftTip) - else - craftTip:SetCraftItem(GetCraftSelectionIndex(), self:GetID()) - end - craftTip:Show() - CursorUpdate() - end - end -end -function events:CRAFT_SHOW() - if(not db['donthookCraftFrame']) then - for i = 1, MAX_CRAFT_REAGENTS do - local reag = format("CraftReagent%i", i) - if(not hookedCraft[reag]) then - _G[reag]:SetScript("OnEnter", CraftReagent_OnEnter) - _G[reag]:SetScript("OnLeave", CraftReagent_OnLeave) - hookedCraft[reag] = true - end - end - end -end -child:IgnoreRetail("CRAFT_SHOW") -child:AddEvent(events) -local init = { - Setup = function(self) - db = child['db'] - if(not db["CraftTipScale"]) then - db["CraftTipScale"] = 0.9 - end - craftTip:SetScale(db["CraftTipScale"]) - end -} -addon.RegisterCallback(init, format("Init%s", childName), 'Setup') \ No newline at end of file diff --git a/zz_itemsdb-Classic.toc b/zz_itemsdb-Classic.toc deleted file mode 100755 index f47554c..0000000 --- a/zz_itemsdb-Classic.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 11403 -## Title: itemsdb -## X-Curse-Project-ID: 290291 -## X-WoWI-ID: 24579 -## X-Repository: https://git.grml.de/rilgamon/zz_itemsdb.git -## OptionalDeps: zzLib, Ace3, BrokerPack -## SavedVariables: zz_itemsdbDB -Libs\embeds.xml -pack.xml \ No newline at end of file diff --git a/zz_itemsdb-Wrath.toc b/zz_itemsdb-Wrath.toc deleted file mode 100755 index 42cd6f5..0000000 --- a/zz_itemsdb-Wrath.toc +++ /dev/null @@ -1,9 +0,0 @@ -## Interface: 30400 -## Title: itemsdb -## X-Curse-Project-ID: 290291 -## X-WoWI-ID: 24579 -## X-Repository: https://git.grml.de/rilgamon/zz_itemsdb.git -## OptionalDeps: zzLib, Ace3, BrokerPack -## SavedVariables: zz_itemsdbDB -Libs\embeds.xml -pack.xml \ No newline at end of file