View Single Post
06-30-10, 01:32 AM   #19
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
@Werr
Your first intention was correct. Follow the development steps in the tutorial step by step and look at what changed at every step. Thus you get an overview what part does what.

You can always download each version from googlecode. And see how every step behaves.

If you just download the last version its just a big mess of code. Start at step one and try to understand what I'm doing. Change stuff and hit "/reload" ingame. See what it does and try/error it out.

@Ferous
I answered in the addon comments. Just add some button.overlay code to the "ib.PostCreateIcon" function in lib.lua. You can even do "button.overlay.Hide = function() end" to make the overlay stay forever and not only appear for specific debuffs. You can apply SetTexture(), SetVertexColor() and so on. Whatever you like.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 06-30-10 at 01:46 AM.
  Reply With Quote