This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Skada, font, shadow
Post Reply
Return to board index
Post by
Wikipedia
I'm trying to remove the shadow of the fonts. I've been fiddling around in 'SpecializedLibBars-1.0.lua' I've managed to change the basic appearences of the fonts.
But the shadow is causing some trouble. Neither 'SetShadowColor(0,0,0,0)' nor 'SetShadowOffset(0, 0)' works, and these 2 are the only ways I know.
Am I even searching in the right spot? I've not checked through the other Libs as I find it unneccesary when I don't know what to look for.
Post by
pelf
Is it using a font format template or whatever those are called?
Post by
Wikipedia
wut? You know I'm not that into lua :>
Post by
pelf
I don't have the experience in implementation to use the right words, so I can't really convey what I mean properly; it might be completely wrong anyway.
Where did all our addon coders go? Failing finding someone here, you could post at the coding forums at wowace or wowinterface.
Post by
Wikipedia
I wrote in the addons comment section over at wowace, but the author seems to be non-responding atm..
Post by
Safturento
If you go into BarDisplay.lua and find ~ line 249 you'll see
-- Default color text.
bar.label:SetTextColor(1,1,1,1)
bar.timerLabel:SetTextColor(1,1,1,1)
swap it out with:
-- Default color text.
bar.label:SetTextColor(1,1,1,1)
bar.label:SetShadowOffset(0, 0)
bar.timerLabel:SetTextColor(1,1,1,1)
bar.timerLabel:SetShadowOffset(0, 0)
edit: or if you have the text color set to class, then edit the section like 5 or 6 lines above it to have the shadow.
Post by
Wikipedia
I<3Saft.
i knew i were looking at the wrong place, but yeah-yeah :)
Post by
219295
This post was from a user who has deleted their account.
Post by
Wikipedia
Line 208 in Core.lua
module.string:SetFont(font, size,flags)
replace 'flags' with what you want, in this case OUTLINE
module.string:SetFont(font, size,'OUTLINE')
and use the same method that Saft wrote above, SetShadowOffset.
Post by
219295
This post was from a user who has deleted their account.
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.