[Commits] [wesnoth/wesnoth] 43ac6c: refactor gui2::register_widget

GitHub noreply at github.com
Wed Dec 7 03:14:05 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 43ac6ca037ef1ee8fc7608ef8185a57e6de046b1
      https://github.com/wesnoth/wesnoth/commit/43ac6ca037ef1ee8fc7608ef8185a57e6de046b1
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

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

  Log Message:
  -----------
  refactor gui2::register_widget

instead of registering a function to read all widget definitions from the
game config, the widgets now only register a function to read a single widget
definition form a wml document. This is needed to add widget definitions later.


  Commit: 118d18ec7a016b81ee6fc540eae8f8f7c2945431
      https://github.com/wesnoth/wesnoth/commit/118d18ec7a016b81ee6fc540eae8f8f7c2945431
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/gui/core/register_widget.hpp
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/settings.hpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  add lua add_widget_definition function

http://gna.org/bugs/?25337


  Commit: 283fd32077b7c9c9ed129799ada2a4e037eaf53b
      https://github.com/wesnoth/wesnoth/commit/283fd32077b7c9c9ed129799ada2a4e037eaf53b
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/settings.hpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  remove added widget definitions on lua kernel destruction.


  Commit: 1202eb160edd1a454d09e3c6f9fcda90f432670b
      https://github.com/wesnoth/wesnoth/commit/1202eb160edd1a454d09e3c6f9fcda90f432670b
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M src/gui/core/register_widget.hpp
    M src/gui/widgets/listbox.cpp
    M src/gui/widgets/settings.cpp
    M src/gui/widgets/settings.hpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  Merge pull request #895 from gfgtdf/master


Compare: https://github.com/wesnoth/wesnoth/compare/95ab15c13cb4...1202eb160edd


More information about the Commits mailing list