Thread: Fading Textures
View Single Post
08-16-18, 02:30 AM   #4
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
This is the frame fader I use in rLib which is using animations.
https://github.com/zorker/rothui/blo...framefader.lua
Example call from one of my addons:
https://github.com/zorker/rothui/blo...r/core.lua#L48

If you need an example for a drag frame you can check rLib too.
https://github.com/zorker/rothui/blo.../dragframe.lua
https://github.com/zorker/rothui/blo.../core.lua#L107
__________________
| 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 : 08-16-18 at 02:32 AM.
  Reply With Quote