[Commits] [wesnoth/wesnoth] d8c670: Use REQUEST_PLACEMENT event to trigger partial rel...

GitHub noreply at github.com
Sat Apr 1 18:13:28 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d8c670654a3de0a29bcc597ce8bdbf273a2193ca
      https://github.com/wesnoth/wesnoth/commit/d8c670654a3de0a29bcc597ce8bdbf273a2193ca
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-04-01 (Sat, 01 Apr 2017)

  Changed paths:
    M src/gui/widgets/container_base.cpp
    M src/gui/widgets/container_base.hpp
    M src/gui/widgets/grid.cpp
    M src/gui/widgets/grid.hpp
    M src/gui/widgets/scrollbar_container.cpp
    M src/gui/widgets/widget.hpp

  Log Message:
  -----------
  Use REQUEST_PLACEMENT event to trigger partial relayout

It turned out that mordante had added that event for the same purpose,
avoiding unnecessary full relayouts.

Letting GUI2 event handling to route the event to the right widgets is
better than doing it manually.





More information about the Commits mailing list