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

GitHub noreply at github.com
Fri Apr 28 23:30:18 UTC 2017


  Branch: refs/heads/composed_hotkeys
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8092b38691ca7afe94d450010fb155ce0440637d
      https://github.com/wesnoth/wesnoth/commit/8092b38691ca7afe94d450010fb155ce0440637d
  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