[Commits] [wesnoth/wesnoth] 5819a3: Make GUI2 windows honor the restore flag passed to...

GitHub noreply at github.com
Fri Feb 5 07:31:02 UTC 2016


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

  Changed paths:
    M src/gui/widgets/window.cpp
    M src/gui/widgets/window.hpp

  Log Message:
  -----------
  Make GUI2 windows honor the restore flag passed to show()

This introduces a new field, restore_, which is set from the show()
method. When it is set to false it stops the draw() and undraw()
function from blitting the cached value onto the screen.





More information about the Commits mailing list