[Commits] [wesnoth/wesnoth] 676768: color_t: make from_rgb[a]_string return transparen...

GitHub noreply at github.com
Mon Nov 28 00:23:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 676768e44fa4d477c741532c9d02b71c72367ae8
      https://github.com/wesnoth/wesnoth/commit/676768e44fa4d477c741532c9d02b71c72367ae8
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-11-28 (Mon, 28 Nov 2016)

  Changed paths:
    M src/sdl/color.cpp

  Log Message:
  -----------
  color_t: make from_rgb[a]_string return transparent black (0,0,0,0) if color is empty

Certain areas of GUI2 can omit color keys (such as [rectangle] fill_color=). We don't want implicit visible white in that case.





More information about the Commits mailing list