Mercurial > wow > askmrrobot
diff ui/FontString.lua @ 17:e77e01abce98
Warlords of Draenor pre-patch
author | Adam tegen <adam.tegen@gmail.com> |
---|---|
date | Mon, 13 Oct 2014 21:28:32 -0500 |
parents | ece9167c0d1c |
children |
line wrap: on
line diff
--- a/ui/FontString.lua Thu Jul 10 15:32:11 2014 -0700 +++ b/ui/FontString.lua Mon Oct 13 21:28:32 2014 -0500 @@ -23,6 +23,11 @@ self:SetFont(file, fontSize, flags) end +function AskMrRobot.FontString:IncreaseFontSize(add) + local file, fontSize, flags = self:GetFont() + self:SetFont(file, fontSize + add, flags) +end + function AskMrRobot.SetFontSize(fontString, fontSize) local file, _, flags = fontString:GetFont() fontString:SetFont(file, fontSize, flags)