[Commits] [wesnoth/wesnoth] 16a1ff: ttree_view_node: get best size when querying folde...

GitHub noreply at github.com
Sun Jan 24 08:34:33 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 16a1ffc5ede8f37097f8124c017359eea49f99c5
      https://github.com/wesnoth/wesnoth/commit/16a1ffc5ede8f37097f8124c017359eea49f99c5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-24 (Sun, 24 Jan 2016)

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

  Log Message:
  -----------
  ttree_view_node: get best size when querying folded node size

This fixes an issue where attempting to initialize the nodes folded
not enough space would be allocated and none would appear when unfolded


  Commit: 264bbb52fadbcf57f9de3cdbd91411aecd727f48
      https://github.com/wesnoth/wesnoth/commit/264bbb52fadbcf57f9de3cdbd91411aecd727f48
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-24 (Sun, 24 Jan 2016)

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

  Log Message:
  -----------
  ttree_view_node: make 'folded' correspond to a unselected toggle widget


  Commit: c35433a67cede22e0080fcd8cf810c70511a41c9
      https://github.com/wesnoth/wesnoth/commit/c35433a67cede22e0080fcd8cf810c70511a41c9
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-24 (Sun, 24 Jan 2016)

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

  Log Message:
  -----------
  ttree_view_node: renamed a class member variable


  Commit: e4d42dc883fed23a2664740a9e1c8d1e0c1ba9d7
      https://github.com/wesnoth/wesnoth/commit/e4d42dc883fed23a2664740a9e1c8d1e0c1ba9d7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-01-24 (Sun, 24 Jan 2016)

  Changed paths:
    M data/gui/default/widget/toggle_button_tree_view_node.cfg

  Log Message:
  -----------
  Swap order of tree view toggle button images

This makes the 'unfolded' variation the 'selected' variation


Compare: https://github.com/wesnoth/wesnoth/compare/374259546615...e4d42dc883fe


More information about the Commits mailing list