Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(26 Kb)
Download
Updated: 11-27-07 01:41 AM
Pictures
File Info
Updated:11-27-07 01:41 AM
Created:unknown
Downloads:14,711
Favorites:105
MD5:

MobileMinimapButtons  Popular! (More than 5000 hits)

Version: 2.4
by: AnduinLothar [More]

Makes the Minimap Buttons draggable around the minimap with adjustable angle.
Control-Drag to change angle.
Control-Shift-Drag to change radius.
Control-Right-Click to bring up menu.
Menu: Reset, Reset All.

Now Works with different shaped minimaps that implement http://www.wowwiki.com/GetMinimapShape

This version is standalone with embedded SeaHooks and SeaPrint.

Localized for English, French and German.


[edit]GUI Options - Optionally uses Khaos for GUI.
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:

  1. Add MobileMinimapButtons to your optional deps in the toc
  2. 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.
  3. 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.

v2.4
- Added mobility to MiniMapRecordingButton, MiniMapVoiceChatFrame, DBMMinimapButton
- Added radius offset dragging, control-shift-drag
- Optimized the dragging radius, angle and offset code. Special thanks to Iriel and Cide for trigonometric help.

v2.3
- TOC to 20300
- Added mobility to MiniMapTracking, MI2_MinimapButton
- Updated localization format so that they are easier to update and not independant.

v2.2
- Now uses GetMinimapShape() to determine minimap shape from supporting addons. http://wowwiki.com/GetMinimapShape
- Added MobileMinimapButtons_ButtonSizeModifiers for slight radius adjustment relative to the button size
- Cleaned up the click code a bit
- Added mobility to FeatureFrameMinimapButton and Gatherer_MinimapOptionsButton

v2.1
- Fixed Error with nil MOBILE_MINIMAP_BUTTONS_LIST_VERSION on first load

v2.0
- TOC to 20003
- Fixed issue with buttons not being registered if called before Variables were loaded

v1.9
- Added Mobility to the Atlas Loot Button

v1.81
- Fixed nil errors

v1.8
- Added Mobility to the World Map Button and the Feedback UI Button.
- Updated for WoW 2.0

v1.71
- Changed the radius calculation to make compatible with AddOns that allow changes to the radius setting of their buttons e.g. Gatherer, AlphaMap
- Updated the API.txt

v1.7
- Now automaticly makes mobile the following addon buttons: Soundtrack, Cirk's Blessings, CritLine, AlphaMap, and Natur EnemyCastBar.

v1.6
- Changed dragging and reset menu to control click to avoid conflict with battlegrounds button
- Fixed bug that wasn't saving posistions of icons unless you tapped them

v1.52
- Updated TOC to 11100
- Fixed Census button mask.

v1.51
- New Buttons are now Anchored when first made mobile. (Fixed OnLoad error with Atlas)
- Updated German Localization

v1.5 (1/15/06)
- Fixed Shift-OnClick option overridding to still work for clicks under half a second. (Fixes battleground minimap)
- Now automaticly makes mobile the following addon buttons: Atlas, CTRA, Wardrobe, Yatlas, Gatherer, Earth, IEF, CTA. (Addon Buttons are only on English client until localized.)

v1.4 (1/4/06)
- Disabled OnDrag events of registered addon buttons (Wardrobe now correctly stops dragging)
- Fixed nil OnLoad bug by delaying frame loading until after PLAYER_ENTERING_WORLD on a fresh load
- Updated TOC to 10900

v1.3 (11/24/05)
- Dynamicly added buttons now save accross sessions
:Demo additions:
/script MobileMinimapButtons_AddButton("AtlasButton","Atlas Button");
/script MobileMinimapButtons_AddButton("CT_RASets_Button","CT Raid Assist Button");
/script MobileMinimapButtons_AddButton("Wardrobe.IconFrame","Wardrobe Button");
/script MobileMinimapButtons_AddButton("TheYatlasButton","Yatlas Button");
/script MobileMinimapButtons_AddButton("GathererUI_IconFrame","Gatherer Button");
/script MobileMinimapButtons_AddButton("EarthMinimapButton","Earth Button");
/script MobileMinimapButtons_AddButton("IEFMinimapButton","Improved Error Frame Button");
/script MobileMinimapButtons_AddButton("CTA_MinimapIcon","Call To Arms Button");

v1.2 (10/27/05)
- Chnaged OnClick handling to allow for Casting via OnClick
- Implimented HasScript so that you no longer have to pass weather the frame is a button or not.

v1.11 (10/25/05)
- Fixed an obscure OnClick bug involving Khaos

v1.1 (10/18/05)
- Added dynamic button adding using MobileMinimapButtons_AddButton at any time.
- See API.txt for details on how to make your addon's button mobile.

v1.0 (9/30/05)
- Public Release
Optional Files (0)


Post A Reply Comment Options
Unread 10-22-05, 03:09 PM  
Djagamoone
A Deviate Faerie Dragon

Forum posts: 10
File comments: 19
Uploads: 0
Not working?

I cant move any of my mini map icons
Djagamoone is offline Report comment to moderator  
Reply With Quote
Unread 10-23-05, 09:09 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Re: Not working?

Forgot to mention the dependancies. You'll need Sea.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 10-24-05, 02:25 PM  
Djagamoone
A Deviate Faerie Dragon

Forum posts: 10
File comments: 19
Uploads: 0
sorry

I guess it does work! I was thinking I would be able to move all of my minimap buttons, but I can move my Default Blizzard Minimap Buttons!
Djagamoone is offline Report comment to moderator  
Reply With Quote
Unread 06-14-06, 05:05 PM  
Azariah
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Other Buttons

This mod sounds great!

What would be neat, is the ability to add menu buttons: Character, Talents, Quests, Spellbook, and Social panes. I'd love that, and it'd really free up UI space.

(Is there another mod that does this?)
Last edited by Azariah : 06-14-06 at 05:37 PM.
Azariah is offline Report comment to moderator  
Reply With Quote
Unread 11-17-07, 07:00 PM  
woowoowoo
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 27
Uploads: 1
The 2.3 version is missing its Sea dependency.
woowoowoo is offline Report comment to moderator  
Reply With Quote
Unread 11-18-07, 01:01 AM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Originally posted by woowoowoo
The 2.3 version is missing its Sea dependency.
Fixed - Embedded.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 03:01 AM  
Helfgrim
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I get this error in MobileMinimap Buttons version 2.3b when I click the new tracking thing -the looking glass at the minimap- that Blizzard introduced in 2.3, the menu that lets you select something to track doesn't come up at all.

Disabling MMB fixes it but that's not what I want of course.

Helfgrim is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:17 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Originally posted by Helfgrim
[b]I get this error in MobileMinimap Buttons version 2.3b when I click the new tracking thing -the looking glass at the minimap- that Blizzard introduced in 2.3, the menu that lets you select something to track doesn't come up at all.
Try 2.3c
I've been writing a new packaging script and somehow the xml code to embed the libs got removed.
Last edited by AnduinLothar : 11-21-07 at 12:18 PM.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:23 PM  
Helfgrim
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
2.3c didn't fix it, the error is still there, so is the (non)behaviour of the tracking.
Helfgrim is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 12:49 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Originally posted by Helfgrim
2.3c didn't fix it, the error is still there, so is the (non)behaviour of the tracking.
I can't dulicate. If you're still gettign the error try moving SeaPrint and SeaHooks from the Libs folder to your addons folder.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 06:01 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 8
Might want to start checking FrameXML.log for errors before doing releases.
MobileMinimapButtons.xml refers to Libs\SeaString\SeaPrint.xml, which does not exist. Libs\SeaPrint\SeaPrint.xml does, which explains why Sea.io is not available with the embeds.
kergoth is offline Report comment to moderator  
Reply With Quote
Unread 11-21-07, 06:41 PM  
Nyte
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 107
Uploads: 0
So, Kergoth, is there a way I can fix this while waiting for the author to do so?
__________________
Beware of the Nyte!
Nyte is offline Report comment to moderator  
Reply With Quote
Unread 11-22-07, 06:11 PM  
kergoth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 136
Uploads: 8
Originally posted by Nyte
So, Kergoth, is there a way I can fix this while waiting for the author to do so?
Yep, just edit embeds.xml with a text editor (i.e. notepad). Change the line that has "Libs\SeaString\SeaPrint.xml" to read "Libs\SeaPrint\SeaPrint.xml" instead, and restart wow.
kergoth is offline Report comment to moderator  
Reply With Quote
Unread 11-23-07, 07:26 PM  
Nyte
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 20
File comments: 107
Uploads: 0
Thanks, Kergoth, it worked.
__________________
Beware of the Nyte!
Nyte is offline Report comment to moderator  
Reply With Quote
Unread 11-23-07, 11:29 PM  
AnduinLothar
Nobody of Importance
 
AnduinLothar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 95
File comments: 208
Uploads: 49
Originally posted by Nyte
Thanks, Kergoth, it worked.
Sorry about that. I'm still fine tuning my embedding script. I usually test with the addons unembedded, but I got tired of embedding dozens of libraries and testing each one every time I updated.
AnduinLothar is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: