diff options
author | crupest <crupest@outlook.com> | 2018-09-23 23:08:54 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-23 23:08:54 +0800 |
commit | be84ddd03d3b59c0c27aa538d5ef5129f94d511c (patch) | |
tree | 66448a2559b216352cca5ee28a470cbc8fb9c08a /CruUI/ui/window.h | |
parent | 800c98a732f82df09a98fddba91eddb5d675318d (diff) | |
download | cru-be84ddd03d3b59c0c27aa538d5ef5129f94d511c.tar.gz cru-be84ddd03d3b59c0c27aa538d5ef5129f94d511c.tar.bz2 cru-be84ddd03d3b59c0c27aa538d5ef5129f94d511c.zip |
Add keyboard events to control.
Diffstat (limited to 'CruUI/ui/window.h')
-rw-r--r-- | CruUI/ui/window.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CruUI/ui/window.h b/CruUI/ui/window.h index 42ebf477..40d81a06 100644 --- a/CruUI/ui/window.h +++ b/CruUI/ui/window.h @@ -6,6 +6,7 @@ #include <memory> #include "control.h" +#include "events/ui_event.h" namespace cru { namespace graph { @@ -219,6 +220,10 @@ namespace cru { void OnMouseDownInternal(MouseButton button, POINT point); void OnMouseUpInternal(MouseButton button, POINT point); + void OnKeyDownInternal(int virtual_code); + void OnKeyUpInternal(int virtual_code); + void OnCharInternal(wchar_t c); + void OnActivatedInternal(); void OnDeactivatedInternal(); |