Quantcast Add outline to chatfont - WoWInterface
Thread Tools Display Modes
03-11-10, 07:48 AM   #1
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 99
Add outline to chatfont

Hello

I recently started using Basic Chat Mods ... because it's simply the best performance wise.

The only thing I miss, is an outline to the font.
I'm sure it's only a couple of lines of code, something like SetFont(font, size, style), but I can't really nail it down.

Anyone ?
  Reply With Quote
03-11-10, 11:07 AM   #2
Terranell
Premium Member
Premium Member
Join Date: Apr 2006
Posts: 52
I asked the same thing a while ago and mrruben5 and nightcracker helped with:

Code:
for i = 1, 7 do
    local chat = _G["ChatFrame"..i]
    local font, size = chat:GetFont()
    chat:SetFont(font, size, "THINOUTLINE")
    chat:SetShadowOffset(0, 0)
    chat:SetShadowColor(0, 0, 0, 0)
end
Just pop it in your BasicChatMods .lua file, or another addon's .lua or in it's own little addon.

You can comment out the two lines relating to shadow if you don't want the shadows.
  Reply With Quote
03-11-10, 11:38 AM   #3
Sideshow
A Warpwood Thunder Caller
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 99
What a great help that was


Thanks
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Add outline to chatfont

Thread Tools
Display Modes

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