[Commits] [wesnoth/wesnoth] 46f16e: Pipe raw SDL events throught the GUI2 event system...

GitHub noreply at github.com
Fri Apr 28 23:40:04 UTC 2017


  Branch: refs/heads/composed_hotkeys
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 46f16e1a8af25f352624edbb6d8f199337d2fc62
      https://github.com/wesnoth/wesnoth/commit/46f16e1a8af25f352624edbb6d8f199337d2fc62
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M src/gui/core/event/dispatcher.cpp
    M src/gui/core/event/dispatcher.hpp
    M src/gui/core/event/dispatcher_private.hpp
    M src/gui/core/event/handler.cpp
    M src/gui/core/event/handler.hpp
    M src/gui/dialogs/hotkey_bind.cpp
    M src/gui/dialogs/hotkey_bind.hpp
    M src/hotkey/hotkey_item.cpp
    M src/hotkey/hotkey_item.hpp

  Log Message:
  -----------
  Pipe raw SDL events throught the GUI2 event system for hotkeys

This adds support for passing raw SDL events throught the GUI2
event system in order to allow for hotkey creation in the GUI2 hotkey
dialog. The dialog in turn uses the raw SDL event to query the hotkey
subsystem whether it's a suitable event to create a hotkey from or not.

The first suitable event is used to create a hotkey.





More information about the Commits mailing list