[Commits] [wesnoth/wesnoth] 7565ae: Ensure that GUI1 widgets are drawn on a DRAW_ALL_E...

GitHub noreply at github.com
Mon Feb 22 09:56:02 UTC 2016


  Branch: refs/heads/guifixes
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7565ae00d6a9b4db24f5a8cb83b3dbcf3ad6e52a
      https://github.com/wesnoth/wesnoth/commit/7565ae00d6a9b4db24f5a8cb83b3dbcf3ad6e52a
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-02-22 (Mon, 22 Feb 2016)

  Changed paths:
    M src/widgets/widget.cpp

  Log Message:
  -----------
  Ensure that GUI1 widgets are drawn on a DRAW_ALL_EVENT

The DRAW_ALL_EVENT is only used in certain circumstances, when a full
redraw of all widgets/components is desired. The previous behaviour
relied on a DRAW-event following the DRAW_ALL_EVENT, which is not
something that can be relied upon. By calling draw() explicitly it
removes the reliance on the DRAW-event.





More information about the Commits mailing list