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.
Change Log - TidyMinimap
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 - TidyMinimap
Sorry, there are currently no optional files available.
Is there a way to reposition the buttons for Gatherer and Auctioneer (enchantrix) ? I tried with "/tidy" but i got a message that the button does not have a name.
not sure if this is still being updated (i hope so) but ive been getting this error lately, not sure when it first started (its a tiny little arrow button that i click and it triggers the error, its stuck inbetween some of my minibuttons)
Code:
[06:46:22] Interface\FrameXML\UIDropDownMenu.lua:693: DropDownList1:SetPoint(): Couldn't find region named 'TidyMinimapLeft'
(tail call): ?
[C]: ?
[C]: in function `SetPoint'
Interface\FrameXML\UIDropDownMenu.lua:693: in function `ToggleDropDownMenu'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
not even sure if its a tidy error or what that arrow button is for lol
any help is appreciated
cheers
Originally posted by Pseudopod Is it somehow possible to set the anchor to center so that if a new button is added, it will stay centered? Also how do I change spacing? When I change the anchor from topright to topleft and growth from left to right, the spacing between the buttons changes from a couple of pixels to don't know how, but anyways there's a much wider gap between the buttons depending on how I set the anchor & growth.
Somehow the x-position seems to change on its own (like 50 px, dunno if it's because some button disappears or appears, though I can't see why any would do that without changing the settings and within the same session). Any idea what's up with that?
same problem here >.< the buttons move left and i have no idea why its happening =(
BTW: I dropped Chrippa a line. If he's still active (which I hope) and just doesn't want to update TidyMinimap, I told him I'd be glad to update it.
If he doesn't answer... I have to assume he left WoW..
which then means there will be a fanupdate.
__________________
"We shaman don't command the magic we wield. As mages and warlocks strain and sweat to produce a tiny flame, I ask for the elements to lend me their strength."
Originally posted by dranor I'm having a little issue with Barrel and TidyMinimap, it seems that TM captures the buttons created by barrel but it doesn't reposition them correctly until you open a profession panel (like enchanting)
Also, how i can make TM place minimap icons in several rows?
I think I fixed the problem with the repositioning...
Sometimes, directly after logging in, TidyMinimap would gather up all minimap buttons, but some would not be repositioned until a ui reload.
Open TidyMinimap.lua and scroll to the very end, you should see a line like this:
Code:
self:RegisterEvent'ADDON_LOADED'
Press enter to insert a new line, and type:
Code:
self:RegisterEvent'PLAYER_LOGIN'
Worked for me. Feedback?
__________________
"We shaman don't command the magic we wield. As mages and warlocks strain and sweat to produce a tiny flame, I ask for the elements to lend me their strength."
Last edited by Spellshaper : 11-03-2008 at 07:09 PM.
I'm having a little issue with Barrel and TidyMinimap, it seems that TM captures the buttons created by barrel but it doesn't reposition them correctly until you open a profession panel (like enchanting)
Also, how i can make TM place minimap icons in several rows?
Is it somehow possible to set the anchor to center so that if a new button is added, it will stay centered? Also how do I change spacing? When I change the anchor from topright to topleft and growth from left to right, the spacing between the buttons changes from a couple of pixels to don't know how, but anyways there's a much wider gap between the buttons depending on how I set the anchor & growth.
Somehow the x-position seems to change on its own (like 50 px, dunno if it's because some button disappears or appears, though I can't see why any would do that without changing the settings and within the same session). Any idea what's up with that?
Last edited by Pseudopod : 08-06-2008 at 12:34 PM.
Originally posted by Chrippa I'm not sure I understand what you mean, do you want to the buttons to grow down instead of left? If so changing the 'grow' setting in the Settings.lua file to 'down' instead of 'left' should do the trick.
Sorry , My english is pool .
Thank you for your addon and answer.
Originally posted by zieglar Is nice addon.
I have some question with TidyMinimap's layout
If I want like this to grow button
b |-
o ||
r ||
d ||
e |v
r |
I should be how to modify in Settings.lua?
thank you.
I'm not sure I understand what you mean, do you want to the buttons to grow down instead of left? If so changing the 'grow' setting in the Settings.lua file to 'down' instead of 'left' should do the trick.
In settings.lua add an entry to ignore the new ClockUI:
'['TimeManagerClockButton'] = true,
.. under the section to ignore things (like Mail and BG indicator). For me, this fixed the 2.4.3 errors I got.
Also, someone had said earlier about using a script to identify buttons.. you dont need to do this. The addon has a built-in slash command '/tidy' to identify buttons you're hovering over.
Last edited by tattooedpierre : 07-16-2008 at 07:14 AM.