From 4a76e5ed6447056837ff4d84be3473729163d449 Mon Sep 17 00:00:00 2001 From: xianjimli Date: Thu, 20 Aug 2020 10:12:44 +0800 Subject: [PATCH] edit support cancelable prop --- design/default/styles/default.xml | 1 + design/default/ui/edit.xml | 4 + dllexports/awtk.def | 1145 +++++++------- docs/changes.md | 4 + res/assets/__assets_default.inc | 1239 ++++++++------- res/assets/default/inc/styles/default.data | 1579 ++++++++++---------- res/assets/default/inc/ui/edit.data | 43 +- res/assets/default/raw/styles/default.bin | Bin 43830 -> 44092 bytes res/assets/default/raw/ui/edit.bin | Bin 5670 -> 5995 bytes res/assets_default.inc | 1239 ++++++++------- src/base/events.h | 10 + src/base/widget.c | 2 +- src/base/widget_consts.h | 12 + src/ext_widgets/keyboard/keyboard.c | 16 + src/ext_widgets/keyboard/keyboard.h | 2 + src/widgets/edit.c | 79 +- src/widgets/edit.h | 22 +- tests/edit_test.cc | 3 + tools/idl_gen/idl.json | 76 +- 19 files changed, 2991 insertions(+), 2485 deletions(-) diff --git a/design/default/styles/default.xml b/design/default/styles/default.xml index e1e6a3081..eb7fce91b 100644 --- a/design/default/styles/default.xml +++ b/design/default/styles/default.xml @@ -116,6 +116,7 @@ + diff --git a/design/default/ui/edit.xml b/design/default/ui/edit.xml index da6aef04b..b8f9e51f0 100644 --- a/design/default/ui/edit.xml +++ b/design/default/ui/edit.xml @@ -64,6 +64,10 @@