Download
(4Kb)
Download
Updated: 04-06-10 07:45 AM
Pictures
File Info
Updated:04-06-10 07:45 AM
Created:unknown
Downloads:20,293
Favorites:128
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)


Post A Reply Comment Options
Unread 07-30-08, 11:01 AM  
Acacia_
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 60
Uploads: 6
Has been working good so far out of the box for Wrath Beta
Report comment to moderator  
Reply With Quote
Unread 08-03-08, 02:13 PM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
I'm glad I found this addon of yours before I started creating one myself. Just installed it and it started working 'out of the box'!

*cheers from a fellow settings.lua author! Who needs config windows anyway?!
Report comment to moderator  
Reply With Quote
Unread 08-06-08, 03:11 AM  
Pseudopod
A Deviate Faerie Dragon

Forum posts: 16
File comments: 104
Uploads: 0
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.

Edit My settings:
layout = {
pos = 'CENTER#UIParent#BOTTOM#-50#60',
anchor = 'topright',
grow = 'left',
scale = 0.9,
borders = true,
},

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-08 at 10:34 AM.
Report comment to moderator  
Reply With Quote
Unread 10-05-08, 08:11 AM  
dranor
A Defias Bandit

Forum posts: 3
File comments: 9
Uploads: 0
TidyMinimap + Barrel

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?
Last edited by dranor : 10-05-08 at 08:32 AM.
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 06:08 PM  
Spellshaper
A Murloc Raider
 
Spellshaper's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 70
Uploads: 2
Re: TidyMinimap + Barrel

Still working post 3.0.

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-08 at 06:09 PM.
Report comment to moderator  
Reply With Quote
Unread 11-09-08, 07:48 PM  
Spellshaper
A Murloc Raider
 
Spellshaper's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 70
Uploads: 2
Re: Re: TidyMinimap + Barrel

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."
Report comment to moderator  
Reply With Quote
Unread 11-10-08, 01:23 PM  
tattooedpierre
An Aku'mai Servant
 
tattooedpierre's Avatar
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 95
Uploads: 4
Still working for me, still loving this addon .. so much simpler, smarter and neater than other 'tidy' addons I've see.
Report comment to moderator  
Reply With Quote
Unread 11-22-08, 11:38 PM  
Cacha
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
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.

Edit My settings:
layout = {
pos = 'CENTER#UIParent#BOTTOM#-50#60',
anchor = 'topright',
grow = 'left',
scale = 0.9,
borders = true,
},

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 =(
Report comment to moderator  
Reply With Quote
Unread 12-01-08, 05:48 AM  
Lacindas
An Aku'mai Servant

Forum posts: 33
File comments: 31
Uploads: 0
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
Report comment to moderator  
Reply With Quote
Unread 01-07-09, 08:15 AM  
udiya
A Murloc Raider

Forum posts: 6
File comments: 15
Uploads: 0
Hello,

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.

Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 12-09-09, 11:41 AM  
Lynx0
A Flamescale Wyrmkin
 
Lynx0's Avatar

Forum posts: 132
File comments: 52
Uploads: 0
HI

After patch 3.3 this no longer works for me.. is there an update coming?
Report comment to moderator  
Reply With Quote
Unread 12-09-09, 04:37 PM  
Sano
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 29
Uploads: 4
Re: HI

Originally posted by Lynx0
After patch 3.3 this no longer works for me.. is there an update coming?
Just replace GetFrameType() with GetObjextType() on line 61 in tidyminimap.lua
Report comment to moderator  
Reply With Quote
Unread 03-19-10, 10:02 PM  
iosephus
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Getting this to work with Gatherer and Auctioneer (enchantrix)

In order to get this to work with Gatherer and Auctioneer (enchantrix), you need to add the following to your Settings.lua in the "special" array:

['Gatherer_MinimapOptionsButton'] = true,

So the special array should look similar to this:

special = {
['OutfitterMinimapButton'] = true,
['BejeweledMinimapIcon'] = true,
['WIM3MinimapButton'] = true, ['Gatherer_MinimapOptionsButton'] = true,

}

Also, the only thing after the special array should be a closing bracket and a closing parenthesis. At least, that's how my file is set up.
Report comment to moderator  
Reply With Quote
Unread 04-04-10, 02:59 AM  
fru
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
First of all, thanks for this great addon! Exactly what i was looking for.

But i found a little bug trying to change the

borders = true,

setting to "false":

Message: Interface\AddOns\TidyMinimap\TidyMinimap.lua:69: bad argument #1 to 'strlower' (string expected, got nil)
Time: 04/04/10 10:52:52
Count: 5
Stack: [C]: ?
Interface\AddOns\TidyMinimap\TidyMinimap.lua:69: in function <Interface\AddOns\TidyMinimap\TidyMinimap.lua:66>
Interface\AddOns\TidyMinimap\TidyMinimap.lua:155: in function `updatePositions'
Interface\AddOns\TidyMinimap\TidyMinimap.lua:103: in function `scan'
Interface\AddOns\TidyMinimap\TidyMinimap.lua:112: in function <Interface\AddOns\TidyMinimap\TidyMinimap.lua:108>

Locals: (*temporary) = nil
(*temporary) = "string expected, got nil"
Report comment to moderator  
Reply With Quote
Unread 04-06-10, 07:47 AM  
Chrippa
A Kobold Labourer
 
Chrippa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 18
Uploads: 6
Hello, I've uploaded an update that hopefully fixes this bug.
I'm not using this addon myself anymore so this fix is untested.

Originally posted by fru
First of all, thanks for this great addon! Exactly what i was looking for.

But i found a little bug trying to change the




setting to "false":
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: