Quantcast

Removed caster name in tooltip

Repooc [03-25-13 - 02:28]
Removed caster name in tooltip
Filename
ElvUI_SLE/modules/load_modules.xml
ElvUI_SLE/modules/tooltip/load_tooltip.xml
ElvUI_SLE/modules/tooltip/options.lua
ElvUI_SLE/modules/tooltip/tooltip.lua
diff --git a/ElvUI_SLE/modules/load_modules.xml b/ElvUI_SLE/modules/load_modules.xml
index 4e0b990..af684c1 100755
--- a/ElvUI_SLE/modules/load_modules.xml
+++ b/ElvUI_SLE/modules/load_modules.xml
@@ -15,7 +15,6 @@
 	<Include file='marks\load_marks.xml'/>
 	<Include file='minimap\load_minimap.xml'/>
 	<Include file='raidutility\load_raidutility.xml'/>
-	<Include file='tooltip\load_tooltip.xml'/>
 	<Include file='uibuttons\load_uibuttons.xml'/>
 	<Include file='unitframes\load_unitframes.xml'/>
 </Ui>
\ No newline at end of file
diff --git a/ElvUI_SLE/modules/tooltip/load_tooltip.xml b/ElvUI_SLE/modules/tooltip/load_tooltip.xml
deleted file mode 100755
index 0973922..0000000
--- a/ElvUI_SLE/modules/tooltip/load_tooltip.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<Ui xmlns="http://www.blizzard.com/wow/ui/">
-	<Script file='tooltip.lua'/>
-	<Script file='options.lua'/>
-</Ui>
\ No newline at end of file
diff --git a/ElvUI_SLE/modules/tooltip/options.lua b/ElvUI_SLE/modules/tooltip/options.lua
deleted file mode 100755
index b80e4eb..0000000
--- a/ElvUI_SLE/modules/tooltip/options.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
-local function configTable()
-
-E.Options.args.sle.args.auras = {
-	type = "group",
-	name = L["Tooltip"],
-	order = 7,
-	guiInline = true,
-	args = {
-		info = {
-			order = 1,
-			type = "description",
-			name = L["Options for customizing auras near the minimap."],
-		},
-		enable = {
-			order = 2,
-			type = "toggle",
-			name = L["Caster Name"],
-			desc = L["Enabling this will show caster name in the buffs and debuff icons."],
-			get = function(info) return E.db.sle.castername end,
-			set = function(info, value) E.db.sle.castername = value; end,
-		},
-	},
-}
-end
-
-table.insert(E.SLEConfigs, configTable)
\ No newline at end of file
diff --git a/ElvUI_SLE/modules/tooltip/tooltip.lua b/ElvUI_SLE/modules/tooltip/tooltip.lua
deleted file mode 100755
index 338c894..0000000
--- a/ElvUI_SLE/modules/tooltip/tooltip.lua
+++ /dev/null
@@ -1,82 +0,0 @@
-local E, L, V, P, G, _ = unpack(ElvUI); --Inport: Engine, Locales, PrivateDB, ProfileDB, GlobalDB, Localize Underscore
-local TT = E:GetModule('Tooltip');
-
-TT.InitializeSLE = TT.Initialize
-function TT:Initialize()
-	TT:InitializeSLE(self)
-
-	hooksecurefunc(GameTooltip, "SetUnitBuff", function(self,...)
-		local srcUnit = select(8,UnitBuff(...))
-		if not srcUnit then return end
-		local src = GetUnitName(srcUnit, true)
-
-		if srcUnit == "pet" or srcUnit == "vehicle" then
-			src = format("%s (%s)", src, GetUnitName("player", true))
-		else
-			local partypet = srcUnit:match("^partypet(%d+)$")
-			local raidpet = srcUnit:match("^raidpet(%d+)$")
-
-			if partypet then
-				src = format("%s (%s)", src, GetUnitName("party"..partypet, true))
-			elseif raidpet then
-				src = format("%s (%s)", src, GetUnitName("raid"..raidpet, true))
-			end
-		end
-
-		if src and E.db.sle.castername then
-			self:AddLine("|cff1784d1"..src.."|r")
-			self:Show()
-			self.forceRefresh = true;
-		end
-	end)
-
-	hooksecurefunc(GameTooltip, "SetUnitDebuff", function(self,...)
-		local srcUnit = select(8,UnitDebuff(...))
-		if not srcUnit then return end
-		local src = GetUnitName(srcUnit, true)
-
-		if srcUnit == "pet" or srcUnit == "vehicle" then
-			src = format("%s (%s)", src, GetUnitName("player", true))
-		else
-			local partypet = srcUnit:match("^partypet(%d+)$")
-			local raidpet = srcUnit:match("^raidpet(%d+)$")
-
-			if partypet then
-				src = format("%s (%s)", src, GetUnitName("party"..partypet, true))
-			elseif raidpet then
-				src = format("%s (%s)", src, GetUnitName("raid"..raidpet, true))
-			end
-		end
-
-		if src and E.db.sle.castername then
-			self:AddLine("|cff1784d1"..src.."|r")
-			self:Show()
-			self.forceRefresh = true;
-		end
-	end)
-
-	hooksecurefunc(GameTooltip, "SetUnitAura", function(self,...)
-		local srcUnit = select(8,UnitAura(...))
-		if not srcUnit then return end
-		local src = GetUnitName(srcUnit, true)
-
-		if srcUnit == "pet" or srcUnit == "vehicle" then
-			src = format("%s (%s)", src, GetUnitName("player", true))
-		else
-			local partypet = srcUnit:match("^partypet(%d+)$")
-			local raidpet = srcUnit:match("^raidpet(%d+)$")
-
-			if partypet then
-				src = format("%s (%s)", src, GetUnitName("party"..partypet, true))
-			elseif raidpet then
-				src = format("%s (%s)", src, GetUnitName("raid"..raidpet, true))
-			end
-		end
-
-		if src and E.db.sle.castername then
-			self:AddLine("|cff1784d1"..src.."|r")
-			self:Show()
-			self.forceRefresh = true;
-		end
-	end)
-end
\ No newline at end of file