[Commits] [wesnoth/wesnoth] 3c7dc8: adjust widget size to linked size if linked size ...

GitHub noreply at github.com
Thu Jan 28 02:59:13 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3c7dc8edd4db420c8ca811b7ab01e8b36ed6ceff
      https://github.com/wesnoth/wesnoth/commit/3c7dc8edd4db420c8ca811b7ab01e8b36ed6ceff
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M src/gui/widgets/widget.cpp
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  adjust widget size to linked size  if linked size was already calculated.

this is mainly for list and treeviews elements that are added at
runtime.


  Commit: c402d4cc7eb562db009503fcb580f1d34131dd22
      https://github.com/wesnoth/wesnoth/commit/c402d4cc7eb562db009503fcb580f1d34131dd22
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

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

  Log Message:
  -----------
  also layout folded treeview nodes

and use their width for calculation.


  Commit: 498581d41233a679fbffd3d285917c9e182a12a0
      https://github.com/wesnoth/wesnoth/commit/498581d41233a679fbffd3d285917c9e182a12a0
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M src/unit_helper.cpp

  Log Message:
  -----------
  fix colors for unit restitance

previously they used named colors which depend on the pango version
used. Specially it could happen that a dark green was used for very good
resitances which was hard to read on the black/brown background of the
ingame ui.


  Commit: c978954a43e38ec7a16f0cfcb3a6bf81464115ca
      https://github.com/wesnoth/wesnoth/commit/c978954a43e38ec7a16f0cfcb3a6bf81464115ca
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  revert to get_dialog_value retuning bools for togglebuttons

This partly reverts
https://github.com/wesnoth/wesnoth/commit/68d20d8409532d10dcb7fa58a59360c0da764213
so that not get_dialog_value only returns a number for toggle panels if
the toggle panel/button has more than 2 states.

This commit was made for more backwards compability.


  Commit: b6d89addd36d4f7df974d5ebf8fd2e9a75e69063
      https://github.com/wesnoth/wesnoth/commit/b6d89addd36d4f7df974d5ebf8fd2e9a75e69063
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-28 (Thu, 28 Jan 2016)

  Changed paths:
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  fix widget not redrawing after wesnoth.set_dialog_canvas


Compare: https://github.com/wesnoth/wesnoth/compare/81655b3e6f1c...b6d89addd36d


More information about the Commits mailing list