Here's an idea: a simple moveable frame that captures minimap buttons. Frame would have lock/unlock options, frame/background color options (using UI-Tooltip art, like most easy addons), and orientation options (horizontal or vertical).
do a search for frames that are smaller then 100x100 and are attached to the minimap, and assume they are buttons
I think I would instead assume that all unknown children of the Minimap Cluster are adodn buttons. We can easily determine all the built in frames that parent under there that aren't buttons and which are buttons. Combine the lists of the ones we want and reparent them.
Or how about a FuBar addon that does this instead... :)
Because not everyone uses FuBar. I got a few friends testing BigWigs the other night: they didn't have FuBar, BigWigs button defaulted to underneith some of their existing minimap buttons. Many Ace mods work the same way, and you can't require FuBar for people using Ace mods. With a system tray, that sort of issue is resolved nicely :).
In addition, having them in an easy row makes it very easy to place them into your overal UI "feel", instead of having a minimap bristling with buttons making the whole thing look cluttered. :)
I've watched this thread for a couple of days now, since I noticed the original couple of posts, lurking. After thinking about this concept, I'd like to throw in my opinion that I think an addon like this would really rock.
Back several months ago, Ultimate-UI used to have a sort of a "button panel" that you could move around wherever you wanted on screen, that was a couple of rows of little minimap-style buttons that you could click to access several core addons of the compilation. They weren't stolen/redirected from the minimap, just additional instaces of them (or new buttons entirely for a couple of addons that didn't have minimap buttons), but the basic idea was nifty.
I'd really love to be able to throw the minimap buttons for a few things off my minimap and onto a SystemTray or ButtonDock or something that I could stick somewhere and remove some of the minimap clutter I have, letting me keep only the things I consider essential on the minimap.
If someone figures out how to make this happen, can I request the ability to make the tray either horizontal or vertical? Being able to "dock" it to either side of the screen and have a vertical tray is something I could see handy.
Okay, I've been playing around with the idea and a bit of code and it seems very do-able. I can't promise anything soon, but it seems that I should be able to get something working.
For me, the biggest part of it is actually getting the UI experience right for the user. Doing the reparenting and grid alignment is easy. I'm trying to figure out what the UI should look like and how it should behave -- which is harder.
At this point I'm thinking of a UI that enumerates all of the children of MinimapCluster and presents them in a list. All the default non-button frame will be hidden from the list, of course, so the list will only show things that I think are buttons.
Check a box and it gets reparented to the frame and positioned (resized?) to the grid.
I also think I should be able to reposition them inside the frame easily. But I'm not sure yet.
Anyway, that's what I'm thinking right now. I also think it should have a FuBar mode where you can put the buttons in a panel but I'm not sure I can do that. We'll see.
One step at a time. If I get something rough going, I'll post it to the SVN for feedback.