[Commits] [wesnoth/wesnoth] 7af8fd: GUI2/Styled Widget: removed now-unnecessary friend...

GitHub noreply at github.com
Fri Aug 25 02:55:53 UTC 2017


  Branch: refs/heads/some_gui2_refactoring
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7af8fda92db43da34ed57e1acb5ade55d2bd35af
      https://github.com/wesnoth/wesnoth/commit/7af8fda92db43da34ed57e1acb5ade55d2bd35af
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

  Changed paths:
    M src/gui/widgets/styled_widget.hpp

  Log Message:
  -----------
  GUI2/Styled Widget: removed now-unnecessary friend declaration for the window class

The refactoring referred to in the comments has now been done (ea15d450fd9).


  Commit: 7b9337293a1772895b4e2629d7be441b72c1a5f5
      https://github.com/wesnoth/wesnoth/commit/7b9337293a1772895b4e2629d7be441b72c1a5f5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

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

  Log Message:
  -----------
  GUI2/Listbox: pass list grid builder directly to constructor

Also gave the `select` argument a default value and re-ordered the placement type to be the second argument.


  Commit: ea08c0437a7c5c7ecdaa1ef587b5179ace943f98
      https://github.com/wesnoth/wesnoth/commit/ea08c0437a7c5c7ecdaa1ef587b5179ace943f98
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

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

  Log Message:
  -----------
  GUI2/Generator: use static_assert to have actual compile-time assertions


  Commit: ca5ac9bc9abef367159a80a4b9b65af2a2acbd1b
      https://github.com/wesnoth/wesnoth/commit/ca5ac9bc9abef367159a80a4b9b65af2a2acbd1b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

  Changed paths:
    M src/gui/widgets/generator.cpp
    M src/gui/widgets/generator_private.hpp

  Log Message:
  -----------
  GUI2/Generator: formatting cleanup


  Commit: a4dab46e0121685d760028c18e54fd44455e8e81
      https://github.com/wesnoth/wesnoth/commit/a4dab46e0121685d760028c18e54fd44455e8e81
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-08-25 (Fri, 25 Aug 2017)

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

  Log Message:
  -----------
  GUI2/Window: handle CLOSE_WINDOW event with a signal handler


Compare: https://github.com/wesnoth/wesnoth/compare/1434d7261911...a4dab46e0121


More information about the Commits mailing list