Download
(39Kb)
Download
Updated: 12-11-19 12:35 AM
Pictures
File Info
Compatibility:
Classic (1.13.2)
Updated:12-11-19 12:35 AM
Created:12-12-13 12:07 PM
Downloads:5,674
Favorites:30
MD5:

Click Menu  Popular! (More than 5000 hits)

Version: 4.0.1 - Classic
by: 10leej [More]

Click Menu is an addon intended to replace the Micromenu with a simple menu found by right clicking the minimap like you see UI suites like Tuk or Elv UI do.

There is some config at the top of the core.lua file

Since Click Menu relies on the Blizzard Minimap any addon that effects this will cause compatibility issues.

4.0.1
toc bump

4.0
WoW Classic Conversion

3.0.1a
toc bump

3.0.1
Line 124 removed a mis-placed space that caused the occasional error when opening collections or even some blizz modules

3.0a
Actual 3.0 update

3.0
General Code Cleanup
Renames:
Talents - "Specialization"
Quest Log - "Map & Quest Log"
Friends - "Social"
Mounts - "Collections"

Removed:
Pets
Toy Box
Heirlooms
Button mode

Disabled in code with hopes of getting working:
Zone battlefield Map

Planned:
Azerite menu thing, haven't looked into it yet

Added:
Text when someone has an addon Click menu won't work with that I'm aware of

2.8.1
.toc bump
Fix Calender/Shop

2.8
Fixed Mounts/Pets/Toybox
Added Heirlooms

2.7
fancy button mode, mad a more sensible config table (for me at least) add config how to
automatic overrides for incompatible addons (only affects map integration)
fixed quest log error

2.6
localizations work coutesy of Phanx, guess people like this addon afterall
Licensed under MIT license

2.5.1
toc bump
Added toybox (curtousey of Imithat)

2.5
Added a bit of localization code not working yet. However there's a localization file now.
Removed all but Logout and Quit from the game menu options (Sorry guys list was a little big)
Rework opening function so pings work
Removed game menu opening option I must've coded while drunk

2.4
Optimized a bit of code, got plans for localization in the future NEED TRANSLATORS!
I decded that minimap buttons need to be handled elsewhere. Stay tuned

2.3
Added toggle bag function

2.2
Added game menu options think I'm done updating for the night....

2.1
forgot to add the update functions so the minimap buttons work.....

2
expanded list with more options
Replaced radials with icons, probably could done a better job on some
Added minimap icons this is lightly tested though so might not work (please report in comments if there's any minimap button not showing up)
Optional Files (2)
File Name
Version
Size
Author
Date
Type
2.6.b1.4
7kB
02-05-15 01:45 AM
Patch
2.7
3kB
10-19-14 12:27 PM
Patch


Post A Reply Comment Options
Unread 12-16-13, 03:02 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Consider getting rid of the radio buttons and instead have icons relative to what the original micromenu has, so it matches the Tracking dropdown.
Report comment to moderator  
Reply With Quote
Unread 12-16-13, 03:12 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by p3lim
Consider getting rid of the radio buttons and instead have icons relative to what the original micromenu has, so it matches the Tracking dropdown.
Honestly I haven't thought of that.... Not sure how I'm gonna do that probably have to modify easymenu a bit I imagine.
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 12-16-13, 07:30 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
2.2

I swapped the radials for icons, I admit I coulda done a better job.

Also there is code for minimap button handling. This addon will not disable the minimap buttons you can disable them yourself they will still show up in the menu.

Anyways new goal for this addon:
Don't replace just the Micromenu, replace the game menu as well.

Also sorry for the 4 updates in the same hour deal.
__________________
Tweets YouTube Website
Last edited by 10leej : 12-16-13 at 08:11 PM.
Report comment to moderator  
Reply With Quote
Unread 12-16-13, 08:33 PM  
MegaSNESX
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Pretty cool Addon thanks for making it!
Report comment to moderator  
Reply With Quote
Unread 12-16-13, 08:54 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by MegaSNESX
Pretty cool Addon thanks for making it!
np
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 12-17-13, 05:44 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 12-18-13, 11:37 AM  
MegaSNESX
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there any possibilty that you will make it show "Inventory" aswell? I know I could just press "B", but hey! If you can it would be awesome!
Report comment to moderator  
Reply With Quote
Unread 12-18-13, 12:53 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by MegaSNESX
Is there any possibilty that you will make it show "Inventory" aswell? I know I could just press "B", but hey! If you can it would be awesome!
Thats actually already in the next update. Just haven't released it because I'm doin stuff with minimap buttons still.
__________________
Tweets YouTube Website
Last edited by 10leej : 12-18-13 at 12:54 PM.
Report comment to moderator  
Reply With Quote
Unread 12-20-13, 05:55 AM  
MegaSNESX
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by 10leej
Originally Posted by MegaSNESX
Is there any possibilty that you will make it show "Inventory" aswell? I know I could just press "B", but hey! If you can it would be awesome!
Thats actually already in the next update. Just haven't released it because I'm doin stuff with minimap buttons still.
Awesome!
Report comment to moderator  
Reply With Quote
Unread 12-24-13, 01:22 AM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by MegaSNESX
Originally Posted by 10leej
Originally Posted by MegaSNESX
Is there any possibilty that you will make it show "Inventory" aswell? I know I could just press "B", but hey! If you can it would be awesome!
Thats actually already in the next update. Just haven't released it because I'm doin stuff with minimap buttons still.
Awesome!
Added with 2.3 no change to minimap buttons because I couldn't get it the way I wanted.
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Unread 12-24-13, 08:49 AM  
Imithat
A Fallenroot Satyr
 
Imithat's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 201
Uploads: 7
Nice Addon dude,

I was so free and translated it into German

core.lua
http://sdrv.ms/1eCqxxj
Report comment to moderator  
Reply With Quote
Unread 12-24-13, 02:09 PM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by Imithat
Nice Addon dude,

I was so free and translated it into German

core.lua
http://sdrv.ms/1eCqxxj
Kool I'll see about coming up with localizations.
__________________
Tweets YouTube Website
Last edited by 10leej : 12-24-13 at 09:15 PM.
Report comment to moderator  
Reply With Quote
Unread 05-09-14, 12:20 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Regarding localization, you can use existing global strings for almost everything. In the order they appear in the code:
  • (nothing for "MicroMenu")
  • CHARACTER
  • SPELLBOOK
  • TALENTS
  • INVENTORY_TOOLTIP
  • ACHIEVEMENTS
  • QUESTLOG_BUTTON
  • FRIENDS
  • GUILD
  • GROUP_FINDER (says "Dungeon Finder" instead of "Group Finder")
  • PLAYER_V_PLAYER
  • ENCOUNTER_JOURNAL
  • MOUNTS
  • PETS
  • (nothing for "Calendar" oddly enough, though you did typo it with an "-er" )
  • BLIZZARD_STORE (says "Shop" instead of "Store" but that's how Blizzard prefers to refer to it)
  • GAMEMENU_HELP
  • BATTLEFIELD_MINIMAP (says "Zone Map" instead of "Battlefield Map" but the feature isn't actually specific to battlegrounds; you can use it anywhere)
  • MAINMENU_BUTTON
  • SYSTEMOPTIONS_MENU
  • UIOPTIONS_MENU
  • MACROS
  • KEY_BINDINGS
  • LOGOUT
  • QUIT

I also took the liberty of borrowing translations for the missing items from other addons for you:

Code:
local MICRO_MENU, CALENDAR = "MicroMenu", "Calendar"
local GAME_LOCALE = GetLocale()
if GAME_LOCALE == "deDE" then
	MICRO_MENU, CALENDAR = "Mikromenü", "Kalender"
elseif GAME_LOCALE == "esES" or GAME_LOCALE == "esMX" then
	MICRO_MENU, CALENDAR = "Micro menú", "Calendario"
elseif GAME_LOCALE == "frFR" then
	MICRO_MENU, CALENDAR = "Micro menu", "Calendrier"
elseif GAME_LOCALE == "itIT" then
	MICRO_MENU, CALENDAR = "Micro menu", "Calendario"
elseif GAME_LOCALE == "ptBR" then
	MICRO_MENU, CALENDAR = "Mini Menu", "Calendário"
elseif GAME_LOCALE == "ruRU" then
	MICRO_MENU, CALENDAR = "Микроменю", "Календарь"
elseif GAME_LOCALE == "koKR" then
	MICRO_MENU, CALENDAR = "게임 메뉴", "달력"
elseif GAME_LOCALE == "zhCN" then
	MICRO_MENU, CALENDAR = "微型主菜单", "日历"
elseif GAME_LOCALE == "zhTW" then
	MICRO_MENU, CALENDAR = "微型選單", "曆"
end
Unrelated:

In the current release version, clicking always toggles the normal game menu, because you're checking the button argument against a MouseButton variable that you don't define anywhere, and isn't defined anywhere in the default UI either, and the button will never be nil, so that check will never pass.

Assuming you meant that MouseButton variable to be a "RightMouseButton" string, unconditionally toggling the normal game menu on all other types of clicks is probably not a good idea, as this breaks ping functionality, and any other special click features added by other addons. There doesn't seem to be any point in having any game menu toggle when all of the game menu items are included in the right-click menu, but if you want to offer it, you should use a modifier, eg. shift-click, so that left-click triggers a ping as usual.

There's no need to check if the mouse is over the Minimap... if the Minimap is receiving an mouse event, the mouse is over the Minimap, period. If you press a mouse button while over a frame, move the cursor off the frame, and release, no OnMouseUp event is fired for that or any other frame; this is probably an intentional "safety" feature to let you cancel a click in progress.

The tooltip is a bit confusing. For one, it appears up to the right of the minimap, so it's not immediately obvious what it's there for, especially when it just says "Game Menu". A specific description of an action would probably be more useful, eg. "Right-click to toggle the game menu." but I'd just get rid of it entirely, since as soon as you mouse over a tracking blip it's gone and doesn't come back until you move the mouse off and back onto the minimap.

Finally, you may want to include a button for the Mac Options window for Mac users; the default UI shows it after the Interface button on the game menu. The Korean client has an additional Ratings button on the game menu, though that seems to be pure legal ass-covering without any actual purpose to its existence so I think it's safe to leave that out.

Code:
if IsMacClient() then
	local t = {
		text = MAC_OPTIONS,
		func = function()
			ShowUIPanel(MacOptionsFrame)
		end,
		notCheckable = true,
	}
	tinsert(menuList, t, 22)
end
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 05-09-14, 02:45 AM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Originally Posted by Phanx
Regarding localization, you can use existing global strings for almost everything. In the order they appear in the code:
  • (nothing for "MicroMenu")
  • CHARACTER
  • SPELLBOOK
  • TALENTS
  • INVENTORY_TOOLTIP
  • ACHIEVEMENTS
  • QUESTLOG_BUTTON
  • FRIENDS
  • GUILD
  • GROUP_FINDER (says "Dungeon Finder" instead of "Group Finder")
  • PLAYER_V_PLAYER
  • ENCOUNTER_JOURNAL
  • MOUNTS
  • PETS
  • (nothing for "Calendar" oddly enough, though you did typo it with an "-er" )
  • BLIZZARD_STORE (says "Shop" instead of "Store" but that's how Blizzard prefers to refer to it)
  • GAMEMENU_HELP
  • BATTLEFIELD_MINIMAP (says "Zone Map" instead of "Battlefield Map" but the feature isn't actually specific to battlegrounds; you can use it anywhere)
  • MAINMENU_BUTTON
  • SYSTEMOPTIONS_MENU
  • UIOPTIONS_MENU
  • MACROS
  • KEY_BINDINGS
  • LOGOUT
  • QUIT

I also took the liberty of borrowing translations for the missing items from other addons for you:

Code:
local MICRO_MENU, CALENDAR = "MicroMenu", "Calendar"
local GAME_LOCALE = GetLocale()
if GAME_LOCALE == "deDE" then
	MICRO_MENU, CALENDAR = "Mikromenü", "Kalender"
elseif GAME_LOCALE == "esES" or GAME_LOCALE == "esMX" then
	MICRO_MENU, CALENDAR = "Micro menú", "Calendario"
elseif GAME_LOCALE == "frFR" then
	MICRO_MENU, CALENDAR = "Micro menu", "Calendrier"
elseif GAME_LOCALE == "itIT" then
	MICRO_MENU, CALENDAR = "Micro menu", "Calendario"
elseif GAME_LOCALE == "ptBR" then
	MICRO_MENU, CALENDAR = "Mini Menu", "Calendário"
elseif GAME_LOCALE == "ruRU" then
	MICRO_MENU, CALENDAR = "Микроменю", "Календарь"
elseif GAME_LOCALE == "koKR" then
	MICRO_MENU, CALENDAR = "게임 메뉴", "달력"
elseif GAME_LOCALE == "zhCN" then
	MICRO_MENU, CALENDAR = "微型主菜单", "日历"
elseif GAME_LOCALE == "zhTW" then
	MICRO_MENU, CALENDAR = "微型選單", "曆"
end
Thank you kindly, never actually setup localizations before, I have looked at the guide you made just never got aroud to setting it all up.

In the current release version, clicking always toggles the normal game menu, because you're checking the button argument against a MouseButton variable that you don't define anywhere, and isn't defined anywhere in the default UI either, and the button will never be nil, so that check will never pass.
Thats already gone in the "I have yet to release" version. Dunno why I ever set it up like that. Might've been alcohol induced.

EDIT:
Just released that version it's now referred to as 2.5
/EDIT

Finally, you may want to include a button for the Mac Options window for Mac users; the default UI shows it after the Interface button on the game menu. The Korean client has an additional Ratings button on the game menu, though that seems to be pure legal ass-covering without any actual purpose to its existence so I think it's safe to leave that out.

Code:
if IsMacClient() then
	local t = {
		text = MAC_OPTIONS,
		func = function()
			ShowUIPanel(MacOptionsFrame)
		end,
		notCheckable = true,
	}
	tinsert(menuList, t, 22)
end
I'm actually going to remove the game menu options. Only ones staying are Logout, and Quit as the list itself is getting a little long for my own tastes.

Also the reason it says "MouseButton" is because there's a config option on top to change the button
__________________
Tweets YouTube Website
Last edited by 10leej : 05-09-14 at 04:11 AM.
Report comment to moderator  
Reply With Quote
Unread 05-16-14, 03:24 AM  
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 583
File comments: 438
Uploads: 22
Updated curse download page
__________________
Tweets YouTube Website
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: