View Single Post
02-06-15, 10:34 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by 748248721 View Post
is there a way to make them circular too? ( do i have to change stuff from each addons?)
The addons whose icons are square are probably just using built-in game textures (eg. Skada uses "Interface/Icons/Spell_Lightning_LightningBolt01") rather than custom texture files (eg. BigWigs). If you want them to be circular, you'd need to make a circular version of the icon, and then edit the addon's Lua code to make it use that instead of the built-in icon.

Your other option would be to edit the code of MBB and/or LibDBIcon to use SetPortraitToTexture so the icons were cropped to a cicular shape automatically -- but this only works with BLP-format textures, so it would not work for addons that provide their own icons in TGA format.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote