[wesnoth-commits] [wesnoth/wesnoth] c67e55: Cleaned up usage of MP Create Game and MP Staging

Charles Dang noreply at github.com
Fri Dec 11 15:27:09 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c67e55efed2ef37a52aa271506a34ec7c701a0f4
      https://github.com/wesnoth/wesnoth/commit/c67e55efed2ef37a52aa271506a34ec7c701a0f4
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/gui/dialogs/multiplayer/mp_create_game.cpp
    M src/gui/dialogs/multiplayer/mp_create_game.hpp

  Log Message:
  -----------
  Cleaned up usage of MP Create Game and MP Staging


  Commit: 9b3d34ed20c0f7cec1db9c56e65c84c2d9288eb0
      https://github.com/wesnoth/wesnoth/commit/9b3d34ed20c0f7cec1db9c56e65c84c2d9288eb0
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M src/gui/widgets/label.cpp
    M src/gui/widgets/label.hpp

  Log Message:
  -----------
  GUI2/Label: more misc cleanup


  Commit: 2a152a6f66442345b93f983f2027db21cb352c56
      https://github.com/wesnoth/wesnoth/commit/2a152a6f66442345b93f983f2027db21cb352c56
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M src/gui/widgets/label.cpp

  Log Message:
  -----------
  GUI2/Label: pull initial values from the builder where possible


  Commit: 22647c388a8215c62a2f627ed67d0d3166904ce1
      https://github.com/wesnoth/wesnoth/commit/22647c388a8215c62a2f627ed67d0d3166904ce1
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-12-12 (Sat, 12 Dec 2020)

  Changed paths:
    M src/gui/widgets/label.cpp
    M src/gui/widgets/label.hpp

  Log Message:
  -----------
  GUI2/Label: properly overload update_canvas

Previously, I was handling updating the label alpha in the set_text_alpha function, which meant it needed
to be called from the builder in order for that variable to be properly set on a newly constructed label.
This properly adds it to the update_canvas and changes set_text_alpha to match the other setter formats
that require canvas updates.


Compare: https://github.com/wesnoth/wesnoth/compare/63b16ad6e19c...22647c388a82



More information about the Commits mailing list