[Commits] [wesnoth/wesnoth] 3f0485: Store link colour as color_t

GitHub noreply at github.com
Sun Dec 11 05:19:00 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3f0485aaa4cc5964e64f34ae26bf2c50159a2494
      https://github.com/wesnoth/wesnoth/commit/3f0485aaa4cc5964e64f34ae26bf2c50159a2494
  Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
  Date:   2016-12-11 (Sun, 11 Dec 2016)

  Changed paths:
    M src/font/text.cpp
    M src/font/text.hpp
    M src/gui/auxiliary/typed_formula.hpp
    M src/gui/core/canvas.cpp
    M src/gui/widgets/label.cpp
    M src/gui/widgets/label.hpp
    M src/gui/widgets/styled_widget.cpp
    M src/gui/widgets/styled_widget.hpp

  Log Message:
  -----------
  Store link colour as color_t

Currently, formulas treat a colour as an array of components.
This could be improved.


  Commit: 9f102269bca9420937704c9266dfc990411d1cb9
      https://github.com/wesnoth/wesnoth/commit/9f102269bca9420937704c9266dfc990411d1cb9
  Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
  Date:   2016-12-11 (Sun, 11 Dec 2016)

  Changed paths:
    M src/color.hpp
    M src/font/standard_colors.cpp

  Log Message:
  -----------
  Move inverse function into color_t


  Commit: aa6ee42db5d1564f4dcdbf2bc81d4a317240ee01
      https://github.com/wesnoth/wesnoth/commit/aa6ee42db5d1564f4dcdbf2bc81d4a317240ee01
  Author: Celtic Minstrel <celtic.minstrel.ca at gmail.com>
  Date:   2016-12-11 (Sun, 11 Dec 2016)

  Changed paths:
    M src/image_modifications.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Remove adjust_surface_alpha_formula

This was only used in one place and made the sdl/utils.cpp file
depend on the WFL (formula) engine, which is undesirable.

Since it was only used in one place, the implementation was
moved to that one place instead.


Compare: https://github.com/wesnoth/wesnoth/compare/76f725415d3f...aa6ee42db5d1


More information about the Commits mailing list