[Commits] [wesnoth/wesnoth] 5f5a33: Make window events a separate handler for sdl_even...

GitHub noreply at github.com
Mon Jan 11 06:01:33 UTC 2016


  Branch: refs/heads/guifixes
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5f5a334fba5b318be5075517307c3f3c5f763f8d
      https://github.com/wesnoth/wesnoth/commit/5f5a334fba5b318be5075517307c3f3c5f763f8d
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M src/controller_base.hpp
    M src/events.cpp
    M src/events.hpp
    M src/gui/auxiliary/event/handler.cpp
    M src/hotkey/command_executor.hpp
    M src/preferences.cpp
    M src/show_dialog.cpp
    M src/show_dialog.hpp
    M src/storyscreen/render.cpp
    M src/storyscreen/render.hpp
    M src/video.cpp
    M src/video.hpp
    M src/widgets/widget.cpp
    M src/widgets/widget.hpp

  Log Message:
  -----------
  Make window events a separate handler for sdl_events

This adds a new function to sdl_handler, handle_window_event that is called for all window events. It is propogated to all event contexts instead of just the current one.
events::raise_draw_all_event (and a volatile variant) are added, that also sends draw events to all event contexts in reverse order so that the draw-stack can be redrawn bottom-up.





More information about the Commits mailing list