Thread Tools Display Modes
08-26-16, 12:50 AM   #1
VXT
A Murloc Raider
 
VXT's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2010
Posts: 6
[LUA] XIV Databar Help

Keep it simple, was wondering if there was a way to add a font outline function to the text within XIV Databar. Think I found where to add it, but not sure what to do in terms of adding the functionality.

Will post the settings.lua code already there below.

Code:
cfg.text = {
	font = cfg.mediaFolder.."bigfont.ttf",	-- SETS THE FONT
	normalFontSize = 12,	-- SET THE SIZE OF THE TEXTS
	smallFontSize = 11,		-- SETS THE SIZE OF THE SMALLER TEXTS
}
Was hoping to add an option to make the font outlined so text would pop a little more. Thanks in advance for any help.
__________________
Thanks to Duskmoon for the awesome Sig/Avatar/Banner!
  Reply With Quote
08-26-16, 09:37 AM   #2
MilleXIV
A Deviate Faerie Dragon
 
MilleXIV's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2016
Posts: 16
XIV Databar dev here. There is currently no good way of doing this. You'd have to find every instance of SetFont in the code and add the flag to the end of it. I've tagged this in an issue for the rewrite.
  Reply With Quote
08-26-16, 10:48 PM   #3
VXT
A Murloc Raider
 
VXT's Avatar
AddOn Compiler - Click to view compilations
Join Date: Nov 2010
Posts: 6
Thanks. Someone informed me and I went ahead and changed em all. I'm not very good with LUA but can edit when pointed in the right direction. Good to know you are tagging this, though. Would be excellent to have this and clock format as true/false options in the settings.lua.

And awesome work on this addon. Very fun and visually appealing to use.
__________________
Thanks to Duskmoon for the awesome Sig/Avatar/Banner!
  Reply With Quote
08-27-16, 10:09 AM   #4
MilleXIV
A Deviate Faerie Dragon
 
MilleXIV's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2016
Posts: 16
Originally Posted by VXT View Post
Would be excellent to have this and clock format as true/false options in the settings.lua.
I'm actually doing one better and working on a full rewrite with in-game config.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » [LUA] XIV Databar Help


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