diff options
author | crupest <crupest@outlook.com> | 2021-12-04 18:06:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-04 18:06:43 +0800 |
commit | 942f1d34c48e61a853db745cd68e46db13266a5c (patch) | |
tree | fdb859933dbb302404391ed686bae8c7126c96ee /include/cru/ui/controls/Button.hpp | |
parent | 2317061516b0bd0002467acbead3120cbe49a6c5 (diff) | |
download | cru-942f1d34c48e61a853db745cd68e46db13266a5c.tar.gz cru-942f1d34c48e61a853db745cd68e46db13266a5c.tar.bz2 cru-942f1d34c48e61a853db745cd68e46db13266a5c.zip |
...
Diffstat (limited to 'include/cru/ui/controls/Button.hpp')
-rw-r--r-- | include/cru/ui/controls/Button.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/ui/controls/Button.hpp b/include/cru/ui/controls/Button.hpp index 9e324c62..e0335a39 100644 --- a/include/cru/ui/controls/Button.hpp +++ b/include/cru/ui/controls/Button.hpp @@ -39,6 +39,10 @@ class Button : public ContentControl, return click_detector_.StateChangeEvent(); } + IEvent<helper::ClickEventArgs>* ClickEvent() { + return click_detector_.ClickEvent(); + } + void ApplyBorderStyle(const style::ApplyBorderStyleInfo& style) override; private: |