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,097
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 07-16-10, 09:16 PM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
Nice just downloaded this and am in game dinkin about with it, looks great so far.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 02:46 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Thanks
By the Way: Bug reports and suggestions which Addons should be added are welcome!

magges
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 07:51 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Okay found some bugs .. when the menu is open and u load a new area, you cant close it.
Dunno how ..but .. i will fix it! >.<
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 11:58 AM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
well I hate minimap buttons and I was thinking it wold be nice if you addd a button for wim so that I could click on it and see the list of conversations I currently have open with people. Not sure if this is doale but it would be nice.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 12:38 PM  
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 Miralen
well I hate minimap buttons and I was thinking it wold be nice if you addd a button for wim so that I could click on it and see the list of conversations I currently have open with people. Not sure if this is doale but it would be nice.
hm i dont know how to toggle it .. but i can add a show-all + hide-all button ..
okay no i have to search a bit :/ cause 2 buttons sux
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 02:48 PM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Got some help (http://www.wowinterface.com/forums/s...504#post198504) .. now even the WIM toggle works

Report bugs & suggest more supported addons
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 03:02 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
So this is basically a data broker platform? I would think so
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 03:27 PM  
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 Ferous
So this is basically a data broker platform? I would think so
*visit dict.leo.org*...
yeah you can call it that
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 08:26 PM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
Yay thank you so much! going to check out the new version with wim support now.
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Report comment to moderator  
Reply With Quote
Unread 07-17-10, 09:54 PM  
Miralen
A Rage Talon Dragon Guard
 
Miralen's Avatar

Forum posts: 341
File comments: 80
Uploads: 0
Ok checked out wim support and it works well, though was wondering if you could emulate the minimap button functionality, giving a list of the current conversations and allowing me to click on the conversation I want to open, if not possible, no worries, just I think this would be a little neater as I tend to have alot of wim conversations going at once.

Thanks for the hard work, it is much appreciated!
__________________
Never hold discussions with the monkey when the organ grinder is in the room.

- Winston Churchill
Report comment to moderator  
Reply With Quote
Unread 07-18-10, 06:09 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 Miralen
Ok checked out wim support and it works well, though was wondering if you could emulate the minimap button functionality, giving a list of the current conversations and allowing me to click on the conversation I want to open, if not possible, no worries, just I think this would be a little neater as I tend to have alot of wim conversations going at once.

Thanks for the hard work, it is much appreciated!
I didnt add this feature in 1.04 cause i dont know how.
But i will give it some more trys may i will get it

magges

btw 1.04 supports mini games:
- Tetris
- Bejeweles
+ clean up .lua
Report comment to moderator  
Reply With Quote
Unread 07-18-10, 07:24 PM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 30
Uploads: 1
Seems that theres a bug that all the buttons appear multiple times - you can only see it on the font (looks bold).
Im working on a solution but i rly ..dont know
Report comment to moderator  
Reply With Quote
Unread 07-18-10, 11:45 PM  
frier
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Is there any possibility to merge the hide and show buttons?
One click - Hide all.
Two clicks - Show all.

Edit: Nvm, Did it myself

Code:
	
if IsAddOnLoaded("Omen") then if Omen:Toggle(false) then Omen:Toggle(true)
	elseif IsAddOnLoaded("Recount") then if Recount.MainWindow:IsShown() then Recount.MainWindow:Hide()
	elseif IsAddOnLoaded("Omen") then if Omen:Toggle(true) then Omen:Toggle(false) 
	elseif IsAddOnLoaded("Recount") then if Recount.MainWindow:Show()then Recount:RefreshMainWindow() end end end end en
*As you see that's just for recount and Omen, It's the only ones I use.
**Might not be the best way, But it works.
Last edited by frier : 07-19-10 at 12:19 AM.
Report comment to moderator  
Reply With Quote
Unread 07-19-10, 03:34 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 frier
Is there any possibility to merge the hide and show buttons?
One click - Hide all.
Two clicks - Show all.

Edit: Nvm, Did it myself

Code:
	
if IsAddOnLoaded("Omen") then if Omen:Toggle(false) then Omen:Toggle(true)
	elseif IsAddOnLoaded("Recount") then if Recount.MainWindow:IsShown() then Recount.MainWindow:Hide()
	elseif IsAddOnLoaded("Omen") then if Omen:Toggle(true) then Omen:Toggle(false) 
	elseif IsAddOnLoaded("Recount") then if Recount.MainWindow:Show()then Recount:RefreshMainWindow() end end end end en
*As you see that's just for recount and Omen, It's the only ones I use.
**Might not be the best way, But it works.
You can manage the close and open button in config.lua
(download newest version)
Last edited by magges : 07-19-10 at 03:35 AM.
Report comment to moderator  
Reply With Quote
Unread 07-19-10, 07:47 AM  
Babam
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 2
Uploads: 1
If you could add support for hiding/showing grid, I think you would become my favorite UI author ever.
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.