|
BongosMinimap_Advanced
Advanced features for addons developers and art creators
Addon developers and art creators may benefit from some advanced features that Bongos3 Minimap provides. Here is what you can expect for now: Register your own Minimap ButtonsYou may register your addons minimap buttons using Bongos Minimap. Any registered frame will become movable and its position will be saved in the Bongos profiles. If you find this useful, then please follow these simple steps:
## OptionalDeps: Bongos_Minimap if BongosMinimap then
BongosMinimap:RegisterButtons(frame1, frame2,...)
endNotes
. Add your own custom skins to Bongos MinimapBongos Minimap comes with a nice skins package included. But, if you want to use your own textures, then this tutorial should be helpful.
BongosMinimap:RegisterSkin(
"Skin Name",
"Round Border Texture",
"Square Border Texture",
"Thickness"
). Why the Round/Square Textures?Bongos Minimap provides a large number of minimap shapes. To do this without thousands of textures, Bongos Minimap 'cuts' the textures in 4 pieces and uses them alternately to create the various shapes. (ex: Corner-BottomLeft is done using 3 square pieces and 1 round) What is the thickness?Some textures are really thin (like the Tooltip one), but others may be really tick (like Blizzard). Bongos Minimap can't "guess" the thickness of the textures, but the Bongos minimap bar needs to be sized correctly. This is the way I found to solve the problem: you must provide a number (0 or higher) that represents the border thickness. Just try different numbers until you find the correct one! Here is the thickness of some default skins:
|
Sign in to add a comment