aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-07 06:46:42 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-07 06:46:42 +0100
commitb3b9e8c2b8068ce2566a9be2a813b2f04088f3ce (patch)
tree82b8c03d3e9fa25c0b50fe5ef2f59b713432ac21 /include
parent214336492da0d184d5ad4ac64c31920954c5f7e7 (diff)
Include utf8 string in text entered event
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mgl/window/event.h b/include/mgl/window/event.h
index 0836098..4a3ba71 100644
--- a/include/mgl/window/event.h
+++ b/include/mgl/window/event.h
@@ -14,6 +14,8 @@ typedef struct {
typedef struct {
uint32_t codepoint;
+ int size;
+ unsigned char str[5]; /* utf8, null terminated */
} mgl_text_event;
typedef struct {