Download
(121 Kb)
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:11,903
Favorites:80
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)


Archived Files (24)
File Name
Version
Size
Author
Date
1.31
121kB
magges
03-24-11 10:15 AM
1.30
121kB
magges
03-21-11 10:57 AM
1.29
121kB
magges
02-11-11 07:06 AM
1.28
121kB
magges
02-09-11 09:37 AM
1.27
121kB
magges
01-24-11 10:12 AM
1.26
121kB
magges
01-22-11 05:51 PM
1.25
121kB
magges
01-21-11 03:51 PM
1.24a
121kB
magges
01-20-11 07:37 AM
1.24
121kB
magges
01-20-11 06:08 AM
1.23
121kB
magges
01-20-11 02:15 AM
1.22
121kB
magges
01-19-11 04:49 PM
1.21
122kB
magges
01-18-11 11:05 AM
1.20
121kB
magges
01-17-11 08:46 AM
1.19
121kB
magges
01-14-11 05:38 AM
1.18
121kB
magges
01-14-11 04:51 AM
1.17
121kB
magges
01-12-11 03:05 PM
1.16
121kB
magges
10-28-10 06:28 AM
1.15
121kB
magges
08-29-10 02:22 PM
1.14
120kB
magges
08-25-10 04:26 AM
1.13
120kB
magges
08-21-10 06:52 PM
1.12
120kB
magges
07-23-10 03:10 AM
1.11
120kB
magges
07-22-10 07:10 AM
1.10
120kB
magges
07-21-10 05:06 PM
1.0
118kB
magges
07-16-10 06:23 PM


Post A Reply Comment Options
Old 08-30-10, 11:17 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by el labero
hmm, this could be a cool replacement for all the crappy minimap-mousebutton-hider-addons.... especially with duffed ui.

it seems a lot of work to add new addons.. hmm, i think this could be the first addon that i would modify for my needs^^
Hi, thanks for response
im interested in what u change that it fits ur needs?

and btw @ all: you can always suggest new addons that should be supported!!

magges

ps: come on 6 more dls! :P
magges is offline Report comment to moderator  
Reply With Quote
Old 08-30-10, 10:53 AM  
el labero
A Defias Bandit

Forum posts: 2
File comments: 38
Uploads: 0
hmm, this could be a cool replacement for all the crappy minimap-mousebutton-hider-addons.... especially with duffed ui.

it seems a lot of work to add new addons.. hmm, i think this could be the first addon that i would modify for my needs^^
el labero is offline Report comment to moderator  
Reply With Quote
Old 08-27-10, 03:21 PM  
Justify
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Menu Direction

Originally posted by hank
It works for me ..hm. Are u sure that u change the correct file? :P
config.lua, line 8

Edit: Wow, I'm a retard. It was really late last night, and I apparently forgot to save the file.
Last edited by Justify : 08-27-10 at 03:22 PM.
Justify is offline Report comment to moderator  
Reply With Quote
Old 08-27-10, 01:22 PM  
hank
A Murloc Raider
 
hank's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 565
Uploads: 8
Re: Menu Direction

Originally posted by Justify
Hey,

I changed "menudirection = true," to false, but the menu still opens below the M even after a reload/restart.
It works for me ..hm. Are u sure that u change the correct file? :P
__________________
„Just avoid holding it that way“
hank is offline Report comment to moderator  
Reply With Quote
Old 08-26-10, 11:14 PM  
Justify
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Menu Direction

Hey,

I changed "menudirection = true," to false, but the menu still opens below the M even after a reload/restart.
Justify is offline Report comment to moderator  
Reply With Quote
Old 08-26-10, 03:40 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by Before.Nightmares
I just found this add on today and I love it! It is so simple and yet it has so much potential to be a staple for pre-made ui's.

I have a few add on suggestion's and an interesting function I would like to suggest if the author is interested.
hi thanks for ur response.

im open for new ideas and when i think its a good one i will do it
magges is offline Report comment to moderator  
Reply With Quote
Old 08-25-10, 09:08 PM  
Before.Nightmares
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
I just found this add on today and I love it! It is so simple and yet it has so much potential to be a staple for pre-made ui's.

I have a few add on suggestion's and an interesting function I would like to suggest if the author is interested.
Before.Nightmares is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 02:14 PM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by Xarl
Hope thats ok wit ya [/b]
hm? Ofc ^^

Will take a closer look at that later .. just got a new TV! Have to watch
magges is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 12:39 PM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 227
Uploads: 1
Ok no worry about my wish.

I changed all to my liking.

And this is my result:



Changed the Alpha of all Buttons not to fade and the Background Color.


Hope thats ok wit ya
Xarl is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 11:47 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 227
Uploads: 1
Originally posted by magges
Hmm okay ..this is ..strange. Id set Alpha of all the small buttons (except the m) to 0.4
may u edit it urself ..go in core.lua to line

369
Code:
wimbutton:SetAlpha(0.4)
and 409
Code:
		wimbutton:SetScript("OnEnter", function()
			UIFrameFadeOut(wimbutton, mmconfig.fadetime, 0.4, 1)
			w:SetText(mmconfig.textcolorclicked.."W")
			wimbutton:SetBackdropColor(unpack(mmconfig.mouseoverBackdrop))
		end)
		wimbutton:SetScript("OnLeave", function()
			UIFrameFadeOut(wimbutton, mmconfig.fadetime, 1, 0.4)
			w:SetText(mmconfig.textcolor.."W")
			wimbutton:SetBackdropColor(unpack(mmconfig.configBackDropColor))
		end)
the 0.4
Just had a look and thats what its set as.

So no need to change i guess


€dit:

I did notice then when i mouse over the m now the w comes up in the same alpha as the other Buttons. Like said before it seem thye are hoked to each other in that part.
Last edited by Xarl : 07-21-10 at 11:56 AM.
Xarl is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 11:33 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by Xarl
ok here it is

Hmm okay ..this is ..strange. Id set Alpha of all the small buttons (except the m) to 0.4
may u edit it urself ..go in core.lua to line

369
Code:
wimbutton:SetAlpha(0.4)
and 409
Code:
		wimbutton:SetScript("OnEnter", function()
			UIFrameFadeOut(wimbutton, mmconfig.fadetime, 0.4, 1)
			w:SetText(mmconfig.textcolorclicked.."W")
			wimbutton:SetBackdropColor(unpack(mmconfig.mouseoverBackdrop))
		end)
		wimbutton:SetScript("OnLeave", function()
			UIFrameFadeOut(wimbutton, mmconfig.fadetime, 1, 0.4)
			w:SetText(mmconfig.textcolor.."W")
			wimbutton:SetBackdropColor(unpack(mmconfig.configBackDropColor))
		end)
the 0.4
magges is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 10:17 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 227
Uploads: 1
Originally posted by magges
504 Gateway Time-out

The server didn't respond in time.


Imageshack sux >.<
abload.de or something pls
ok here it is

Last edited by Xarl : 07-21-10 at 10:17 AM.
Xarl is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 10:15 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by Xarl
Hey magges,

OK i did as ya said and it works.
Only thing i noticed is that since m and w are in a way connected it seems like w fades out a tiny bit more as well.
Not that it kills me but it does catch my eye

Here a screeny so you see what i mean

504 Gateway Time-out

The server didn't respond in time.


Imageshack sux >.<
abload.de or something pls
magges is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 09:45 AM  
Xarl
A Black Drake
 
Xarl's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 88
File comments: 227
Uploads: 1
Hey magges,

OK i did as ya said and it works.
Only thing i noticed is that since m and w are in a way connected it seems like w fades out a tiny bit more as well.
Not that it kills me but it does catch my eye

Here a screeny so you see what i mean

Xarl is offline Report comment to moderator  
Reply With Quote
Old 07-21-10, 08:33 AM  
magges
An Aku'mai Servant
 
magges's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 31
Uploads: 2
Originally posted by Xarl
Hey magges,

wondering if there is a way to set the m button to fade just like the others ?

Besides i did try to set it to 0 so none would fade but it did not work


Thanks for your Help
ofc
open core.lua

Line 20 add:
Code:
openmenubutton:SetAlpha(.4)
Line 493
replace this:
Code:
-- mouseover the "m" button
openmenubutton:SetScript("OnEnter", function()
	if not menu:IsShown() then
		UIFrameFadeIn(openmenubutton.texturemo, mmconfig.fadetime, 0, 1)
		UIFrameFadeOut(openmenubutton.texture, mmconfig.fadetime, 1, 0)
	end
end)
openmenubutton:SetScript("OnLeave", function()
	if not menu:IsShown() then
		UIFrameFadeIn(openmenubutton.texture, mmconfig.fadetime, 0, 1)
		UIFrameFadeOut(openmenubutton.texturemo, mmconfig.fadetime, 1, 0)
	end
end)
with this:
Code:
-- mouseover the "m" button
openmenubutton:SetScript("OnEnter", function()
	if not menu:IsShown() then
		UIFrameFadeIn(openmenubutton.texturemo, mmconfig.fadetime, 0, 1)
		UIFrameFadeOut(openmenubutton.texture, mmconfig.fadetime, 1, 0)
		UIFrameFadeOut(openmenubutton, mmconfig.fadetime, 0.4, 1)
	end
end)
openmenubutton:SetScript("OnLeave", function()
	if not menu:IsShown() then
		UIFrameFadeIn(openmenubutton.texture, mmconfig.fadetime, 0, 1)
		UIFrameFadeOut(openmenubutton.texturemo, mmconfig.fadetime, 1, 0)
		UIFrameFadeOut(openmenubutton, mmconfig.fadetime, 1, 0.4)
	end
end)
should work

magges
magges is offline 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.