aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/window.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@outlook.com>2018-09-23 16:48:18 +0000
committerYuqian Yang <crupest@outlook.com>2018-09-23 16:48:18 +0000
commit001e1d955132a02a2f7effc841ab9e5ee425eda1 (patch)
tree1bfbdcc2a25316d6e85cc9b4527a1ec15841b502 /CruUI/ui/window.h
parent796ba6e1e816ec87a106f2f7b501e38c99f059e1 (diff)
parent9049f7674e0808cc3676543e0a95330a1657d10e (diff)
downloadcru-001e1d955132a02a2f7effc841ab9e5ee425eda1.tar.gz
cru-001e1d955132a02a2f7effc841ab9e5ee425eda1.tar.bz2
cru-001e1d955132a02a2f7effc841ab9e5ee425eda1.zip
Merge branch 'textboxdev' into 'master'
TextBox develop. See merge request crupest/CruUI!2
Diffstat (limited to 'CruUI/ui/window.h')
-rw-r--r--CruUI/ui/window.h5
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();