Thread Tools Display Modes
02-21-10, 06:38 PM   #1
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 96
any fixes? faded (de)buffs

any way to show the overlay or hide the buffs completely?


Last edited by alimjocox : 02-21-10 at 07:42 PM.
  Reply With Quote
02-21-10, 07:33 PM   #2
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
You're exaggerating a little, don't you?
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote
02-21-10, 07:44 PM   #3
alimjocox
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 96
well making a UI is about getting a nicer look and feel to ur preference. but i was just asking
  Reply With Quote
02-22-10, 02:46 AM   #4
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Just hook a function on the SetAlpha-Call of your party frames (or whatever frame) and if the Alpha goes under a certain value just do self.Buffs:Hide() or sth similar.

Code:

  --FUNC
  local function mySetAlphaFunc(self, a)
    --do stuff
    am("setalpha")
    if a < 99 then
      self.Buffs:Hide()
      self.Debuffs:Hide()
    else
      self.Buffs:Show()
      self.Debuffs:Show()
    end
  end

  --CALL
  --hook self in the style func of your liking
  hooksecurefunc(self, "SetAlpha", mySetAlphaFunc)
__________________
| 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 : 02-22-10 at 02:53 AM.
  Reply With Quote
02-22-10, 05:20 AM   #5
v6o
An Onyxian Warder
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 399
If you look at the image, the overlay/border is still shown but at the same alpha as the icon making it harder to see.

The thing about children is they inherit the parents alpha value, so if the debuff icon is 50%, the overlay/border is also 50%. There's no way around this unless you change the parent but then you'd also find that they don't do as their original parent did, eg hide, show or move unless you somehow hook them to do what their original parent do.
__________________
I stopped playing back World of Warcraft in 2010 and I have no plans on returning.
This is a dead account and if you want to continue any of my addons or make a fork then feel free to do so.
This is your permission slip.

If you need to contact me, do so on Twitter @v6ooo

Best regards, v6.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » any fixes? faded (de)buffs


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off