[wesnoth-commits] [wesnoth/wesnoth] 5b71e1: GUI2/Dispatcher: simplified callback function alia...

Charles Dang noreply at github.com
Tue Oct 13 12:30:30 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5b71e1b55c1047e4d50565c2c5f91312e5a60c70
      https://github.com/wesnoth/wesnoth/commit/5b71e1b55c1047e4d50565c2c5f91312e5a60c70
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M src/gui/core/event/dispatcher.hpp

  Log Message:
  -----------
  GUI2/Dispatcher: simplified callback function aliases with an alias template

This guarantees all events have the same initial four parameters. Also improved documentation.


  Commit: d43ef02088da07ea6574d9da1742a7236d5ebdbb
      https://github.com/wesnoth/wesnoth/commit/d43ef02088da07ea6574d9da1742a7236d5ebdbb
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/handler.cpp

  Log Message:
  -----------
  Replace stray uses of Uin8 with uint8_t


  Commit: ca84e724ad6991ec29b6fe611d49532f64917e6b
      https://github.com/wesnoth/wesnoth/commit/ca84e724ad6991ec29b6fe611d49532f64917e6b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M src/gui/core/event/dispatcher.hpp

  Log Message:
  -----------
  GUI2/Dispatcher: code formatting


Compare: https://github.com/wesnoth/wesnoth/compare/af323dcb9885...ca84e724ad69



More information about the Commits mailing list