This little addon will gather up all of your addon minimap buttons and put them into a movable frame.
Features
- Minimap Button Skinning (Square Minimap Buttons)
- Add or Remove almost any minimap button
- Multiple Sorting Options - Including Custom!
- Collection of Blizzard Buttons
- Collect only the buttons you want
- Background Color can be changed from the config screen
- Hide most of the Blizzard Minimap Icons
- LDB Support
- Key Bindings
- Profile Support
- Basic Localization in English, Spanish, French, German, Korean, Russian, and Chinese (Simplified and Traditional)
Future Features
- Full LDB version of MBF
Known Issues
Metamap minimap button is incompatable due to the way it is handled in the addon.
The addon does not grab button that do not have a name currently.
Currently discovered addons that are this way are:
Enchantrix (Part of Auctioneer Advanced)
onRaid
The Blizzard buttons that only show up under certain conditions, (battleground, LFG) will only display on the Frame when they are shown normally and active scanning is enabled. Otherwise they will apprear on the minimap when they are shown.
The Add feature is a little more powerful than I originally expected. So you can accidentally grab things that you didn't expect to be able to. (Other Addons) I've tried to protect the blizzard interface features and a couple other things, but let me know if you can grab something that you don't think you should be able to. If you do accidentally add something to the bag you can always remove it.
I've added a lot to the Localization, so it's another quick and dirty, horrible translation. Thanks again for the crazyness Google. So if you can do a better translation please help me out and submit it to me so I can add it to MBF. Hopefully Google didn't make them too funny or offensive.
Note:
The ability to add minimap icons to the table can be a general or partial name of the icons. The button override table add should be the exact name of the button that you want to override and collect.
As always your feedback is more than welcome!
Change Log - Minimap Button Frame
New Features in version 3.0
- Added - Custom Sorting!!!
- Added - Profiles!!!
- Added - Redesigned Options screens (Ace3)
- Change - The Drag button is now a title bar. It stretches across the shorter side of the MBF frame. There is also an option to move it over to the opposite side of the frame.
- Change - The minimap button is now an LDB object
3.0.2
- Added - Missing Library properly this time.
3.0.3
- Fixed - Stupid typo...
3.0.4
- Fixed - Locale bug
3.0.5
- Fixed - Minimap Button
3.0.6
- Change - Improved Korean and Russian translations - Thank you. ckKid and Stingersoft respectively.
- Fixed - Minimap Buttons returning to the minimap when the world map was opened.
- Fixed - MBF text showing up when the Frame was locked and then the frame was hidden then shown.
3.0.7
- Fixed - MBF text showing up on login when it should have been hidden.
- Fixed - Mail Icon moving around when the world map was shown or the interface was hidden.
3.0.8
- Fixed - Toc updated for WoW 3.2
- Fixed - Toc line added for WoWi Minion
I've tested a little further and found out that it's not actually the world map that causes the buttons to briefly return to the minimap. It's hiding the interface for more than roughly a second or two that causes the buttons to go to the minimap.
I hide the interface and immediately unhide it. The add-on keeps the icons in place. Then I hide the interface, count to three and unhide it - and the buttons briefly return to the minimap.
Strange behaviour indeed ;-)
__________________
Be prepared... to simplify your life.
yeah, I didn't make myself clear. I meant hiding the interface, then opening and closing the world map causes the minimap buttons to briefly return to the minimap ;-) My mistake.
I'll look into it. It doesn't seem to be doing that on mine but I'll run a few more tests and see what I can figure out.
Originally posted by Bachlott Are you running Chinchilla? I've recently discovered that if you change the blip size in chinchilla it will affect the size of the buttons on MBF. I'm still trying to discover why it's doing that.
yeah, I didn't make myself clear. I meant hiding the interface, then opening and closing the world map causes the minimap buttons to briefly return to the minimap ;-) My mistake.
__________________
Be prepared... to simplify your life.
one of the more recent versions had a glitch where minimap buttons would briefly return to the minimap after closing the world map. That one's pretty much fixed excecpt for one situation I could reproduce. When I first turn off my interface (the default hotkey on my system is Alt+Y) and then open and close the world map, the glitch still happens and the buttons briefly return to the minimap.
Maybe there's a similar solution for this situation like for the other world map glitch.
All the best,
Contiki
What do you mean turn off your interface? Just hiding the interface or reloading the interface?
one of the more recent versions had a glitch where minimap buttons would briefly return to the minimap after closing the world map. That one's pretty much fixed excecpt for one situation I could reproduce. When I first turn off my interface (the default hotkey on my system is Alt+Y) and then open and close the world map, the glitch still happens and the buttons briefly return to the minimap.
Maybe there's a similar solution for this situation like for the other world map glitch.
All the best,
Contiki
__________________
Be prepared... to simplify your life.
Originally posted by shinx hi, nice addon but i have Trouble with it!
Some buttons are bigger than other one, how can i fix it. Example:
MrPlow
Aloft
Niagara
are big buttons
Pittbull
SiverDragon
are small ones
its look not realy nice if not all have the same size (sry for my english)
Are you running Chinchilla? I've recently discovered that if you change the blip size in chinchilla it will affect the size of the buttons on MBF. I'm still trying to discover why it's doing that.
Yeah from what I've been able to tell. SexyMap is pretty sloppy with some of it's code. It's still messing with the minimap buttons even if you turn off the setting for them in it. And as much as I'd like to fix it. That is outside the scope of my addon. It might be a good idea to try and put in a fix request with the author of SexyMap.
@DaemonSambe, @Bachlott:
I found the problem, a bad check in SexyMap. There is a function called FixTrackingAnchoring(), which is called on line 252 by self:FixTrackingAnchoring(). If you comment out this line then SexyMap no longer repositions the tracking icon. I think this is a function added to fix the button for support with ElkBuffBars. Just comment out the line that calls it, and voila no more unmovable button. For me however this actually hides it completely, which is fine as I have a replacement on TitanBar for this anyway.
I think, and this would need testing, replacing
Code:
self:FixTrackingAnchoring()
with this
Code:
MiniMapTracking:Show()
might make it still show, but be picked up by MBF.
I can't try this myself for another 8 hrs though.
@Bachlott:
This is the function in SexyMap that's interfering, for reference. I'm no lua expert, but you might be able to work out exactly why this interferes with MBF and suggest which lines are actually causing it to break.
Code:
function mod:FixTrackingAnchoring()
if ElkBuffBars and ElkBuffBars.db.profile.hidetrackingframe then
parent:Print("|cffff0000!! Warning !!!|r Elkano's Buff Bars is set to hide the tracking button. This will hide your tracking texture. Run |cffffcc00/ebb config|r and uncheck |cffffcc00Hide minimap tracking frame|r to fix this.")
end
local x, y = MiniMapTracking:GetCenter()
local mx, my = Minimap:GetCenter()
local dx, dy = x - mx, y - my
MiniMapTracking.Hide = function() end
MiniMapTracking:Show()
MiniMapTracking:SetParent(UIParent)
MiniMapTrackingButton:SetParent(Minimap)
MiniMapTrackingButton:ClearAllPoints()
MiniMapTrackingButton:SetPoint("CENTER", Minimap, "CENTER", dx, dy)
MiniMapTrackingButton:SetFrameStrata("LOW")
MiniMapTracking:SetParent(MiniMapTrackingButton)
MiniMapTracking:SetFrameStrata("BACKGROUND")
MiniMapTracking:ClearAllPoints()
MiniMapTracking:SetPoint("CENTER")
end
I also use SexyMap. Also have problems getting the Tracking Button to gather into MBF. Also turned off all of Sexymap's button handling.
The thing is, every other button works fine. Calendar, Mail, Voicechat, everything except the Tracking Button.
So, no idea which mod is actually 'causing' the problem at this point. The only alternative i've found, is to actually turn ON button handling in Sexymap, always hide the Tracking Button, and let everything else go into MBF. But, as mentioned it causes slight irregularities... Such as buttons moving into Sexymap, when i hover on the map, and so on. Mostly annoyances, but not permanent difficulties. Still, not th solution i would like.
Originally posted by NarusegawaNaru I've search through every lua file and only 2 contain "MiniMapTrackingButton" anywhere. One is MBF and one is SexyMap's button.lua but I'm not fully sure whats going on in that one. I'll try disabling it to see if it causing a problem.
But is there anything else I could search for besides that string of the buttons name?
Ah Sexymap. It does all sorts of stuff that interferes with MBF. The only way for the two of them to work together is to completely turn off all the minimap button stuff in Sexymap. Otherwise they're going to fight over the buttons.
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.
*Clicking the donate button above will take you to PayPal.com
*Clicking the donate button above will take you to Pledgie.com