aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/helper
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-17 22:55:09 +0800
committercrupest <crupest@outlook.com>2022-01-17 22:55:09 +0800
commit67dd012c0f49898f1734c46d3bb264f59d056a8e (patch)
tree780dc9c50868a8e7b89e68b463a60745fce72ae9 /include/cru/ui/helper
parent81f7d5faaaf79149070a901a4f299aee70c46379 (diff)
downloadcru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.gz
cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.tar.bz2
cru-67dd012c0f49898f1734c46d3bb264f59d056a8e.zip
...
Diffstat (limited to 'include/cru/ui/helper')
-rw-r--r--include/cru/ui/helper/ClickDetector.hpp2
-rw-r--r--include/cru/ui/helper/ShortcutHub.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/helper/ClickDetector.hpp b/include/cru/ui/helper/ClickDetector.hpp
index b58297b1..fd80a953 100644
--- a/include/cru/ui/helper/ClickDetector.hpp
+++ b/include/cru/ui/helper/ClickDetector.hpp
@@ -2,7 +2,7 @@
#include "../controls/Control.hpp"
namespace cru::ui::helper {
-class ClickEventArgs : Object {
+class CRU_UI_API ClickEventArgs : Object {
public:
ClickEventArgs(controls::Control* sender, const Point& down_point,
const Point& up_point, MouseButton button)
diff --git a/include/cru/ui/helper/ShortcutHub.hpp b/include/cru/ui/helper/ShortcutHub.hpp
index be5347ef..c7054786 100644
--- a/include/cru/ui/helper/ShortcutHub.hpp
+++ b/include/cru/ui/helper/ShortcutHub.hpp
@@ -96,7 +96,7 @@ struct ShortcutInfo {
std::function<bool()> handler;
};
-class ShortcutHub : public Object {
+class CRU_UI_API ShortcutHub : public Object {
public:
ShortcutHub() = default;