[Commits] [wesnoth/wesnoth] 188231: Refactored SDL_TTF constants out of ttext

GitHub noreply at github.com
Mon Oct 17 09:54:27 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 188231cd030e8db464866668d2f6c1d42c5a36fc
      https://github.com/wesnoth/wesnoth/commit/188231cd030e8db464866668d2f6c1d42c5a36fc
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-10-17 (Mon, 17 Oct 2016)

  Changed paths:
    M src/font/pango/font.hpp
    M src/font/text.cpp
    M src/font/text.hpp
    M src/gui/core/canvas.cpp
    M src/gui/core/widget_definition.hpp
    M src/gui/widgets/helper.cpp
    M src/gui/widgets/helper.hpp
    M src/gui/widgets/text.hpp

  Log Message:
  -----------
  Refactored SDL_TTF constants out of ttext

Do note that for some reason using the default_bold label definition with this change made an underline
appear. I changed the style checks to use == instead of & (bitwise AND) and that fixed the problem. If
that's wrong, someone feel free to fix that.





More information about the Commits mailing list