Originally Posted by Kuthumii
In eepanels2, is there a way to make the panels fade in and out? I believe I have heard there is a way to make it fade in when you enter combat and out when you leave combat.
What I am looking for is a way to make it fade in, say, when I make Omen2 visable. When I click the Omen2 icon on Fubar, I want Omen2 to pop up aswell as a panel that is behind it to come up. Is this possible.
I would also like to have one only visable if I have something targeted. (The panel would be behind my target.)
Is there a way to make it fade in in a similar fashion to the way VisualThemes forces things to fade in?
|
I do something similar, though I'm using kgPanels, so I'm not sure if eepanels also has the same functionality. In my in-development UI, I have a panel that "holds" Omen and either the Party frames or Grid. It disappears when I'm not grouped.
The first step was finding out the "name" of the Omen frame, since that will only appear if I'm grouped, and used (then) as a trigger for the panel. kgPanels has the option to keybind a "frame explorer," which I did to a never-used hotkey. Moused-over omen, hit the hotkey combo, and viola, I have a frame name.
That frame name was then set as the "parent" of the panel. Children are only shown if the parent is shown. Yes, it's a little counter-intuitive, since the panels "contents" are actually the "parent" in the context of kgPanels behavior. Nonetheless, it easily allowed my "group" panel to appear and disappear as needed!
Making a panel fade would be a little more difficult (you might have to look into some of the custom scripting available, and I'm not at home, so I can't help), but probably along the same type of line!