From 232a783dcf337587b06272c4caaa8e1f9dea9b3b Mon Sep 17 00:00:00 2001 From: xianjimli Date: Wed, 20 Jun 2018 17:35:32 +0800 Subject: [PATCH] update lua bingings --- demos/demo_ui_app.c | 9 +- demos/res/inc/images/bricks.data | 2 +- demos/res/inc/images/cross.res | 2 +- demos/res/inc/images/middle_on.data | 2 +- demos/res/inc/images/slider_drag.data | 2 +- demos/res/inc/images/warn.data | 2 +- demos/res/inc/theme/calibration.data | 2 +- demos/res/inc/theme/dialog1.data | 2 +- demos/res/inc/ui/kb_hex.data | 2 +- demos/res/inc/ui/lua.data | 64 ++ demos/res/inc/ui/memtest.data | 2 +- demos/res/raw/ui/lua.bin | Bin 0 -> 1226 bytes demos/res/raw/ui/lua.xml | 24 + demos/resource.c | 2 + lua/demo2.lua | 9 +- lua/tk_lua.c | 846 +++++++++++++- src/base/events.h | 6 + src/base/keyboard.h | 18 - src/base/widget.h | 2 +- src/base/window_manager.c | 14 +- src/input_methods/input_method_default.c | 2 +- src/tk.h | 1 + src/ui_loader/ui_builder_default.c | 29 +- src/ui_loader/ui_builder_default.h | 2 +- tools/idl_gen/gen_idl.js | 2 +- tools/idl_gen/idl.json | 1324 +++++++++++++++++++++- 26 files changed, 2246 insertions(+), 126 deletions(-) create mode 100644 demos/res/inc/ui/lua.data create mode 100644 demos/res/raw/ui/lua.bin create mode 100644 demos/res/raw/ui/lua.xml diff --git a/demos/demo_ui_app.c b/demos/demo_ui_app.c index de9c0caa9..1c80a8f6b 100644 --- a/demos/demo_ui_app.c +++ b/demos/demo_ui_app.c @@ -35,8 +35,8 @@ static void install_click_hander(widget_t* widget); -static void open_window(const char* name) { - widget_t* win = window_open(name); +static void open_window(const char* name, widget_t* to_close) { + widget_t* win = to_close ? window_open_and_close(name, to_close) : window_open(name); install_click_hander(win); @@ -46,7 +46,8 @@ static void open_window(const char* name) { } static ret_t on_open_window(void* ctx, event_t* e) { - open_window((const char*)ctx); + open_window((const char*)ctx, NULL); + (void)e; return RET_OK; @@ -213,7 +214,7 @@ static ret_t timer_preload(const timer_info_t* timer) { widget_t* status = widget_lookup(win, "status", TRUE); if (s_preload_nr == total) { - open_window("main"); + open_window("main", win); return RET_REMOVE; } else { diff --git a/demos/res/inc/images/bricks.data b/demos/res/inc/images/bricks.data index 421cda2c8..ebaece085 100644 --- a/demos/res/inc/images/bricks.data +++ b/demos/res/inc/images/bricks.data @@ -361,4 +361,4 @@ const unsigned char image_bricks[] = { 0xcd,0xbb,0xcc,0xbb,0xed,0xbb,0x0d,0xc4,0x0d,0xbc,0x0d,0xc4,0x0d,0xc4,0x0d,0xc4,0xed,0xc3,0x0d,0xc4, 0x0d,0xc4,0x0d,0xc4,0x0e,0xcc,0x11,0xd5,0xb0,0xc4,0xad,0xbb,0xac,0xbb,0xec,0xc3,0xec,0xc3,0xcc,0xbb, 0xcc,0xbb,0xcc,0xc3,0xcc,0xc3,0xed,0xc3,0xed,0xc3,0xcc,0xbb,0xcc,0xbb,0xd2,0xc4,0x00,0x00,0x00,0x00, -0x60,0xfd,0x32,0x76,};/*7244*/ +0x00,0x00,0x00,0x00,};/*7244*/ diff --git a/demos/res/inc/images/cross.res b/demos/res/inc/images/cross.res index 6a88b08f5..f0adeea7a 100644 --- a/demos/res/inc/images/cross.res +++ b/demos/res/inc/images/cross.res @@ -19,4 +19,4 @@ const unsigned char image_cross[] = { 0xee,0x9c,0x00,0x93,0x7e,0xb1,0x0d,0x20,0x03,0x7b,0x77,0x21,0x9a,0x39,0x01,0xf6,0xba,0x13,0x58,0x73, 0xc0,0x7a,0x27,0x6c,0xdd,0x21,0x58,0xb8,0x7b,0xc1,0x16,0xb8,0x71,0x02,0xac,0x74,0x27,0xb0,0xe6,0x80, 0xf5,0x69,0xf6,0x01,0x5c,0x3b,0x01,0x96,0xee,0x10,0x6c,0x6a,0x43,0xf0,0x07,0xce,0xe8,0x3d,0x89,0xb2, -0x0d,0x38,0x6d,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0xd0,0x77,0x27,};/*419*/ +0x0d,0x38,0x6d,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*419*/ diff --git a/demos/res/inc/images/middle_on.data b/demos/res/inc/images/middle_on.data index 1a9ef8bef..6b28362f9 100644 --- a/demos/res/inc/images/middle_on.data +++ b/demos/res/inc/images/middle_on.data @@ -116,4 +116,4 @@ const unsigned char image_middle_on[] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, -0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*2348*/ +0x00,0x00,0x00,0x00,0x30,0x21,0x50,0xa1,};/*2348*/ diff --git a/demos/res/inc/images/slider_drag.data b/demos/res/inc/images/slider_drag.data index 5ead8ee26..de49cd8b4 100644 --- a/demos/res/inc/images/slider_drag.data +++ b/demos/res/inc/images/slider_drag.data @@ -157,4 +157,4 @@ const unsigned char image_slider_drag[] = { 0x50,0x50,0x50,0x90,0x51,0x51,0x51,0xc0,0x51,0x51,0x51,0xff,0x51,0x51,0x51,0xff,0x51,0x51,0x51,0xff, 0x51,0x51,0x51,0xff,0x51,0x51,0x51,0xd0,0x50,0x50,0x50,0xa0,0x50,0x50,0x50,0x50,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, -0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*3180*/ +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0xf0,0xb8,};/*3180*/ diff --git a/demos/res/inc/images/warn.data b/demos/res/inc/images/warn.data index 0da8ef046..82d5461d9 100644 --- a/demos/res/inc/images/warn.data +++ b/demos/res/inc/images/warn.data @@ -116,4 +116,4 @@ const unsigned char image_warn[] = { 0x12,0x96,0xdb,0xb4,0x11,0x96,0xdb,0xe9,0x12,0x96,0xdb,0xff,0x12,0x96,0xdb,0xff,0x11,0x96,0xdb,0xe9, 0x12,0x96,0xdb,0xb4,0x11,0x96,0xdb,0x78,0x0d,0x91,0xdb,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, -0x00,0x00,0x00,0x00,0x88,0x9a,0x30,0x76,};/*2348*/ +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*2348*/ diff --git a/demos/res/inc/theme/calibration.data b/demos/res/inc/theme/calibration.data index 53b389948..d8f4840ed 100644 --- a/demos/res/inc/theme/calibration.data +++ b/demos/res/inc/theme/calibration.data @@ -6,4 +6,4 @@ const unsigned char theme_calibration[] = { 0x0d,0x00,0x00,0x00,0x63,0x72,0x6f,0x73,0x73,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xc0,0xc0, 0xc0,0xff,0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x63,0x72,0x6f,0x73,0x73,0x00,0x01,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0xe0,0xe0,0xe0,0xff,0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x63,0x72,0x6f,0x73, -0x73,0x00,0x02,0x00,0x0d,0x00,};/*146*/ +0x73,0x00,0x00,0x00,0x00,0x00,};/*146*/ diff --git a/demos/res/inc/theme/dialog1.data b/demos/res/inc/theme/dialog1.data index 40cd97b94..f39e2d3af 100644 --- a/demos/res/inc/theme/dialog1.data +++ b/demos/res/inc/theme/dialog1.data @@ -15,4 +15,4 @@ const unsigned char theme_dialog1[] = { 0x00,0x00,0x00,0x00,0xff,0xff,0x01,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x72,0x65,0x64,0x5f,0x62,0x74, 0x6e,0x5f,0x70,0x00,0x02,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x06,0x00,0x00,0x00, 0x00,0x00,0xff,0xff,0x01,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x72,0x65,0x64,0x5f,0x62,0x74,0x6e,0x5f, -0x6f,0x00,0x00,0x00,0x00,0x00,};/*326*/ +0x6f,0x00,0x20,0x20,0x20,0x20,};/*326*/ diff --git a/demos/res/inc/ui/kb_hex.data b/demos/res/inc/ui/kb_hex.data index 51d059bb3..626eceec0 100644 --- a/demos/res/inc/ui/kb_hex.data +++ b/demos/res/inc/ui/kb_hex.data @@ -65,4 +65,4 @@ const unsigned char ui_kb_hex[] = { 0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x01,0x01,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69, 0x6d,0x61,0x67,0x65,0x00,0x62,0x61,0x63,0x6b,0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00, -0x00,0x14,0xe0,0xf9,0xc2,};/*1325*/ +0x00,0x55,0x31,0x76,0xff,};/*1325*/ diff --git a/demos/res/inc/ui/lua.data b/demos/res/inc/ui/lua.data new file mode 100644 index 000000000..f36d35f14 --- /dev/null +++ b/demos/res/inc/ui/lua.data @@ -0,0 +1,64 @@ +const unsigned char ui_lua[] = { +0x04,0x00,0x01,0x01,0xca,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x6c,0x75,0x61,0x00,0x64,0x61,0x74,0x61, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x12,0x12,0x22,0x11,0x77,0x69,0x6e,0x64,0x6f,0x77,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x64,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x6d,0x61,0x69, +0x6e,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x01,0x00,0x0a,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x69,0x6e,0x63,0x00,0x74,0x65,0x78,0x74,0x00,0x49,0x6e,0x63, +0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02, +0x00,0x00,0x00,0xdd,0xff,0xff,0xff,0x05,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x64,0x69,0x61,0x6c,0x6f,0x67,0x31,0x00,0x74,0x65,0x78,0x74, +0x00,0x44,0x69,0x61,0x6c,0x6f,0x67,0x31,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x3c, +0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x64,0x69,0x61,0x6c, +0x6f,0x67,0x32,0x00,0x74,0x65,0x78,0x74,0x00,0x44,0x69,0x6c,0x61,0x6f,0x67,0x32,0x00,0x00,0x00,0x62, +0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x01,0x00,0x0a, +0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e, +0x61,0x6d,0x65,0x00,0x64,0x65,0x63,0x00,0x74,0x65,0x78,0x74,0x00,0x44,0x65,0x63,0x00,0x00,0x00,0x6c, +0x61,0x62,0x65,0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x0a, +0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e, +0x61,0x6d,0x65,0x00,0x6c,0x65,0x66,0x74,0x00,0x74,0x65,0x78,0x74,0x00,0x4c,0x65,0x66,0x74,0x00,0x00, +0x00,0x6c,0x61,0x62,0x65,0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x01, +0x00,0x00,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x65,0x6e,0x74,0x65,0x72,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x65, +0x6e,0x74,0x65,0x72,0x00,0x00,0x00,0x6c,0x61,0x62,0x65,0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x03,0x00,0x01,0x00,0x0a,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x69,0x67,0x68,0x74,0x00,0x74,0x65, +0x78,0x74,0x00,0x52,0x69,0x67,0x68,0x74,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73,0x5f, +0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x00,0x00,0x00,0xf0, +0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x31, +0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x34,0x30,0x00,0x00,0x00,0x70,0x72,0x6f,0x67,0x72,0x65,0x73,0x73, +0x5f,0x62,0x61,0x72,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x01,0x00,0x00,0x46,0x00,0x00,0x00, +0x1e,0x00,0x00,0x00,0x76,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72, +0x32,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x32,0x30,0x00,0x76,0x65,0x72,0x74,0x69,0x63,0x61,0x6c,0x00, +0x74,0x72,0x75,0x65,0x00,0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x31,0x00,0x74,0x65,0x78,0x74,0x00, +0x42,0x6f,0x6f,0x6b,0x00,0x00,0x00,0x63,0x68,0x65,0x63,0x6b,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x6e,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x32,0x00,0x74,0x65,0x78,0x74,0x00, +0x46,0x6f,0x6f,0x64,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x31,0x00,0x74,0x65,0x78,0x74,0x00, +0x42,0x6f,0x6f,0x6b,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x32,0x00,0x74,0x65,0x78,0x74,0x00, +0x46,0x6f,0x6f,0x64,0x00,0x00,0x00,0x72,0x61,0x64,0x69,0x6f,0x5f,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbe,0x00,0x00,0x00,0x96,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x1e, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x72,0x33,0x00,0x74,0x65,0x78,0x74,0x00, +0x50,0x65,0x6e,0x63,0x69,0x6c,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x74,0x72,0x75,0x65,0x00,0x00,0x00, +0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x0a,0x00,0x00,0x00,0x68,0x01,0x00,0x00,0x28,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x69,0x6d,0x61,0x67,0x65,0x00,0x65,0x61,0x72,0x74,0x68,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x68,0x01, +0x00,0x00,0x28,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00, +0x72,0x67,0x62,0x61,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x00,0x00,0x00,0x68,0x01,0x00,0x00,0x28,0x00,0x00,0x00,0x28, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,0x67,0x62,0x00,0x00,0x00,0x69, +0x6d,0x61,0x67,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa0, +0x00,0x00,0x00,0x68,0x01,0x00,0x00,0x28,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69, +0x6d,0x61,0x67,0x65,0x00,0x6d,0x65,0x73,0x73,0x61,0x67,0x65,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65, +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd2,0x00,0x00,0x00,0x68, +0x01,0x00,0x00,0x28,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65, +0x00,0x72,0x65,0x64,0x5f,0x62,0x74,0x6e,0x5f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1258*/ diff --git a/demos/res/inc/ui/memtest.data b/demos/res/inc/ui/memtest.data index 927dae433..d8e549e3c 100644 --- a/demos/res/inc/ui/memtest.data +++ b/demos/res/inc/ui/memtest.data @@ -20,4 +20,4 @@ const unsigned char ui_memtest[] = { 0x62,0x65,0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x5a,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61, 0x6d,0x65,0x00,0x6d,0x65,0x6d,0x63,0x70,0x79,0x00,0x74,0x65,0x78,0x74,0x00,0x6e,0x2f,0x61,0x00,0x00, -0x00,0x00,0x00,0x00,0x58,0x17,};/*426*/ +0x00,0x00,0x00,0x00,0x58,0x47,};/*426*/ diff --git a/demos/res/raw/ui/lua.bin b/demos/res/raw/ui/lua.bin new file mode 100644 index 0000000000000000000000000000000000000000..47236b024fd84b1c3f1146ef2094107d8d45ec61 GIT binary patch literal 1226 zcmai!y-ve05P**&7B)J;!T<|n8yK0Os)WQ)@dAc1!@bC zH3uu+Ej*#oWqUaHvs$f)z29eZ$&@aJjvx6!*vB=p2Ye)JAByQB!M*!A9K(Sea^Z6r zp#h*+CKSH6;@BIUpxj&eEAeVw@Mp5RbPpqw5Z$RB7qu0}@sG~#dRU)57~jaE^aprp zOn^6|3nON;G-IX-jSsrNG3qaB>-@N92n(j>0`3O57=q6+1A+-$pprEGf^g#DWB?0c ztmI6AHRuh1mx52z_D#?^sI?}jt#feS1`k?KBP_LRnDy5`)|&PhmP;Lo`+;knxR`y@ zzCLb!+%G_!Tu{D}Sl0kzUn literal 0 HcmV?d00001 diff --git a/demos/res/raw/ui/lua.xml b/demos/res/raw/ui/lua.xml new file mode 100644 index 000000000..123df656c --- /dev/null +++ b/demos/res/raw/ui/lua.xml @@ -0,0 +1,24 @@ + +