[Commits] [wesnoth/wesnoth] 21001b: add ttree_view_node::unfolded_ memeber variable

GitHub noreply at github.com
Mon Mar 7 21:39:50 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 21001bcb3201b46f4c4b15de1388d4bb843a2403
      https://github.com/wesnoth/wesnoth/commit/21001bcb3201b46f4c4b15de1388d4bb843a2403
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

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

  Log Message:
  -----------
  add ttree_view_node::unfolded_ memeber variable

Previously ttree_view_node used toggle_->get_value() to know whether it is
folded or not.

This makes ttree_view_node more robust against cases where people change
the value of toggle_->get_value() manually using c++ or lua code.

This also allows us to have nodes that can only be folded via code and
have no toggle panel to expand.


  Commit: d26c2b604323a5db2cd9de5ff0e843fd122f18da
      https://github.com/wesnoth/wesnoth/commit/d26c2b604323a5db2cd9de5ff0e843fd122f18da
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

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

  Log Message:
  -----------
  add unfolded=yes/no key in gui2 treeview node wml

This allows wml to specify whether a node should be unfolded by default.


  Commit: 33b8d66b3441bf83f63d24e6a734cdcdf960ac5d
      https://github.com/wesnoth/wesnoth/commit/33b8d66b3441bf83f63d24e6a734cdcdf960ac5d
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

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

  Log Message:
  -----------
  implement right/left key handlers for treeviews


  Commit: c357d91a438310ff4e74d26a1fcff7b4249bd9da
      https://github.com/wesnoth/wesnoth/commit/c357d91a438310ff4e74d26a1fcff7b4249bd9da
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

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

  Log Message:
  -----------
  implement up/down key handlers for treeviews


  Commit: 90643a63365ed72405f1136de9886b3347d7689f
      https://github.com/wesnoth/wesnoth/commit/90643a63365ed72405f1136de9886b3347d7689f
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-03-07 (Mon, 07 Mar 2016)

  Changed paths:
    M data/gui/default/window/campaign_dialog.cfg

  Log Message:
  -----------
  have modifications in campaign dialog visible by default.


Compare: https://github.com/wesnoth/wesnoth/compare/c7de7ce9d428...90643a63365e


More information about the Commits mailing list