[Commits] [wesnoth/wesnoth] 0d180d: color_t: re-add the '#' prefix to to_hex_string
GitHub
noreply at github.com
Tue Nov 29 23:17:03 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 0d180df6c6266203fa21f5aa9336c7abd0d822b8
https://github.com/wesnoth/wesnoth/commit/0d180df6c6266203fa21f5aa9336c7abd0d822b8
Author: Charles Dang <exodia339 at gmail.com>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
M src/sdl/color.cpp
M src/sdl/color.hpp
Log Message:
-----------
color_t: re-add the '#' prefix to to_hex_string
I had figured previously it would be better to handle adding it in a separate function, but it might be
easier just to have it handled here.
Commit: fd8e712952673d6f8e1bc55d1f0f70355a690978
https://github.com/wesnoth/wesnoth/commit/fd8e712952673d6f8e1bc55d1f0f70355a690978
Author: Charles Dang <exodia339 at gmail.com>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
M src/sdl/color.cpp
Log Message:
-----------
color_t: fixup to_hex_string
Sometimes it was returning the wrong number of characters since setw wasn't being call on the stream
before every color.
Commit: bb5d3078d918ce2a90cdbedea745c6bc34a14c66
https://github.com/wesnoth/wesnoth/commit/bb5d3078d918ce2a90cdbedea745c6bc34a14c66
Author: Charles Dang <exodia339 at gmail.com>
Date: 2016-11-30 (Wed, 30 Nov 2016)
Changed paths:
M src/font/text_formatting.cpp
M src/font/text_formatting.hpp
M src/team.cpp
Log Message:
-----------
Phased out color2hexa and unit32_to_pango_color in favor of their color_t counterparts
Compare: https://github.com/wesnoth/wesnoth/compare/5d181a291207...bb5d3078d918
More information about the Commits
mailing list