[Commits] [wesnoth/wesnoth] ee0591: use parse() instead of string_to_enum().

GitHub noreply at github.com
Wed Jan 20 18:00:58 UTC 2016


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

  Changed paths:
    M src/unit_filter.cpp

  Log Message:
  -----------
  use parse() instead of string_to_enum().

this is faster if the string doesn't match because it doesn't throw an
exception in that case.


  Commit: 233a2e2d5f1659e436ea67be3507ee3b8936033b
      https://github.com/wesnoth/wesnoth/commit/233a2e2d5f1659e436ea67be3507ee3b8936033b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    M src/make_enum.hpp

  Log Message:
  -----------
  add a comment


  Commit: 6cf9790c029c7e824ce02b517de3784f7b61b05f
      https://github.com/wesnoth/wesnoth/commit/6cf9790c029c7e824ce02b517de3784f7b61b05f
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    M src/gui/auxiliary/event/distributor.cpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/image.hpp
    M src/gui/widgets/label.hpp
    M src/gui/widgets/widget.hpp

  Log Message:
  -----------
  attempt to fix 'mouseover' state not being selected

when the mouse is inside a child widget of a toggle_panel.

This currently only fixes it for label, image and grid childs. Maybe we
want can_mouse_focus to be false by default?


  Commit: 473941350209afd86c22141fc7cb84e5163694d7
      https://github.com/wesnoth/wesnoth/commit/473941350209afd86c22141fc7cb84e5163694d7
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    A data/gui/default/widget/combobox_default.cfg
    A data/gui/default/window/drop_down_list.cfg
    M data/gui/schema.cfg
    M src/CMakeLists.txt
    M src/SConscript
    A src/gui/auxiliary/widget_definition/combobox.cpp
    A src/gui/auxiliary/widget_definition/combobox.hpp
    M src/gui/auxiliary/window_builder.cpp
    A src/gui/auxiliary/window_builder/combobox.cpp
    A src/gui/auxiliary/window_builder/combobox.hpp
    A src/gui/dialogs/drop_down_list.cpp
    A src/gui/dialogs/drop_down_list.hpp
    A src/gui/widgets/combobox.cpp
    A src/gui/widgets/combobox.hpp
    M src/tests/gui/test_gui2.cpp

  Log Message:
  -----------
  comboboxes for gui2

This adds a new combobox widget to gui2. Like the gui1 combobox widget
this is more or less only a button that prompts a list dialog below the
button when you click on it.


  Commit: 95e43a6fc6d9a0cef785ce358defcddaaedf14c0
      https://github.com/wesnoth/wesnoth/commit/95e43a6fc6d9a0cef785ce358defcddaaedf14c0
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

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

  Log Message:
  -----------
  make dropdown list width at least the width of the combobox

This also makes the text in the list left-aligned.

patch by vultraz


  Commit: 68d20d8409532d10dcb7fa58a59360c0da764213
      https://github.com/wesnoth/wesnoth/commit/68d20d8409532d10dcb7fa58a59360c0da764213
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  lua gui get/set_dialog_value take numbers for tselectable_

This adds lua support for tristate buttons and comboboxes.


  Commit: 9b44d615feeb7c67ce9b1a16d6a387422784f5a3
      https://github.com/wesnoth/wesnoth/commit/9b44d615feeb7c67ce9b1a16d6a387422784f5a3
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2016-01-20 (Wed, 20 Jan 2016)

  Changed paths:
    A data/gui/default/widget/combobox_default.cfg
    A data/gui/default/window/drop_down_list.cfg
    M data/gui/schema.cfg
    M src/CMakeLists.txt
    M src/SConscript
    M src/gui/auxiliary/event/distributor.cpp
    A src/gui/auxiliary/widget_definition/combobox.cpp
    A src/gui/auxiliary/widget_definition/combobox.hpp
    M src/gui/auxiliary/window_builder.cpp
    A src/gui/auxiliary/window_builder/combobox.cpp
    A src/gui/auxiliary/window_builder/combobox.hpp
    A src/gui/dialogs/drop_down_list.cpp
    A src/gui/dialogs/drop_down_list.hpp
    A src/gui/widgets/combobox.cpp
    A src/gui/widgets/combobox.hpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/image.hpp
    M src/gui/widgets/label.hpp
    M src/gui/widgets/widget.hpp
    M src/make_enum.hpp
    M src/scripting/lua_gui2.cpp
    M src/tests/gui/test_gui2.cpp
    M src/unit_filter.cpp

  Log Message:
  -----------
  Merge pull request #583 from gfgtdf/gui2_combobox

comboboxes for gui2


Compare: https://github.com/wesnoth/wesnoth/compare/0f8998d121cc...9b44d615feeb


More information about the Commits mailing list