SexyMap

30 - Add support for GetMinimapShape

The UI community has setteled on a custom function to be set by minimap addons that returns the current shape of the minimap so that addons showing stuff at or around the minimap know which shape they have to clamp to.
See: http://www.wowwiki.com/GetMinimapShape

Would it be possible to have SexyMap set this global function, maybe with the return value being configurable via a dropdown since it allows so many different shapes?

User When Change
funkydude Mar 29, 2012 at 23:32 UTC Changed status from New to Fixed
Elkano Apr 07, 2009 at 06:30 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of inti inti Dec 22, 2011 at 09:42 UTC - 0 likes

    The function GetMinimapShape is added in SexyMap, but it is MISSPELLED!!!

    function GetMininmapShape()
    	return minimapShape or "ROUND"
    end
    
  • Avatar of LaoTseu LaoTseu Jan 06, 2011 at 01:44 UTC - 0 likes

    Here's the that I've added at the end of my local copy of Shapes.lua.

    -- Let the other addons know what the shape of the MiniMap is
    function GetMinimapShape()
    	return shapes[db.shape] and shapes[db.shape].shape or "ROUND"
    end
    
  • 2 comments

Facts

Last updated
Mar 30, 2012
Reported
Apr 07, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
6

Reported by

Possible assignees