Download
(2Kb)
Download
Updated: 01-20-13 03:15 PM
Pictures
File Info
Updated:01-20-13 03:15 PM
Created:10-29-10 07:30 AM
Downloads:3,569
Favorites:3
MD5:

Square

Version: 2.0
by: locan [More]

This is a very lightweight, very simple addon that makes your minimap square and hides (by default) the:

  • Zone text
  • Zoom in/out button
  • World map button
  • N at the top of the minimap
  • Calendar button
  • Tracking button

and repositions/reskins the:
  • Mail icon
  • Battlegrounds icon
  • LFG icon
  • Dungeon difficulty indicator

It also allows you to use the mouse wheel to zoom in and out.

There is no in-game configuration, but I've added comments to the lua file to make it pretty easy to tweak. I've also added custom positions for the tracking button and calendar button, even though they're hidden by default.

This will not allow you to reposition, resize, reskin or re-anything your minimap. The goal of this addon was to make a square minimap that looks okay with as little code as possible.

This is my first addon, so I'm kind of learning as I go, but it should be pretty stable and bug-free right now.

Things I might add:
  • Slash commands, if I can figure out how
  • Other button layouts, if I have the time

Thanks for trying it out, any feedback is definitely welcome, good or bad, because I'm just starting to get my hands dirty with this Lua business and I've got a lot left to learn.

Changes:

1.1:
  • Changed default offset of icons from minimap
  • Added a border

1.2:
  • Changed dungeon difficulty indicator positioning

2.0:
  • The biggest update yet! Updated for MoP, and also added functions to scale and position the minimap (because the tiny minimap was hurting my eyes). Also, because of the new bigger minimap, the quest tracking frame and buff frames have been tweaked a bit too. All of this new stuff is disabled by default, so if you don't want it, don't worry about it! Not sure if anyone's still using this addon, but if you are, you can breathe a sigh of relief.

Thanks to Zerpy for help with the border code.

Optional Files (0)


Post A Reply Comment Options
Unread 02-12-13, 06:56 PM  
noxtrinity
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank you for this, so clean and simple, exactly what I'm looking for.
Report comment to moderator  
Reply With Quote
Unread 01-10-11, 05:33 AM  
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view AddOns

Forum posts: 440
File comments: 69
Uploads: 7
Love your minimap. You did a great job with keeping it clean, and only adding what was necessary. It was far easier to fit into my UI than most other minimaps out there.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 09:54 AM  
locan
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 7
Uploads: 1
Originally posted by jessica
Not movable right?
Correct, it's fixed in the normal minimap position.
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 09:48 PM  
jessica
A Cyclonian

Forum posts: 49
File comments: 142
Uploads: 0
Not movable right?
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 02:23 PM  
locan
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 7
Uploads: 1
Originally posted by Zerpy
for borders i use this here:

Code:
local bordersize = 1 
local backdrop = {bgFile = 'Interface\\Buttons\\WHITE8x8', edgeFile = 'Interface\\Buttons\\WHITE8x8', edgeSize = bordersize, insets = {left = -bordersize, right = -bordersize, top = -bordersize, bottom = -bordersize}}
    Minimap:SetBackdrop(backdrop)
    Minimap:SetBackdropColor(0, 0, 0)
    Minimap:SetBackdropBorderColor(0, 0, 0)
Thanks a bunch, I'll play around with it a bit and update the addon.
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 11:54 AM  
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view AddOns

Forum posts: 86
File comments: 75
Uploads: 17
for borders i use this here:

Code:
local bordersize = 1 
local backdrop = {bgFile = 'Interface\\Buttons\\WHITE8x8', edgeFile = 'Interface\\Buttons\\WHITE8x8', edgeSize = bordersize, insets = {left = -bordersize, right = -bordersize, top = -bordersize, bottom = -bordersize}}
    Minimap:SetBackdrop(backdrop)
    Minimap:SetBackdropColor(0, 0, 0)
    Minimap:SetBackdropBorderColor(0, 0, 0)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: