Bazooka

41 - Text shadow option

I'd like to see an option to disable the text shadow, as I'd prefer to not have a shadow when using an outline. Here are the relevant code changes, working fine in my local copy, or I can just commit them myself if you'd like (though you'd still need to add the new "Font shadow" string to the localization system since that requires project priveleges).

Bazooka\Bazooka.lua, L.115:

      fontOutline = "",
 +    fontShadow = true,

Bazooka\Bazooka.lua, L.1519:

 +       self.text:SetShadowOffset(bdb.fontShadow and 1 or 0, bdb.fontShadow and -1 or 0)
         self.text:SetTextColor(bdb.textColor.r, bdb.textColor.g, bdb.textColor.b, bdb.textColor.a)

Bazooka\Bazooka.lua, L.1614:

 +   self.text:SetShadowOffset(Defaults.fontShadow and 1 or 0, Defaults.fontShadow and -1 or 0)
     self.text:SetWordWrap(false)

Bazooka_Options\Options.lua, L.272:

 +   fontShadow = {
 +       type = 'toggle',
 +       name = L["Font shadow"],
 +       order = 115,
 +   },
     iconSize = {
User When Change
mitch0 Mar 21, 2014 at 18:48 UTC Changed status from New to Fixed
Phanx Mar 18, 2014 at 20:33 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Phanx Phanx Mar 21, 2014 at 20:44 UTC - 1 like

    Added translations for all locales.

  • Avatar of mitch0 mitch0 Mar 21, 2014 at 18:47 UTC - 0 likes

    added in r257

  • 2 comments

Facts

Last updated
Mar 21, 2014
Reported
Mar 18, 2014
Status
Fixed - Developer made requested changes. QA should verify.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees