The minimap shape is defined by a mask texture. It's unique to the minimap, unfortunately.
That said, any image can be used as a minimap mask. White areas are full color, transparent are transparent. Create a PNG of your favorite shape, convert it to a BLP, and it can be a minimap mask.
Edit: Also in this update are button dragging shapes. You can get the buttons to follow any shape you want. There's circle/square/diamond in so far, and other shapes would be trivial to add. Maybe I should add triangle/hexagon masks?
Always sexymap dont memorize font type and i have to check it each time i log. if i reload ui, it goes back default font :( so i select my font and it's ok, until i disconnect or reloadui...
if u could have one look at this when you will have little time, i will be glad :) because i like have location bar . Anyway, this doesnt break addon for me, just little annoying.
ps: i use clearfont2
EDIT: it works good if i use both clearfont2 and SHAREDMEDIA.
I'm afraid I'm getting several of these on login for different shapes:
Message: AceLocale-3.0: SexyMap: Missing entry for 'Rounded - Top Left'
Debug:
...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:19:
...ddOns\AtlasLoot\Libs\AceLocale-3.0\AceLocale-3.0.lua:18
sexymap\Shapes.lua:211: in main chunk
In addition to this:
Message: ..\AddOns\sexymap\ZoneText.lua line 185:
bad argument #2 to 'max' (number expected, got nil)
Annoying little thing - when trying to position my minimap buttons the mouse becomes "locked" on a button and won't release without a reloadui.
Yeah, that happens when the mouse is dragging a frame that gets hidden. Blizzard really ought to prevent that at the UI level since you're kind of screwed when it happens.
Is there a TexBrowser thread? Where is the best place to discuss issues with it?
Hmmm, it doesn't pick up all minimap buttons - e.g. Closetgnome, Grid, AuditorFu and oRa2. Is there anything that could be done about this? Showing minimap buttons on hover is possible the most awesome thing I've come across.
I'll see about hooking the Click handlers for those buttons to force a drag stop, so even if you get that dragging behavior, you can stop it by hovering and clicking again.
The button grabbing should happen periodically, and continually. Do you have any other mods that attempt to control minimap buttons?
I'll see about getting the ZoneText module fixed up, as well.
It would be nice if we could somehow define a circle or radius that is used to crop square textures to a circular shape, so that circular minimaps are not limited to using circular textures for their effects.
[2008/10/31 19:27:37-71-x1]: SexyMap\Buttons.lua:416: attempt to perform arithmetic on local 'by' (a nil value)
SexyMap\Buttons.lua:429: in function `UpdateDraggables'
SexyMap\Buttons.lua:454: in function `MakeMovables'
SexyMap\Buttons.lua:256: in function <Interface\AddOns\SexyMap\Buttons.lua:238>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:377: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:435: in function <...ce\AddOns\Acheron\Libs\AceAddon-3.0\AceAddon-3.0.lua:421>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:991: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:241: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:389: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Yeah, that happens when the mouse is dragging a frame that gets hidden. Blizzard really ought to prevent that at the UI level since you're kind of screwed when it happens.
Is there a TexBrowser thread? Where is the best place to discuss issues with it?
I fixed this bug in many addons (including Omen2) simply by hooking the OnHide of the button/frame you are dragging to also call :StopMovingOrSizing()
Thanks antiarc for telling me how to input my own textures. im having alot of fun. however when i click on the texbrowser button i get this error
[2008/10/31 23:24:26-104-x1]: sexymap\Buttons.lua:416: attempt to perform arithmetic on local 'by' (a nil value)
sexymap\Buttons.lua:429: in function `UpdateDraggables'
sexymap\Buttons.lua:454: in function `MakeMovables'
sexymap\Buttons.lua:256: in function <Interface\AddOns\sexymap\Buttons.lua:238>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:377: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:435: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:421>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:991: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:241: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:389: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Is that funtion still not available? Hope the bug report helps! thanks for the fun addon!
I have the latest version of ace3 installed as well.
Also a tiny suggestion for this great mod.
Give us the option to resize the image. Not just scale like you have now but the height and width of the images. I noticed that some of my circle shapes aren't perfectly circle. A quick easy fix would be nice to have in game instead of having to log out and fix in gimp/photoshop.
another thing i noticed is when i package up my ui and let others use it. The default profile does not load up first. It makes a special profile for that person specifically
It would be nice if we could somehow define a circle or radius that is used to crop square textures to a circular shape, so that circular minimaps are not limited to using circular textures for their effects.
Indeed would love that too, otherwise square shape with circle art just doesn't fit, ah well, switching to circle shape for now, loving this addon.
I've noticed an issue with a few minimap addons in 3.0 that seems to happen more consistently with SexyMap: I run with minimap rotation enabled, and every time the UI starts up, there's a "N" at the top of the map either instead of or in addition to the N that rotates to indicate the actual north direction. If I toggle "rotate minimap" off and back on in the blizzard options, it stops being stupid and acts as expected.
I suspect this is a Blizzard bug, but Blizzard probably doesn't care because the issue does not occur with the default minimap for some reason. Perhaps there's some kind of kludge/workaround that minimap addons can use, like toggling minimap rotation themselves, or replacing the default minimap sooner, later, or in a different way?
That said, any image can be used as a minimap mask. White areas are full color, transparent are transparent. Create a PNG of your favorite shape, convert it to a BLP, and it can be a minimap mask.
Edit: Also in this update are button dragging shapes. You can get the buttons to follow any shape you want. There's circle/square/diamond in so far, and other shapes would be trivial to add. Maybe I should add triangle/hexagon masks?
Always sexymap dont memorize font type and i have to check it each time i log. if i reload ui, it goes back default font :( so i select my font and it's ok, until i disconnect or reloadui...
if u could have one look at this when you will have little time, i will be glad :) because i like have location bar . Anyway, this doesnt break addon for me, just little annoying.
ps: i use clearfont2
EDIT: it works good if i use both clearfont2 and SHAREDMEDIA.
In addition to this:
problem gone after some change or reloadui and bar become good size.
Oh, and the zone button won't go away no matter how much I tell it too.
Yeah, that happens when the mouse is dragging a frame that gets hidden. Blizzard really ought to prevent that at the UI level since you're kind of screwed when it happens.
Is there a TexBrowser thread? Where is the best place to discuss issues with it?
Great job, Antiarc!
The button grabbing should happen periodically, and continually. Do you have any other mods that attempt to control minimap buttons?
I'll see about getting the ZoneText module fixed up, as well.
New TexBrowser topic this away ---> here.
[2008/10/31 19:27:37-71-x1]: SexyMap\Buttons.lua:416: attempt to perform arithmetic on local 'by' (a nil value)
SexyMap\Buttons.lua:429: in function `UpdateDraggables'
SexyMap\Buttons.lua:454: in function `MakeMovables'
SexyMap\Buttons.lua:256: in function <Interface\AddOns\SexyMap\Buttons.lua:238>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:377: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:435: in function <...ce\AddOns\Acheron\Libs\AceAddon-3.0\AceAddon-3.0.lua:421>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:991: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:241: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:389: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
---
I fixed this bug in many addons (including Omen2) simply by hooking the OnHide of the button/frame you are dragging to also call :StopMovingOrSizing()
[2008/10/31 23:24:26-104-x1]: sexymap\Buttons.lua:416: attempt to perform arithmetic on local 'by' (a nil value)
sexymap\Buttons.lua:429: in function `UpdateDraggables'
sexymap\Buttons.lua:454: in function `MakeMovables'
sexymap\Buttons.lua:256: in function <Interface\AddOns\sexymap\Buttons.lua:238>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[1]":9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?:
AceAddon-3.0\AceAddon-3.0.lua:365: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:377: in function `EnableAddon'
AceAddon-3.0\AceAddon-3.0.lua:435: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:421>
<in C code>: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:991: in function `UIParentLoadAddOn':
Interface\FrameXML\UIParent.lua:241: in function `CombatLog_LoadUI':
Interface\FrameXML\UIParent.lua:389: in function `UIParent_OnEvent':
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Is that funtion still not available? Hope the bug report helps! thanks for the fun addon!
I have the latest version of ace3 installed as well.
Also a tiny suggestion for this great mod.
Give us the option to resize the image. Not just scale like you have now but the height and width of the images. I noticed that some of my circle shapes aren't perfectly circle. A quick easy fix would be nice to have in game instead of having to log out and fix in gimp/photoshop.
another thing i noticed is when i package up my ui and let others use it. The default profile does not load up first. It makes a special profile for that person specifically
I´m having a wee bit of trouble getting rid of the button for Rock - Addon Preferences. I want it to never show.
Indeed would love that too, otherwise square shape with circle art just doesn't fit, ah well, switching to circle shape for now, loving this addon.
/flirt
I suspect this is a Blizzard bug, but Blizzard probably doesn't care because the issue does not occur with the default minimap for some reason. Perhaps there's some kind of kludge/workaround that minimap addons can use, like toggling minimap rotation themselves, or replacing the default minimap sooner, later, or in a different way?