diff --git a/core/layout.lua b/core/layout.lua index ae306622..3dd723d6 100644 --- a/core/layout.lua +++ b/core/layout.lua @@ -103,7 +103,7 @@ function F:Mover(text, value, anchor, width, height) mover:SetHeight(height or self:GetHeight()) mover.bg = F.SetBD(mover) mover:Hide() - mover.text = F.CreateFS(mover, C.Assets.Font.Regular, 12, 'OUTLINE', text) + mover.text = F.CreateFS(mover, C.Assets.Font.Regular, 12, true, text) mover.text:SetWordWrap(true) if not C.DB[key][value] then @@ -324,7 +324,7 @@ local function CreateConsole() local xBox = F.CreateEditBox(frame, 60, 22) xBox:SetPoint('TOPRIGHT', frame, 'TOP', -12, -15) - F.CreateFS(xBox, C.Assets.Font.Regular, 11, 'OUTLINE', 'X', 'YELLOW', true, 'LEFT', -20, 0) + F.CreateFS(xBox, C.Assets.Font.Regular, 11, true, 'X', 'YELLOW', true, 'LEFT', -20, 0) xBox:SetJustifyH('CENTER') xBox.__current = 0 xBox:HookScript('OnEnterPressed', function(self) @@ -340,7 +340,7 @@ local function CreateConsole() local yBox = F.CreateEditBox(frame, 60, 22) yBox:SetPoint('TOPRIGHT', frame, 'TOP', -12, -39) - F.CreateFS(yBox, C.Assets.Font.Regular, 11, 'OUTLINE', 'Y', 'YELLOW', true, 'LEFT', -20, 0) + F.CreateFS(yBox, C.Assets.Font.Regular, 11, true, 'Y', 'YELLOW', true, 'LEFT', -20, 0) yBox:SetJustifyH('CENTER') yBox.__current = 0 yBox:HookScript('OnEnterPressed', function(self) diff --git a/modules/map/minimap.lua b/modules/map/minimap.lua index dbba70be..4b6bd907 100644 --- a/modules/map/minimap.lua +++ b/modules/map/minimap.lua @@ -141,7 +141,7 @@ function MAP:CreatePendingInvitation() invt:SetSize(300, 80) invt:Hide() F.SetBD(invt) - F.CreateFS(invt, C.Assets.Font.Regular, 14, 'OUTLINE', _G.GAMETIME_TOOLTIP_CALENDAR_INVITES, 'BLUE') + F.CreateFS(invt, C.Assets.Font.Regular, 14, true, _G.GAMETIME_TOOLTIP_CALENDAR_INVITES, 'BLUE') local function updateInviteVisibility() invt:SetShown(C_Calendar.GetNumPendingInvites() > 0) @@ -324,7 +324,7 @@ function MAP:WhoPings() local f = CreateFrame('Frame', nil, _G.Minimap) f:SetAllPoints() - f.text = F.CreateFS(f, C.Assets.Font.Bold, 14, 'OUTLINE', '', nil, true, 'TOP', 0, -4) + f.text = F.CreateFS(f, C.Assets.Font.Bold, 14, true, '', nil, true, 'TOP', 0, -4) local anim = f:CreateAnimationGroup() anim:SetScript('OnPlay', function() @@ -415,7 +415,7 @@ function MAP:SoundVolume() local f = CreateFrame('Frame', nil, _G.Minimap) f:SetAllPoints() - local text = F.CreateFS(f, C.Assets.Font.Heavy, 48, 'OUTLINE') + local text = F.CreateFS(f, C.Assets.Font.Heavy, 48, true) local anim = f:CreateAnimationGroup() anim:SetScript('OnPlay', function() diff --git a/modules/misc/grouptool.lua b/modules/misc/grouptool.lua index 151cbf10..7ea8a858 100644 --- a/modules/misc/grouptool.lua +++ b/modules/misc/grouptool.lua @@ -132,7 +132,7 @@ function GT:RaidTool_RoleCount(parent) role[i]:SetPoint('LEFT', 36 * i - 30, 0) role[i]:SetSize(16, 16) role[i]:SetTexture(roleIcons[i]) - role[i].text = F.CreateFS(frame, C.Assets.Font.Bold, 12, 'OUTLINE', '0', 'YELLOW', true) + role[i].text = F.CreateFS(frame, C.Assets.Font.Bold, 12, true, '0', 'YELLOW', true) role[i].text:ClearAllPoints() role[i].text:SetPoint('CENTER', role[i], 'RIGHT', 10, -1) end @@ -202,10 +202,10 @@ function GT:RaidTool_CombatRes(parent) F.PixelIcon(res, GetSpellTexture(20484)) res.__owner = parent - res.Count = F.CreateFS(res, C.Assets.Font.Regular, 14, 'OUTLINE', '0', nil, true) + res.Count = F.CreateFS(res, C.Assets.Font.Regular, 14, true, '0', nil, true) res.Count:ClearAllPoints() res.Count:SetPoint('LEFT', res, 'RIGHT', 10, 0) - res.Timer = F.CreateFS(frame, C.Assets.Font.Regular, 14, 'OUTLINE', '00:00', nil, true, 'RIGHT', -5, 0) + res.Timer = F.CreateFS(frame, C.Assets.Font.Regular, 14, true, '00:00', nil, true, 'RIGHT', -5, 0) res:SetScript('OnUpdate', GT.RaidTool_UpdateRes) parent.resFrame = frame @@ -220,8 +220,8 @@ function GT:RaidTool_ReadyCheck(parent) self:Hide() end) F.SetBD(frame) - F.CreateFS(frame, C.Assets.Font.Regular, 14, 'OUTLINE', _G.READY_CHECK, nil, true, 'TOP', 0, -8) - local rc = F.CreateFS(frame, C.Assets.Font.Regular, 14, 'OUTLINE', '', nil, true, 'TOP', 0, -28) + F.CreateFS(frame, C.Assets.Font.Regular, 14, true, _G.READY_CHECK, nil, true, 'TOP', 0, -8) + local rc = F.CreateFS(frame, C.Assets.Font.Regular, 14, true, '', nil, true, 'TOP', 0, -28) local count, total local function hideRCFrame() @@ -307,7 +307,7 @@ function GT:RaidTool_BuffChecker(parent) local frame = CreateFrame('Button', nil, parent) frame:SetPoint('LEFT', parent, 'RIGHT', 4, 0) frame:SetSize(28, 28) - -- F.CreateFS(frame, C.Assets.Font.Regular, 16, 'OUTLINE', '!', nil, true) + -- F.CreateFS(frame, C.Assets.Font.Regular, 16, true, '!', nil, true) frame.tex = frame:CreateTexture(nil, 'ARTWORK') frame.tex:SetSize(16, 16) frame.tex:SetPoint('CENTER')