View Single Post
06-27-17, 04:29 AM   #10
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Originally Posted by lightspark View Post
Please, take a look at the code block I posted. I used your code, but fixed layers.
My bad haha...

I only read your comment, not code

Originally Posted by lightspark View Post
I'd either put your texture on a lower layer: ARTWORK, or move your text to an higher layer: HIGHLIGHT

Originally Posted by lightspark View Post
Also, you can assign layers and sublevels by passing them to CreateTexture and CreateFontString. I dunno why you're using SetDrawLayer.
When I checked an API on wowprogramming and wowpedia, CreateFontString didn't seem to have a sublevel argument

So I chose to use SetDrawLayer instead of setting layer and sublevel argument on Creation.

But, since I know that fontstrings are always set to have highest sublevel, I don't need to use SetDrawLayer like you said

Thanks for clarification.

Last edited by Layback_ : 06-27-17 at 04:32 AM.
  Reply With Quote