[Commits] [wesnoth/wesnoth] dfe7fc: gui2: implement widget groups

GitHub noreply at github.com
Thu Feb 25 11:20:23 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dfe7fcca8839bd926c3ee312e7411c892f00d787
      https://github.com/wesnoth/wesnoth/commit/dfe7fcca8839bd926c3ee312e7411c892f00d787
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    A src/gui/widgets/group.hpp

  Log Message:
  -----------
  gui2: implement widget groups

Groups are handled on a per-dialog basis, and are currently specialized for tselectable_
inheritors. They provide a convenient vector-of-pairs interface that ensure only one
widget is selected at one time and allows binding of values to widgets which can be
fetched at a later point.


  Commit: 6d883e10f429cbd3ba29b6553728f8f0470df0e5
      https://github.com/wesnoth/wesnoth/commit/6d883e10f429cbd3ba29b6553728f8f0470df0e5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/preferences_dialog.hpp

  Log Message:
  -----------
  tpreferences: reimplement radio toggle setup to use groups


  Commit: 2185faa4032031c6a542814b792782da5d4dbc3c
      https://github.com/wesnoth/wesnoth/commit/2185faa4032031c6a542814b792782da5d4dbc3c
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-02-25 (Thu, 25 Feb 2016)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/gui/dialogs/preferences_dialog.hpp
    A src/gui/widgets/group.hpp

  Log Message:
  -----------
  Merge pull request #588 from Vultraz/gui2_widget_groups

gui2: implement widget groups


Compare: https://github.com/wesnoth/wesnoth/compare/dd705441391a...2185faa40320


More information about the Commits mailing list