[Commits] [wesnoth/wesnoth] fe3b5f: add adv. preference for number of menu items displ...

GitHub noreply at github.com
Mon Jul 7 18:09:46 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fe3b5f45765fef9a93e94dbeacea3114411c7933
      https://github.com/wesnoth/wesnoth/commit/fe3b5f45765fef9a93e94dbeacea3114411c7933
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-28 (Sat, 28 Jun 2014)

  Changed paths:
    M data/advanced_preferences.cfg
    A data/test/scenarios/test_max_menu_items.cfg
    M src/game_preferences.cpp
    M src/game_preferences.hpp
    M src/wmi_pager.cpp
    M src/wmi_pager.hpp

  Log Message:
  -----------
  add adv. preference for number of menu items displayed at once

See earlier commit: f24f6adee142c088595647d5506737c48892bf38

Forum discussion: http://forums.wesnoth.org/viewtopic.php?f=6&t=40668


  Commit: 75f5076d6c78ed38c1ca1c3107b71e2b20068671
      https://github.com/wesnoth/wesnoth/commit/75f5076d6c78ed38c1ca1c3107b71e2b20068671
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-28 (Sat, 28 Jun 2014)

  Changed paths:
    M src/wmi_pager.cpp

  Log Message:
  -----------
  change rendering of last page of wmi's, to prevent menu resize

This commit makes the pager just show enough entries from the
previous page to ensure that we have a full page. When the number
of displayed entries is large, if we don't do this then the menu
can resize dramatically which is a bit jarring.


  Commit: a968bc6254162ccd112860b4789a3ced3c485af6
      https://github.com/wesnoth/wesnoth/commit/a968bc6254162ccd112860b4789a3ced3c485af6
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-06-28 (Sat, 28 Jun 2014)

  Changed paths:
    M src/wmi_pager.cpp

  Log Message:
  -----------
  const-correctness fixup (just for clarity)


  Commit: df44636990dc21f4349642e30ba3246bff5a9ec2
      https://github.com/wesnoth/wesnoth/commit/df44636990dc21f4349642e30ba3246bff5a9ec2
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M data/test/scenarios/test_max_menu_items.cfg

  Log Message:
  -----------
  add [show_if]'s to the test scenario for this feature


  Commit: 5a8b024003dac3c292ff6b13a5d2f5fead1f7d6a
      https://github.com/wesnoth/wesnoth/commit/5a8b024003dac3c292ff6b13a5d2f5fead1f7d6a
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M src/game_events/wmi_container.cpp
    M src/game_events/wmi_container.hpp
    M src/wmi_pager.cpp

  Log Message:
  -----------
  fixup wmi_pager so that it takes account of [show_if] when paging

I also change the interface to wmi_container to be a bit more
natural.


  Commit: b1b493bb57e50eba523edb8bd5f5425a33accd53
      https://github.com/wesnoth/wesnoth/commit/b1b493bb57e50eba523edb8bd5f5425a33accd53
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M data/advanced_preferences.cfg
    M src/wmi_pager.hpp

  Log Message:
  -----------
  add TODO notes about improving the wmi pager


  Commit: 188b3be18988ff99f98f20efd6b104d181fb15d2
      https://github.com/wesnoth/wesnoth/commit/188b3be18988ff99f98f20efd6b104d181fb15d2
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-04 (Fri, 04 Jul 2014)

  Changed paths:
    M src/wmi_pager.cpp

  Log Message:
  -----------
  change a label "Earlier Items" -> "Previous Items"


  Commit: 1cb74d62f8d960654750a4c7f1f63ecdf40b8425
      https://github.com/wesnoth/wesnoth/commit/1cb74d62f8d960654750a4c7f1f63ecdf40b8425
  Author: Chris Beck <beck.ct at gmail.com>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M data/advanced_preferences.cfg
    A data/test/scenarios/test_max_menu_items.cfg
    M src/game_events/wmi_container.cpp
    M src/game_events/wmi_container.hpp
    M src/game_preferences.cpp
    M src/game_preferences.hpp
    M src/wmi_pager.cpp
    M src/wmi_pager.hpp

  Log Message:
  -----------
  Merge pull request #229 from cbeck88/wmi_items_preference

add adv. preference for number of menu items displayed at once,

and remaining fixups there


Compare: https://github.com/wesnoth/wesnoth/compare/0a8d15332e37...1cb74d62f8d9


More information about the Commits mailing list