Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(4 Kb)
Download
Updated: 04-06-10 07:45 AM
Pictures
File Info
Updated:04-06-10 07:45 AM
Created:unknown
Downloads:17,197
Favorites:131
MD5:

TidyMinimap  Popular! (More than 5000 hits)

Version: 0.8
by: Chrippa [More]

TidyMinimap is a small addon that will tidy your minimap by moving all the custom buttons into it's own frame. I wrote this addon because I wanted similar functionality as FuBar plugins but without FuBar.

There is no in-game configuration, all settings are in the Settings.lua file to keep it simple.

There is a slash command (/tidy) that gives you the name of the minimap button you're currently hovering with your mouse. Use this to add buttons that are not automatically picked up to the Settings.lua.

When upgrading, don't overwrite Settings.lua if you want to keep your old settings.



Workaround for the CT minimap buttons (thanks to woowoowoo):
Edit the CT_Core\CT_Core.lua file and change line 112 from:
minimapFrame = module:getFrame(minimapFrameSkeleton);
to
minimapFrame = module:getFrame(minimapFrameSkeleton, nil, "CTMod2_MinimapButton");

Once you changed that, just add ['CTMod2_MinimapButton'] = true, to your settings.

0.8 (2010-04-04):
- Fixed a bug that broke TidyMinimap when trying to hide borders.


0.7 (2009-12-14):
- Updated for patch 3.3.
- Replaced deprecated :GetFrameType() call with :GetObjectType()


0.6 (2008-11-11):
- Fixed bug introduced in 0.5.
- Added slash commands suggested by Spellshaper:

scan: Force TidyMinimap to look for minimap buttons
name: Prints the name of the frame you're currently hovering

Use with '/tidy command'.
If no command is specified it defaults to the 'name' command.


0.5 (2008-11-10):
- Updated TOC for patch 3.0.
- Improved button scanning once again.


0.4 (2008-07-20):
- Updated with fixes for patch 2.4.3.
- Hiding borders are now optional, defaults to false.


0.3 (2007-07-22):
- Rewrote most of the code to make it easier to read and more
efficient.

- Should pick up more buttons. Though, still haven't figured out
a way to pick up the CT addon buttons. They are technically not
minimap buttons (doesn't have the minimap set as their parent).

- Now supports minimap buttons created by addons loaded on demand.

- Moved the frame to bottom of the minimap and turned off nudge in
the default settings.


0.2 (2007-06-22):
- Split the config from the main file (when upgrading, make backup
from the old file if you're not using default settings).

- Added a slash command. Type /tidy when hovering a minimap button
that is not moved correctly, it will display it's name to be put
into the config file.


0.1 (2007-06-18):
- First release.
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Author
Date
0.7
4kB
Chrippa
12-17-09 02:36 PM
0.6
4kB
Chrippa
11-11-08 09:27 AM


Post A Reply Comment Options
Unread 06-18-07, 05:59 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Thank you, I 'll try that tonight.

Several hours later:
That made the changes I wanted, thanks.

Now when I have time I need to figure out how to add other buttons to Tidy, since the only one there now is TrinketMenu. I see it in the code... just have to experiment, I guess.

Thank you.
Last edited by Jaim Sandar : 06-19-07 at 01:03 PM.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 06-18-07, 04:41 PM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 5
Re: buttons hidden

Originally posted by Jaim Sandar
The TidyMiniMap buttons are covered up by the top FuBar.

How would I move them to, say, under the MiniMap?

If the buttons are positioned under the minimap, I don't want to move the minimap down. Also, I have the MiniMap title bar (zone name) removed using RecZoneFu, so I don't want to move the minimap down again for that.
To put the buttons under the minimap instead you could try changing the 'pos' variable in settings to 'TOPRIGHT#MinimapCluster#BOTTOMRIGHT#0#0'. The numbers are x and y coordinates, try upping or lowering them if it doesn't fit.
There is a setting to disable the moving of the minimap, just change the 'nudgeminimap' variable to false.
Last edited by Chrippa : 06-18-07 at 04:45 PM.
Chrippa is offline Report comment to moderator  
Reply With Quote
Unread 06-18-07, 03:59 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
buttons hidden

The TidyMiniMap buttons are covered up by the top FuBar.

How would I move them to, say, under the MiniMap?

If the buttons are positioned under the minimap, I don't want to move the minimap down. Also, I have the MiniMap title bar (zone name) removed using RecZoneFu, so I don't want to move the minimap down again for that.
Last edited by Jaim Sandar : 06-18-07 at 04:11 PM.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 06-18-07, 03:23 PM  
PurpleWedgie
An Aku'mai Servant

Forum posts: 33
File comments: 23
Uploads: 0
Very nice mod, I've been looking for just this functionality. Thank you for the coding effort!
PurpleWedgie is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: