aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/events
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-08 16:53:51 +0800
committercrupest <crupest@outlook.com>2022-02-08 16:53:51 +0800
commit74bb9cd27242b9320f99ff4d2b50c3051576cc14 (patch)
tree744bac5799c593d1d6f81e7b09581bea626f2cde /include/cru/ui/events
parentb90c398de829d1ba5329651d75bae82f5e4085fe (diff)
downloadcru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.gz
cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.bz2
cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.zip
...
Diffstat (limited to 'include/cru/ui/events')
-rw-r--r--include/cru/ui/events/FocusChangeEventArgs.h (renamed from include/cru/ui/events/FocusChangeEventArgs.hpp)2
-rw-r--r--include/cru/ui/events/KeyEventArgs.h (renamed from include/cru/ui/events/KeyEventArgs.hpp)4
-rw-r--r--include/cru/ui/events/MouseButtonEventArgs.h (renamed from include/cru/ui/events/MouseButtonEventArgs.hpp)4
-rw-r--r--include/cru/ui/events/MouseEventArgs.h (renamed from include/cru/ui/events/MouseEventArgs.hpp)2
-rw-r--r--include/cru/ui/events/MouseWheelEventArgs.h (renamed from include/cru/ui/events/MouseWheelEventArgs.hpp)4
-rw-r--r--include/cru/ui/events/PaintEventArgs.h (renamed from include/cru/ui/events/PaintEventArgs.hpp)2
-rw-r--r--include/cru/ui/events/RoutedEvent.h (renamed from include/cru/ui/events/RoutedEvent.hpp)4
-rw-r--r--include/cru/ui/events/UiEventArgs.h (renamed from include/cru/ui/events/UiEventArgs.hpp)2
-rw-r--r--include/cru/ui/events/UiEvents.h10
-rw-r--r--include/cru/ui/events/UiEvents.hpp10
10 files changed, 22 insertions, 22 deletions
diff --git a/include/cru/ui/events/FocusChangeEventArgs.hpp b/include/cru/ui/events/FocusChangeEventArgs.h
index b72790a5..aaef25b4 100644
--- a/include/cru/ui/events/FocusChangeEventArgs.hpp
+++ b/include/cru/ui/events/FocusChangeEventArgs.h
@@ -1,5 +1,5 @@
#pragma once
-#include "UiEventArgs.hpp"
+#include "UiEventArgs.h"
namespace cru::ui::events {
diff --git a/include/cru/ui/events/KeyEventArgs.hpp b/include/cru/ui/events/KeyEventArgs.h
index 133db1df..0ece9126 100644
--- a/include/cru/ui/events/KeyEventArgs.hpp
+++ b/include/cru/ui/events/KeyEventArgs.h
@@ -1,7 +1,7 @@
#pragma once
-#include "UiEventArgs.hpp"
+#include "UiEventArgs.h"
-#include "cru/platform/gui/Keyboard.hpp"
+#include "cru/platform/gui/Keyboard.h"
namespace cru::ui::events {
class CRU_UI_API KeyEventArgs : public UiEventArgs {
diff --git a/include/cru/ui/events/MouseButtonEventArgs.hpp b/include/cru/ui/events/MouseButtonEventArgs.h
index 791ed03b..13b3b0a4 100644
--- a/include/cru/ui/events/MouseButtonEventArgs.hpp
+++ b/include/cru/ui/events/MouseButtonEventArgs.h
@@ -1,7 +1,7 @@
#pragma once
-#include "MouseEventArgs.hpp"
+#include "MouseEventArgs.h"
-#include "cru/platform/gui/Keyboard.hpp"
+#include "cru/platform/gui/Keyboard.h"
namespace cru::ui::events {
diff --git a/include/cru/ui/events/MouseEventArgs.hpp b/include/cru/ui/events/MouseEventArgs.h
index 0adc65b6..11ce6463 100644
--- a/include/cru/ui/events/MouseEventArgs.hpp
+++ b/include/cru/ui/events/MouseEventArgs.h
@@ -1,5 +1,5 @@
#pragma once
-#include "UiEventArgs.hpp"
+#include "UiEventArgs.h"
#include <optional>
diff --git a/include/cru/ui/events/MouseWheelEventArgs.hpp b/include/cru/ui/events/MouseWheelEventArgs.h
index c6c0fe10..85791491 100644
--- a/include/cru/ui/events/MouseWheelEventArgs.hpp
+++ b/include/cru/ui/events/MouseWheelEventArgs.h
@@ -1,7 +1,7 @@
#pragma once
-#include "MouseEventArgs.hpp"
+#include "MouseEventArgs.h"
-#include "cru/platform/gui/Keyboard.hpp"
+#include "cru/platform/gui/Keyboard.h"
namespace cru::ui::events {
class CRU_UI_API MouseWheelEventArgs : public MouseEventArgs {
diff --git a/include/cru/ui/events/PaintEventArgs.hpp b/include/cru/ui/events/PaintEventArgs.h
index f2b53977..934c6c8c 100644
--- a/include/cru/ui/events/PaintEventArgs.hpp
+++ b/include/cru/ui/events/PaintEventArgs.h
@@ -1,5 +1,5 @@
#pragma once
-#include "UiEventArgs.hpp"
+#include "UiEventArgs.h"
namespace cru::platform::graphics {
struct IPainter;
diff --git a/include/cru/ui/events/RoutedEvent.hpp b/include/cru/ui/events/RoutedEvent.h
index dd0bc21f..909678f8 100644
--- a/include/cru/ui/events/RoutedEvent.hpp
+++ b/include/cru/ui/events/RoutedEvent.h
@@ -1,7 +1,7 @@
#pragma once
-#include "UiEventArgs.hpp"
+#include "UiEventArgs.h"
-#include "cru/common/Event.hpp"
+#include "cru/common/Event.h"
namespace cru::ui::events {
// TEventArgs must not be a reference type. This class help add reference.
diff --git a/include/cru/ui/events/UiEventArgs.hpp b/include/cru/ui/events/UiEventArgs.h
index 1e1f9e93..fff84edd 100644
--- a/include/cru/ui/events/UiEventArgs.hpp
+++ b/include/cru/ui/events/UiEventArgs.h
@@ -1,5 +1,5 @@
#pragma once
-#include "../Base.hpp"
+#include "../Base.h"
namespace cru::ui::events {
class CRU_UI_API UiEventArgs : public Object {
diff --git a/include/cru/ui/events/UiEvents.h b/include/cru/ui/events/UiEvents.h
new file mode 100644
index 00000000..301ec694
--- /dev/null
+++ b/include/cru/ui/events/UiEvents.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "FocusChangeEventArgs.h"
+#include "KeyEventArgs.h"
+#include "MouseButtonEventArgs.h"
+#include "MouseEventArgs.h"
+#include "MouseWheelEventArgs.h"
+#include "PaintEventArgs.h"
+#include "RoutedEvent.h"
+#include "UiEventArgs.h"
diff --git a/include/cru/ui/events/UiEvents.hpp b/include/cru/ui/events/UiEvents.hpp
deleted file mode 100644
index bd6f7d2a..00000000
--- a/include/cru/ui/events/UiEvents.hpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#pragma once
-
-#include "FocusChangeEventArgs.hpp"
-#include "KeyEventArgs.hpp"
-#include "MouseButtonEventArgs.hpp"
-#include "MouseEventArgs.hpp"
-#include "MouseWheelEventArgs.hpp"
-#include "PaintEventArgs.hpp"
-#include "RoutedEvent.hpp"
-#include "UiEventArgs.hpp"