Download
(164Kb)
Download
Updated: 07-14-15 12:57 PM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Updated:07-14-15 12:57 PM
Created:03-06-13 03:35 PM
Downloads:7,315
Favorites:19
MD5:

nibMicroMenu  Popular! (More than 5000 hits)

Version: 0.9.3
by: Screamie [More]

nibMicroMenu is a text based Micro Menu.

based on nibMicroMenu 0.8.2 created by Nibelheim and a update from lemmi13 to nibMicroMenu v0.8.3 (MoP).

v0.9.3

  • .toc bump for Patch 6.2

v0.9.2
  • bumped toc to 60100 (Patch 6.1)
  • the "Companions" button is now the "Collections" button
  • added the last ACE3 libs
  • updated the locale files


v0.9.1
  • bumped toc to 60000 (Patch 6.0.2)
  • added latest ACE 3 libs
  • removed PvP button (all are now available in LFG/LFD Frame)
  • change the "QuestLogFrame:IsShown()" to "WorldMapFrame and WorldMapFrame:IsShown()" for the new QuestLog frame


v0.9.0
  • fixed an little LUA error with the missing Tooltip Text on the "Blizzard Store" Microbutton
    (added "ToggleStoreUI" as second parameter for MicroButtonTooltipText())

v0.8.9
  • fixed an issue with correct button width on fresh login (call Refresh() on PLAYER_LOGIN)


v0.8.8
  • bumped .toc to 50400

v0.8.7
  • bumped .toc to 50300

v0.8.6
  • use SetScript function for the PVP button instead of MMF.Buttons[8]:SetAttribute("macrotext", "/run TogglePVPUI()")

v0.8.5:
  • with the old LFDParentFrame:IsShown(), the LFD/LFG button highlight all the time after close the LFD/LFG Frame, so i use PVEFrame:IsShown()
Optional Files (0)


Post A Reply Comment Options
Unread 07-18-17, 04:16 PM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
If anyone wants an updated version, here is mine I use. It works with legion and 7.2.5

I have added in logout, reload, and exit as options as I feel they are useful

This is as-is. It works for me and I am not making changes to it so if you want to use it, have at it but it comes with NO support or requests

https://github.com/ceylina/nibMicroMenu
Report comment to moderator  
Reply With Quote
Unread 01-28-17, 10:35 AM  
Flarin
A Frostmaul Preserver
 
Flarin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 290
File comments: 212
Uploads: 1
Alternative to this?

Hi - looking for an alternative to this that works for Legion - anyone know of one?
__________________

"I will crush and destroy and...ooo...shiny..."

[SIGPIC][/SIGPIC]
Report comment to moderator  
Reply With Quote
Unread 01-23-17, 04:03 PM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
If anyone still uses this, the friends list changed so

find in Core.lua

Code:
MMF.Buttons[6]:SetAttribute("clickbutton", FriendsMicroButton)
and change it to

Code:
MMF.Buttons[6]:SetAttribute("clickbutton", QuickJoinToastButton)
Report comment to moderator  
Reply With Quote
Unread 02-08-16, 09:13 AM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
One more observation. There isn't any state configuration for hiding in pet battles, vehicle bars, or override bars.

I hacked in a RegisterStateDriver in the createframes function to hide in states I want hidden. It's not a configuration so maybe you would want to set a config option to choose whether or not to hide these states?

Code:
RegisterStateDriver(MMF, "visibility", "[bonusbar:5][overridebar][vehicleui][petbattle][combat] hide; show")
Dirty shortcut but it registers it securely and without a ton of code needed. Not great if you want to add fade animations but that's not really needed in hide states is it?

I included all the bars that change your actionbar as well. I know they aren't needed as you can still use the menu when possessed (bonusbar:5) or in a vehicle but there they are just in case.
Report comment to moderator  
Reply With Quote
Unread 02-04-16, 10:46 AM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
Found the issue and solution to sharedmedia fonts not spacing properly on login. It had to do with createfontstring. Spent way too long looking over everything. Funny thing is when I woke up this morning the first thing I wondered is how createfontstring is declared here and sure enough that was it.


Line 653

Code:
NewButton.text = NewButton:CreateFontString()
Declaring a template to inherit from fixed the issue . I used GameFontNormal as that seemed the most logical choice.


Change it to this and it works great:
Code:
NewButton.text = NewButton:CreateFontString(nil,"OVERLAY","GameFontNormal")

Edit: well almost got there. Had to go back a bit and find the code to set width and height and adjust it to work. Since is not a constant, it seems to tend to skew the width if it registers as less than the set font size. Starting at line 507, modifying the following and adding in a logic check to make sure it is never less than the font saved font size but adjusting if you say have a larger than the font size special character or more than one letter. Doing this has made it so when I log in for the first time, it properly sets the width and height


Doing this also removed the requirement to add in a static adjustment. I commented out the original code and left it here for reference.

Code:
		local NewWidth, NewHeight, NewXOfs, NewYOfs, txtWidth, txtHeight
		if MMF.Buttons[i].text:GetWidth() > db.font.size then 
			txtWidth = MMF.Buttons[i].text:GetWidth()
		else
			txtWidth = db.font.size
		end
		NewWidth = txtWidth + db.microadjustments.width + db.microadjustments.individual[i].width
	--	NewWidth = MMF.Buttons[i].text:GetWidth() + db.microadjustments.width + db.microadjustments.individual[i].width + 2.75
	--	NewHeight = MMF.Buttons[i].text:GetHeight() + db.microadjustments.height -- + 1
		if MMF.Buttons[i].text:GetHeight() > db.font.size then 
			txtHeight = MMF.Buttons[i].text:GetHeight()
		else
			txtHeight = db.font.size
		end
		NewHeight = txtHeight + db.microadjustments.height
Last edited by ceylina : 02-07-16 at 11:28 PM.
Report comment to moderator  
Reply With Quote
Unread 02-03-16, 08:09 PM  
ceylina
A Wyrmkin Dreamwalker

Forum posts: 50
File comments: 93
Uploads: 0
This is exactly what I was looking for. Thanks for maintaining it. I added in a logout, exit, and reload button if you are interested.

Basically they are all this code with logout(), quit(), or reloadui() as the calls. I added a yes/no prompt to prevent fat fingering and quitting the game at the wrong time

I also added in a toggle so if you click the button again, it closes the dialog. It also adds the bonus of if you click say logout then reload, it won't open multiple dialog popups (always like when you can save code like that).

I have put in code to skip the popup for logging out while pressing down a modifier key and clicking. I have left ALT but you can use any of the modify key functions found here

http://wow.gamepedia.com/API_IsModifierKeyDown

Code:
	StaticPopupDialogs["MM_LOGOUT_PROMPT"] = {
		text = "Sure you want to logout?",
		button1 = "Yes",
		button2 = "No",
		OnAccept = function()
			Logout()
		end,
		timeout = 0,
		whileDead = true,
		hideOnEscape = true,
		preferredIndex = STATICPOPUP_NUMDIALOGS,
	}
		
	MMF.Buttons[15]:SetScript("OnClick", function(self,button)
	local DiaName = _G['StaticPopup'..STATICPOPUP_NUMDIALOGS]
		if DiaName:IsShown() then
			StaticPopup_Hide("MM_LOGOUT_PROMPT")
		elseif IsLeftAltKeyDown() and button == "LeftButton" then
			Logout()
		else
			StaticPopup_Show("MM_LOGOUT_PROMPT")
		end
	end)

Here is the exit code:

Code:
	StaticPopupDialogs["MM_EXIT_PROMPT"] = {
		text = "Sure you want to Quit the Game?",
		button1 = "Yes",
		button2 = "No",
		OnAccept = function()
			Quit()
		end,
		timeout = 0,
		whileDead = true,
		hideOnEscape = true,
		preferredIndex = STATICPOPUP_NUMDIALOGS,
	}
	
	MMF.Buttons[14]:SetScript("OnClick", function(self)
	local DiaName = _G['StaticPopup'..STATICPOPUP_NUMDIALOGS]
		if DiaName:IsShown() then
			StaticPopup_Hide("MM_EXIT_PROMPT")
		else
			StaticPopup_Show("MM_EXIT_PROMPT")
		end
	end)


Added an onupdate for the reload option to disable the accept button in combat.

Code:
	StaticPopupDialogs["MM_RELOAD_PROMPT"] = {
		text = "Sure you want to Reload the UI?",
		button1 = "Yes",
		button2 = "No",
		OnAccept = function()
			ReloadUI()
		end,
		OnUpdate = function(self)
		local btnCombat = _G[self:GetName().."Button1"]
		if (UnitAffectingCombat("player")) then
			btnCombat:Disable()
		else
			btnCombat:Enable()
		end
		end,
		timeout = 0,
		whileDead = true,
		hideOnEscape = true,
		preferredIndex = STATICPOPUP_NUMDIALOGS,
	}

	MMF.Buttons[13]:SetScript("OnClick", function(self)
	local DiaName = _G['StaticPopup'..STATICPOPUP_NUMDIALOGS]
		if DiaName:IsShown() then
			StaticPopup_Hide("MM_RELOAD_PROMPT")
		else
			StaticPopup_Show("MM_RELOAD_PROMPT")
		end
	end)
Last edited by ceylina : 02-05-16 at 02:59 PM.
Report comment to moderator  
Reply With Quote
Unread 02-25-15, 05:34 PM  
Screamie
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 12
Uploads: 1
Originally Posted by Noix
has this addon been updated for WoD, seems like it keeps disappearing each time i log in i have to move it just to make it reapear again
Hi, sorry for my late answer. Please try the actual version for Patch 6.1.

Screamie
Report comment to moderator  
Reply With Quote
Unread 02-14-15, 10:40 PM  
Noix
A Fallenroot Satyr

Forum posts: 20
File comments: 10
Uploads: 0
has this addon been updated for WoD, seems like it keeps disappearing each time i log in i have to move it just to make it reapear again
Report comment to moderator  
Reply With Quote
Unread 01-19-14, 08:48 PM  
Prototype
A Kobold Labourer
 
Prototype's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 84
Uploads: 1
thanks!
Last edited by Prototype : 01-20-14 at 11:50 AM.
Report comment to moderator  
Reply With Quote
Unread 12-16-13, 03:20 PM  
Screamie
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 12
Uploads: 1
Re: Re: action bar

Originally Posted by jdblue82
Originally Posted by enzyn
off-topic

what is the name of the addon for your action bars? and how do you make it look so cool?
I assume you're speaking of the person who took the screenshot? They are using ouf_Karma or some variant of it. That's a good one and recently updated as well.
  • Unitbars are self modified oUF_Karma
  • Panels + Statuspanel are self programmed
  • Damage-Meter: Skada
  • Actionbars: Dominos with Masque
  • Minimap: PocketPlot
  • Debuffs and Buffs: Raven


Screamie
Report comment to moderator  
Reply With Quote
Unread 12-08-13, 02:37 AM  
jdblue82
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Re: action bar

Originally Posted by enzyn
off-topic

what is the name of the addon for your action bars? and how do you make it look so cool?
I assume you're speaking of the person who took the screenshot? They are using ouf_Karma or some variant of it. That's a good one and recently updated as well.
Report comment to moderator  
Reply With Quote
Unread 10-26-13, 12:21 PM  
enzyn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
action bar

off-topic

what is the name of the addon for your action bars? and how do you make it look so cool?
Report comment to moderator  
Reply With Quote
Unread 04-21-13, 03:31 AM  
lemmi13
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 8
Uploads: 1
Update

Originally Posted by Screamie
Originally Posted by Screamie
Originally Posted by Nerds
The PVP frame is coming up blank with this addon enabled.
thx, i will look whats wrong...
fixed now and i hope it works ;-)
Thanks for updating it - I have been travelling for the last couple of months. :-)
Report comment to moderator  
Reply With Quote
Unread 03-09-13, 06:53 AM  
Screamie
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 12
Uploads: 1
Originally Posted by Screamie
Originally Posted by Nerds
The PVP frame is coming up blank with this addon enabled.
thx, i will look whats wrong...
fixed now and i hope it works ;-)
Report comment to moderator  
Reply With Quote
Unread 03-08-13, 03:08 PM  
Screamie
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 12
Uploads: 1
Originally Posted by Nerds
The PVP frame is coming up blank with this addon enabled.
thx, i will look whats wrong...
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: