From 21fccf43ec049569f690674840ca1a10420a40da Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 13 Dec 2021 20:58:42 +0800 Subject: ... --- include/cru/ui/helper/ShortcutHub.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/cru/ui/helper/ShortcutHub.hpp') diff --git a/include/cru/ui/helper/ShortcutHub.hpp b/include/cru/ui/helper/ShortcutHub.hpp index 5b9612ba..def024a8 100644 --- a/include/cru/ui/helper/ShortcutHub.hpp +++ b/include/cru/ui/helper/ShortcutHub.hpp @@ -1,7 +1,7 @@ #pragma once #include "../Base.hpp" -#include "../events/UiEvent.hpp" +#include "../events/UiEvents.hpp" #include "cru/common/Event.hpp" #include "cru/platform/gui/Keyboard.hpp" @@ -120,13 +120,13 @@ class ShortcutHub : public Object { const std::vector& GetShortcutByKeyBind( const ShortcutKeyBind& key_bind) const; - IEvent* FallbackKeyEvent() { return &fallback_event_; } + IEvent* FallbackKeyEvent() { return &fallback_event_; } void Install(controls::Control* control); void Uninstall(); private: - void OnKeyDown(event::KeyEventArgs& event); + void OnKeyDown(events::KeyEventArgs& event); private: std::unordered_map> map_; @@ -135,7 +135,7 @@ class ShortcutHub : public Object { int current_id_ = 1; - Event fallback_event_; + Event fallback_event_; EventRevokerListGuard event_guard_; }; -- cgit v1.2.3