Download
(121Kb)
Download
Updated: 05-01-11 12:10 PM
Pictures
File Info
Updated:05-01-11 12:10 PM
Created:07-16-10 06:23 PM
Downloads:14,155
Favorites:73
MD5:

mMenu (Addon Toggle Menu)  Popular! (More than 5000 hits)

Version: 1.32
by: magges [More]


1. Pic: Thats how it looks like. Below with mouseover;
2. Pic: The open Menu with the "!" Button for UI Reload since 1.27
3. Pic: (Since 1.09) "W"IM Button Rightclick + changed config (menu direction)
4. Pic: classcolor = true + other changes. since 1.10
5. Pic: Tukui Datatext ["mmenu"] = x (v1.18+)


Hey Guys,

so here you can see the first Addon ive ever made - hopefully successful!

(Btw: Take a look at Duffed UI - good friend of mine made it!)

What is mMenu?
Its a tiny Addon-Toggle Menu. So you got a list of your addons and can toggle them yeah
The m stands for "magges" or "minimalistic" ...oh or just "menu"? Ur decision
(btw the filesize is just so huge cause I include a font.ttf + a texture. Ingame usage is ~40kb or less)

Click on "m" (menu?) -> open the Addon Menu
Click on "C" (close) -> Close all Addons (config.lua)
Click on "O" (open) -> Open all Addons (config.lua)
(Click on "W" (WIM) -> Toggle WIM Addon

Which Addons are supported?
- Grid & Grid2
- HealBot
- Omen
- Recount
- TinyDPS
- Skada
- AtladLoot
- WIM
- Numeration
- Tukui Config UI & ElvUI Config
- Tukui MarkBar
- DBM
- VuhDo
- Cascade
- Arh
- PhoenixStyle
- Altoholic
(- Tukui color & shadow support)

Games:
- Tetris
- Bejeweled

I dont rly use a lot of addons so ive no idea where it makes sense do add it here - but if u leave me a comment i will give it a try.

Configuration?

Config.lua

Code:
menudirection = true,				-- true = menu below the "m" button
hideonclick = true,				-- Hide the menu after clicking a button (hold shift to not hide the menu)
						-- false = menu above the "m" button

buttonwidth = 20,				-- "m"enu Button Width
buttonheight = 20,				-- "m"enu Button Height

addonbuttonwidth = 110,				-- Addons-Button Width
addonbuttonheight = 20,				-- Addons-Button Height

fontheight = 11,				-- Fontsize
font = "Interface\\AddOns\\mmenu\\font.ttf",	-- Font

textcolor = "|cffffffff",			-- Text Color 
textcolorclicked = "|cffea0606",		-- Text Color mouseover (id try to change the color if the addon is shown but i dont know how ..)

configBackDropColor = {.2,.2,.2,1 },		-- Frame Background Color
configBackDropBorderColor = {.4,.4,.4,1 },	-- Frame Border Color
mouseoverBackdrop = {.1,.1,.1,1 },		-- Mouseover BackdropColor
mouseoverm = {.9, 0, 0, 1 },			-- Mouseover Color of the "m"

classcolor = false,				-- Classcolored font + texture

tukuisupport = true,				-- Tukui Color Support? true/false
WIMSupport = true,				-- WIM support?

fadetime = 0.2,					-- Fade In or Out Time (in seconds) 0 = no fading

mList = {					-- Manage which Addons will be listed in the "m"enu
		WorldMap = false,
		Bags = false,
		VuhDo = true,
		Grid = true,
		HealBot = true,
		Numeration = true, 
		Skada = true,
		TinyDPS = true,
		Recount = true,
		DBM = true,
		Omen = true,
		Atlas = true,
		Cascade = true,
		TukuiConfig = true,
		ReloadUI = true,
		Raidmarkbar = true,
	},

hideopen = false,				-- Hide the "O"pen all Button?
openall = {					-- Manage which Addons will be open on the open-all buttons
		WorldMap = false,
		Bags = false,
		VuhDo = true,
		Grid = true,
		HealBot = true,
		Numeration = true, 
		Skada = true,
		TinyDPS = true,
		Recount = true,
		DBM = true,
		Omen = true,
		Atlas = false,
		Cascade = true,
		TukuiConfig = false,
		Raidmarkbar = false,
	},

hideclose = false,				-- Hide the "C"lose all Button?
closeall = {					-- Manage which Addons will be close on the close-all buttons
		WorldMap = false,
		Bags = false,
		VuhDo = true,
		Grid = true,
		HealBot = true,
		Numeration = true, 
		Skada = true,	
		TinyDPS = true,
		Recount = true,
		DBM = true,
		Omen = true,
		Atlas = true,
		Cascade = true,
		TukuiConfig = true,
		Raidmarkbar = false,
	},
}

Help?
Hold Shift down and just Move it.
Type /mm for more help


Known Issues
- Post lua error if u get one

I think thats it .. hope u will enjoy it.
magges

1.32
- .toc update, thats all

1.31
- Fix Altoholic bug
- Fix menu-not-appearing-bug :>

1.30
- name all created Buttons to "mMenuButtonName" to prevent conflict with other addons
- "menudirection" config entry now also affect Datatext
- force menudirection to true/false for Duffed UI (depends on where u place it ofc)

1.29
- less/better code
- Altoholic support
- 2 config entry "color" and "mouseover_color" instead of 3
https://github.com/Duffed/mMenu/commit/d3638de22b87f69a2525f473e15772f328212bfa

1.28
- Tukui v13 support

1.27
- change the "Ok" Button to a "!" Button which is INSIDE the menu itself (cause when u place mMenu on the right side of ur screen (edge) u didnt see the Ok Button
https://github.com/Duffed/mMenu/commit/f257f7712b1f9b8a4bc814df9ab24ce3d426fbd8


1.26
- change default config
- fix some lua error that appears if Tukui isnt loaded
https://github.com/Duffed/mMenu/commit/51d80e1686de799a27140076129877a961c75a9b

1.25
- add PhoenixStyle support

1.24
- into mMenu folder please, thanks

1.24
- fix close button for DBM (i hope)

1.23
- fix WIM Button

1.22
- less code
- Arh support
- Reload UI Button is now working with a "Sure?" button for no mistakes!
- ...dunno

1.21
- add ElvUI_Config Support .. why the hell did he renamed it? -.-

1.20
- rewrite some of the codes
- Add DBM & VuhDo Support

1.19
- set menudirection to false when using ["mmenu"] datatext
- add the shadow-support to GamesMenu frame
- fix games button position

1.18
- you can now add a Datatext in Tukui with ["mmenu"] = x, (see screen below to see what it looks like with Duffed UI (for other Tukui versions is just opens directly above the "mMenu"
- add TukuiMarBar Support
- add a hideonclick config entry (hide menu after click a button(default = true))


1.17
- change the look sliiiightly
- add "shadow" support (if Tukui Minimap shadow is there, a shadow will be added on the m, o, c buttons
- Hide m texture when buttons are too small

1.16
- only update .toc for now

1.15
- Add World Map support (not listed by default)
- Add Bags support (not listed by default)
- Add Cascade support

1.14
- Add "Tukui Config" support

1.13
- fix tukuisupport for Tukui v11 (do not download if u still use v10 .. or wait no! Download this AND v11 of Tukui :D)

1.12
- Tetris 'toggleable'
- add 3 config entrys:
"mList = {..}"
"hideopen"
"hideclose"

1.11
- add 'Numeration' (dps meter) support
- shift + leftclick on recount & numeration = reset data (will add this function for all dps meter if its possible)

1.10
-"improve" the code lil bit
- add new config entry "classcolor"
- fix Tukui support (if theres something missing let me know)

1.09
- HealBot support
- new config entry "menudirection"
- WIM rightclick support
- ..something i forgot

1.08
- Fix tukuisupport config entry ..wasnt working, sry dudes

1.07
- Grid & Grid2 supported and on top

1.06
- Add Slash command /mm reset to reset position

1.05 (recommend)
- fix bug that buttons appears multiple times after loading screen
- Add Fade-in effect
- Add config entry "fadetime"
- change the createbutton function = less code

1.04
- add tetris support
- add bejeweled support
- clean up

1.03
- fix bug that the open menu was always visible after a loading screen
- fix bug that the menu frame was extreeem large in arena (gladius i think)
- add WIM support (screen)
- add config entrys

1.02
- better Tukui support + add a config entry (description)
- i try to support Tukui edits too .. but only duffed & eclipse for now cause there i can say "if IsAddOnLoaded("eTukui_Arena_Layout") e.g. .. other edits do not have specific Addons.
- default setting is false cause i dont want to skin it like Tukui.

1.01
- add Tukui support (colors)
Optional Files (0)


Post A Reply Comment Options
Unread 01-20-11, 06:42 AM  
corymanson
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
LUA error when hitting close all button

Date: 2011-01-20 23:40:59
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\mMenu\core.lua line 539:
attempt to index global 'DBM_GUI_OptionsFrame' (a nil value)
Debug:
[C]: ?
mMenu\core.lua:539:
mMenu\core.lua:522
AddOns:
Swatter, v3.2.3 (<%codename%>)
Cursor, v4.0.0.1
AtlasLoot, vv6.01.02
AtlasLootBurningCrusade, vv6.01.02
AtlasLootCataclysm, vv6.01.02
AtlasLootClassicWoW, vv6.01.02
AtlasLootCrafting, vv6.01.02
AtlasLootWorldEvents, vv6.01.02
AtlasLootWrathoftheLichKing, vv6.01.02
Auctionator, v2.8.8
AuctionProfitMaster, v1.4
Aurora, v1.3.1
Babylonian, v5.1.DEV.130
BadBoy, v6.404
BadBoyLevels, v2.76
Configator, v5.1.DEV.286
DBMBurningCrusade, v
DBMCore, v
ElvUI, v1.0.5
ElvUIConfigUI, v
ElvUIDpsLayout, v
ExplorerCoords, v1.32
Gatherer, v3.2.3
GathererDBWowhead, v1.0.2010-12-19
GupPet, v2.018
ItsAllCogwheelsFault, v
mMenu, v1.23
NuttyRecruit, v6
Omen, v3.1.0
Postal, v3.4.4
Recount, v
SellOMatic2, va034
SellOMatic2Destroy, va034
SellOMatic2Item, va034
SellOMatic2List, va034
WIM, v3.4.2
WIMFlatPanel, v2.0
WIMukui, v
BlizRuntimeLib_enUS v4.0.3.40000 <us>
(ck=39b)
using elv's UI no idea why he made is sooo different from TukUI
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 07:09 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
1.24
should be fixed (didnt test it)
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 07:32 AM  
corymanson
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank you very much! this has solved it, i love this addon. much better than minimap buttons.

also, i may be doing something wrong but i cant get the skin to change color to suit Elv's UI. This is a black these like the 4th image posted in the descriptions.

would you be able to quickly teach me?

Love your work!
Last edited by corymanson : 01-20-11 at 07:32 AM.
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 07:44 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Originally posted by corymanson
Thank you very much! this has solved it, i love this addon. much better than minimap buttons.

also, i may be doing something wrong but i cant get the skin to change color to suit Elv's UI. This is a black these like the 4th image posted in the descriptions.

would you be able to quickly teach me?

Love your work!
open mMenu/config.lua

line 21-22
Code:
configBackDropColor = (ElvCF["media"].backdropcolor),
configBackDropBorderColor = (ElvCF["media"].bordercolor),
Duffed should rename Tukui folder to Duffed UI aswell ..just to annoy me! hehe
:<
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 07:49 AM  
corymanson
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
great stuff, worked perfect.

i used MMOUI minion to update today and i thought i broke everything because the folder renamed.. silly decision on elv's behalf but i'm sure there was a reason behind it.

Keep this mod going, i love it
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 08:19 AM  
Snoweh
A Cyclonian
 
Snoweh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 79
Uploads: 1
Just downloaded... It dosn't seem to be packed right.
Last edited by Snoweh : 01-20-11 at 08:27 AM.
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 08:38 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Oh man, sry ..wasnt in a Folder
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 10:33 AM  
Snoweh
A Cyclonian
 
Snoweh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 79
Uploads: 1
Which line in Core.lua sets the "DEFAULT" Position when loading a new character?
Last edited by Snoweh : 01-21-11 at 03:53 AM.
Report comment to moderator  
Reply With Quote
Unread 01-21-11, 11:46 AM  
hank
A Murloc Raider
 
hank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 547
Uploads: 1
Originally posted by Snoweh
Which line in Core.lua sets the "DEFAULT" Position when loading a new character?
46
Code:
openmenubutton:SetPoint("CENTER",0,0)
__________________
„Just avoid holding it that way“
Report comment to moderator  
Reply With Quote
Unread 01-21-11, 01:47 PM  
Snoweh
A Cyclonian
 
Snoweh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 79
Uploads: 1
Originally posted by hank
46
Code:
openmenubutton:SetPoint("CENTER",0,0)
yeh it's what i originally had in the post before i re-edited
Report comment to moderator  
Reply With Quote
Unread 02-09-11, 07:25 PM  
Jokkl
A Kobold Labourer

Forum posts: 1
File comments: 2
Uploads: 0
Altoholic

Any way to add altoholic to the menu?
edit: Or maybe an option to add some slashcomand? like "/alto show" to open altoholic?
Maybe someone can help with that?

eit: amazing how easy this is without even knowing what i am doing.

Code:
-- Altoholic --------------------------
if IsAddOnLoaded("Altoholic") and (mmconfig.mList.Altoholic) then
	altoholicbutton = CreateFrame("Frame", "AltoholicButton", menu)
	mMenu.CreateAddonButton(AltoholicButton, "Altoholic|r")
	
	--open/close
	altoholicbutton:SetScript("OnMouseDown", function() ToggleFrame(AltoholicFrame) end)
		
	mmenuaddons = mmenuaddons + 1
end
Last edited by Jokkl : 02-10-11 at 04:43 AM.
Report comment to moderator  
Reply With Quote
Unread 02-21-11, 12:00 AM  
Ninok
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
magges

After renaming the variables in the Tukui to ElvUI

Code:
configBackDropColor = (ElvCF["media"].backdropcolor),
configBackDropBorderColor = (ElvCF["media"].bordercolor),
not working!!!

Please help....

________________
Google translation
Report comment to moderator  
Reply With Quote
Unread 02-28-11, 03:07 AM  
Droxx
A Deviate Faerie Dragon

Forum posts: 15
File comments: 20
Uploads: 0
Could you add "Mage Nuggets" to mMenu?
Report comment to moderator  
Reply With Quote
Unread 03-07-11, 04:40 PM  
hank
A Murloc Raider
 
hank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 547
Uploads: 1
Originally posted by Ninok
magges

After renaming the variables in the Tukui to ElvUI

Code:
configBackDropColor = (ElvCF["media"].backdropcolor),
configBackDropBorderColor = (ElvCF["media"].bordercolor),
not working!!!

Please help....

________________
Google translation
You have to unpack them

configBackDropColor = unpack(ElvCF["media"].backdropcolor),
configBackDropBorderColor = unpack(ElvCF["media"].bordercolor),

@Mage Nuggets: Will add it
/e but what exactly? The Option Menu?
__________________
„Just avoid holding it that way“
Last edited by hank : 03-07-11 at 04:42 PM.
Report comment to moderator  
Reply With Quote
Unread 03-21-11, 01:18 PM  
Valcry
A Deviate Faerie Dragon

Forum posts: 13
File comments: 55
Uploads: 1
No Menu Inside?

Seems to be a very interesting Addon, but for the time being, I really got no Menu popping up. I'm able to fade out/in Skada and Vuhdo and I set everything else to false within the config.lua. But there is no menu while clicking at "m".

Tried to find a bug in our lua, but obiously everything seems to be okay. I tried to comment some lines out, so that there will be definately a few menuitems for Skada/Vuhdoh but this doesn't help at all.

No LUA-Warnings. Any hints / ideas for me?
__________________
Never let me down again
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.