WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   [LUA] XIV Databar Help (https://www.wowinterface.com/forums/showthread.php?t=54291)

VXT 08-26-16 12:50 AM

[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.

MilleXIV 08-26-16 09:37 AM

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.

VXT 08-26-16 10:48 PM

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.

MilleXIV 08-27-16 10:09 AM

Quote:

Originally Posted by VXT (Post 318337)
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.


All times are GMT -6. The time now is 01:38 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI