MobileMinimapButtons
From WoWWiki
Contents |
Summary
Makes the Minimap Buttons draggable around the minimap with auto-adjusting angle and constant radius.
Features
Control-Drag to change angle. Control-Right-Click to bring up menu. Menu: Reset, Reset All, Disable.
Now uses GetMinimapShape to determine minimap shape from supporting addons.
Possible ToDo: Control-Ctrl-Drag to change radius.
Localized for English, French and German.
GUI Options
Khaos Options available to enable/disable for different players and a button to reset all.
Making Your Custom Minimap Button Mobile
To Make your third party addon use MobileMinimapButtons to optionally mobilize you minimap button:
- Add MobileMinimapButtons to your optional deps in the toc
- Call MobileMinimapButtons_AddButton(frameName, localizedFrameName) to add the button to the list of mobile minimap buttons. It will store the reset position when this function is called or when the variables are loaded, whichever comes last.
- In the XML or before the function call, position the button frame to its reset position, preferably relative to Minimap frame. Optimal Button size is 32x32.
- NOTE: The button/frame, MUST have the same effective scale as the Minimap. The best way to guarantee this is to make sure that the Minimap (or MinimapCluster) frame is the Parent of your button. Or if the Minimap scale has not been changed independantly of the UIScale, then the UIParent can be the button's Parent. This is important for calculating the correct radius.
Download
- Availible from Curse Gaming and WoW Interface.
- Availible with Sea Dep (no embeds) from CosmosUI.
