View Single Post
04-09-09, 05:13 PM   #3
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Originally Posted by Dawn View Post
Just to explain it some more. The reason why I use FrameStrata is the art.

I need to achieve those "layers":

1 - background texture art (backdrop so to say, but it's a texture)
2 - self.health/power.bg > background behind health/power bar
3 - health/power bar texture
4 - art
5 - oUF Tags (...fontstrings ... for hp/power value, name, etc.)
6 - glow for the art

I hope that explains it a bit better. I already have it working, except for #5 - the fontstrings/tags are below the art and not visible.

I use a different texture for basically any frame (player, target, ToT, ....).
The trick is always working with helper or anchorframes. Just create a helper frame with all the level needed and make the fontstring use this layer as parent. Problem solved.
Glowing Fog is special. You always need a frame above that since models will be always top of that layer. But FrameLevel can you solve most issues here.

You can have all Helper Frames on "BACKGROUND" except for frames that must be above the glow. Those must be on "LOW" strata or atleast one above the model. Sepereate those layers inbetween by using FrameLevel. I did this in rBottomBarStyler btw.

The FontDraw*** layer does nothing. Helper frames do all tha magic
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

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