Details! Damage Meter

Details! Damage Meter

251M Downloads

Enhancement Request: Add to Blizzard "AddOns Button Drop Down"

JPEscher opened this issue ยท 4 comments

commented

I like to keep buttons off my minimap when possible to keep things cleaner. I noticed that there seems to be a new-with-DF blizzard "Add Ons" button that keeps count of how many interact there. I tried saving off my WTF & Interface to see if a specific add on was causing this, but any one of the ones there seems to cause it, not one specific one, so i suspect this is blizzard default. Would it be possible to get Details to be added there? i normally have at least one window up, but in the event you close them all if you have the minimap button off, this would allow an easy, fast way to get it back.

Example Image of where this is:
image
hope this liked. it's not urgent nor something that often needed, but would be nice as i accidentally closed my windows last night and initially forgot about /details show
(what can i say, sometimes im a ditz?)

and thank you for making this great addon!

commented

You are referring to the blizzard Addon Compartment. That's not a terrible idea, but it would require extra work to make sure Details gets added to it correctly. Atm, not on my roadmap, but I'm sure it's something we can do before 11.0

commented

TY. as i said, not urgent, but an appreciated item. TY for accepting, even to a backlog state :)

commented

noticed this, when bringing up with another add on i use. hope its helpful
https://warcraft.wiki.gg/wiki/Addon_compartment

commented

looked to see if i can help.
this one is... much more complex, but i think it'd be core/windows.lua

adding this at the end gets the debug to print and it to show there. but that minimap stuff is beyond my current lua. i probably could figure it out and help more, given i know powershell, perl, python, etc but i havent given it the time you guys have.

hope this helps.

AddonCompartmentFrame:RegisterAddon({
	text = "Details! Damage Meter",
	icon = "Interface/AddOns/Details/images/minimap.blp",
	notCheckable = true,
	func = function(button, menuInputData, menu)
		local buttonName = menuInputData.buttonName;  -- debugging check line
		print("Hello from the addon compartment! You clicked " .. buttonName .. "!")  -- debugging check line
		-- if buttonName == "LeftButton" then
			-- minimap: left
		-- elseif buttonName == "MiddleButton" then
			-- minimap: ctrl + left?
		-- elseif buttonName == "RightButton" then
			-- minimap: right?
		end
	end,
	funcOnEnter = function(button)
		MenuUtil.ShowTooltip(button, function(tooltip)
			tooltip:SetText("Details! Damage Meter")
		end)
	end,
	funcOnLeave = function(button)
		MenuUtil.HideTooltip(button)
	end,
})