Commit Graph

781 Commits

Author SHA1 Message Date
lixianjing
3befcc8b89 merge nanovg unload font patch 2019-10-25 18:07:02 +08:00
lixianjing
e44ad3bedd Merge branch 'master' of https://github.com/zlgopen/awtk 2019-10-25 11:20:58 +08:00
lixianjing
b63f3b2ab9 improve preview ui 2019-10-25 11:19:14 +08:00
xianjimli
24f816dec9 add draggable 2019-10-25 08:14:15 +08:00
lixianjing
97051e8ebc merge chinese filename bug on windows 2019-10-24 18:12:21 +08:00
lixianjing
db2b9caec1 improve fragment frame buffer 2019-10-24 14:01:03 +08:00
lixianjing
6e30502652 update assets 2019-10-24 10:18:36 +08:00
lixianjing
ad90b667e9 improve reset canvas 2019-10-24 09:42:46 +08:00
lixianjing
d83975ab29 format code 2019-10-19 18:15:45 +08:00
xianjimli
164844aab4 update assets 2019-10-19 07:42:18 +08:00
xianjimli
28d7d955aa update assets 2019-10-19 07:22:38 +08:00
xianjimli
9e02f40348 improve update res scripts 2019-10-19 07:09:19 +08:00
lixianjing
9c68f81719 improve set theme 2019-10-18 22:05:39 +08:00
lixianjing
37f8c532ef support change theme realtime 2019-10-18 03:18:12 -07:00
lixianjing
9ac1817aa8 format code 2019-10-16 11:13:04 +08:00
lixianjing
7d96cde412 update docs 2019-10-16 09:08:45 +08:00
lixianjing
2a4a9c5d3c change glyph.x/y/w/h to 16bits 2019-10-15 17:54:52 +08:00
lixianjing
397ab75934 update assets 2019-10-14 16:05:27 +08:00
lixianjing
406815acf5 improve time now ms 2019-10-12 11:34:44 +08:00
lixianjing
624d212596 update assets 2019-10-11 17:20:55 +08:00
lixianjing
211dd2b2ac format code 2019-10-11 16:58:33 +08:00
lixianjing
86832d0a27 update assets 2019-10-11 12:42:52 +08:00
lixianjing
5918e4ea8e update assets 2019-10-10 10:03:06 +08:00
lixianjing
fb8c5f8f7e format code 2019-10-08 16:12:24 +08:00
lixianjing
bf19dc7aa8 update assets 2019-10-08 10:00:45 +08:00
xianjimli
3d0a59768a progress bar support max property 2019-09-27 12:28:15 +08:00
xianjimli
7a17b9d30f time clock support anchor 2019-09-27 11:36:10 +08:00
xianjimli
8b8679a80f add localize_options for combobox 2019-09-27 06:46:38 +08:00
lixianjing
d7b9e44c4b add EVT_REQUEST_QUIT_APP event 2019-09-19 17:30:50 +08:00
lixianjing
dfb0533892 improve style mutable 2019-09-18 18:02:37 +08:00
xianjimli
4a8cc5c2da update assets and scripts 2019-09-13 07:55:19 +08:00
lixianjing
f6058ea87b fix text selector selected index bug 2019-09-11 13:55:19 +08:00
lixianjing
655e0bcd6d fix windows compile error and format code 2019-09-05 16:33:05 +08:00
lixianjing
a08a0d5394 update projects 2019-09-04 15:14:33 +08:00
lixianjing
fa5e6c1c8e remove unused assets 2019-09-04 15:06:36 +08:00
lixianjing
5e7fc46c98 change time to uint64_t 2019-09-03 23:17:18 -07:00
lixianjing
336ae1a72d use stb font loader 2019-09-03 17:59:12 +08:00
lixianjing
533607a6ff format code 2019-09-03 10:03:23 +08:00
xianjimli
b1a21a546b children layouter list view add cols param 2019-08-31 11:33:38 +08:00
lixianjing
72c14c50f7 fix close_window when combox on dialog 2019-08-29 14:17:16 +08:00
lixianjing
5447f2fb8d fix write_len/read_len 2019-08-29 10:55:16 +08:00
lixianjing
0612f6a46e improve hscroll label 2019-08-28 17:14:00 +08:00
xianjimli
cee29f6bd3 format code 2019-08-26 06:42:41 +08:00
lixianjing
f1d15eebe0 add WIDGET_PROP_FOCUSED prop 2019-08-22 11:38:23 +08:00
xianjimli
acc63845aa format code 2019-08-20 07:44:53 +08:00
lixianjing
f76542ee45 change float_t to float in svg 2019-08-20 06:29:08 +08:00
lixianjing
f746ec44e6 split awtk.a into tkc/base/widgets/extwidgets/awtk 2019-08-19 18:43:23 +08:00
xianjimli
cbe5e0ae2c format code 2019-08-14 22:05:56 +08:00
lixianjing
a80c8c646e fix for stm32f103 2019-08-14 10:45:00 +08:00
xianjimli
51552c0bab refactor 2019-08-08 10:53:54 +08:00
xianjimli
35659907c4 update assets 2019-08-05 12:01:15 +08:00
xianjimli
a84c700d34 fix spell error 2019-08-05 07:04:35 +08:00
xianjimli
613e290372 update assets 2019-08-04 11:47:50 +08:00
xianjimli
3174e749ca improve for android 2019-08-03 11:59:59 +08:00
xianjimli
7d1d384122 improve for android 2019-08-03 10:53:19 +08:00
xianjimli
181ec11071 refactor build json 2019-08-03 07:23:51 +08:00
xianjimli
cf11e2888a improve for android 2019-08-02 18:02:02 +08:00
xianjimli
1130561be6 Merge branch 'master' of https://github.com/zlgopen/awtk 2019-08-02 12:25:30 +08:00
xianjimli
4d5d5c95eb Merge branch '1.2' 2019-08-02 12:25:06 +08:00
xianjimli
c54e5b999d disable pool 2019-08-02 12:24:48 +08:00
xianjimli
de5bedcf50 modify assets-1m.c 2019-08-02 11:54:47 +08:00
xianjimli
d2432f8330 rework window manager 2019-08-01 11:10:17 +08:00
xianjimli
fc33b1626d update docs 2019-07-25 17:56:36 +08:00
xianjimli
3345099956 improve preview_ui.c 2019-07-24 11:05:34 +08:00
xianjimli
dd33a0010b improve slider 2019-07-19 07:41:11 +08:00
xianjimli
18be2a289b improve switch 2019-07-17 07:01:07 +08:00
xianjimli
ae078f6d6c improve tab_button 2019-07-16 18:07:52 +08:00
xianjimli
8a95af8776 update demos 2019-07-15 12:00:47 +08:00
lixianjing
1abcbb8986 edit support custom valid char function 2019-07-11 15:08:37 +08:00
lixianjing
918ce9288c Merge branch 'master' of https://github.com/zlgopen/awtk 2019-07-11 09:37:44 +08:00
lixianjing
b1abb9c3bf fix compile warnings 2019-07-11 09:28:14 +08:00
lixianjing
d369ae1b25 tab button group support scrollable 2019-07-11 09:11:35 +08:00
lixianjing
97023065af improve window animation 2019-07-09 10:14:09 +08:00
xianjimli
ff56043912 update docs 2019-07-06 16:46:05 +08:00
xianjimli
9928a39390 fix compile warnings 2019-07-05 07:13:23 +08:00
lixianjing
42fdb6005c fix compile warnings(issue #167) 2019-07-04 11:26:55 +08:00
lixianjing
753696a960 mledit selection 2019-07-04 09:18:55 +08:00
lixianjing
fdf64b8174 add line number widget 2019-07-03 18:14:00 +08:00
lixianjing
b5080683e5 fix svg_to_bsvg 2019-07-03 15:23:03 +08:00
lixianjing
126402ab0f fix widget_animator_stop 2019-07-03 13:46:39 +08:00
lixianjing
91d7bbf0b0 mledit support vscroll bar 2019-07-02 18:18:05 +08:00
lixianjing
337e5f5817 improve edit 2019-07-01 17:40:15 +08:00
lixianjing
93e6509246 add menu layouter 2019-07-01 08:48:36 +08:00
lixianjing
a2f3d86eaa fix slide menu 2019-06-26 09:59:11 +08:00
lixianjing
95c9f234e3 handle out of memory 2019-06-26 09:52:58 +08:00
lixianjing
67f3cc2e35 fix cairo global alpha 2019-06-25 17:17:28 +08:00
lixianjing
b7233cbf4c rework edit and add mledit 2019-06-24 08:57:48 +08:00
lixianjing
fe1ba40fc8 auto detect app_root 2019-06-14 02:16:00 -07:00
lixianjing
0050a3263a update assets 2019-06-12 16:03:56 +08:00
lixianjing
abdbd608f8 fix font scale 2019-06-12 14:26:04 +08:00
xianjimli
b18990b53b update assets 2019-06-08 12:17:32 +08:00
lixianjing
fc8bafdacb add border width 2019-06-06 18:19:03 +08:00
lixianjing
c30cf7e567 fix build warnings 2019-06-06 11:33:49 +08:00
lixianjing
bde1c5f8be add slide view indicator 2019-06-05 17:50:55 +08:00
lixianjing
5d12744f01 fix for stm32 2019-06-05 14:12:01 +08:00
lixianjing
36e40f87a7 fix ui_loader_xml 2019-06-04 18:35:45 -07:00
lixianjing
8880ead798 update assets 2019-06-04 18:16:41 +08:00
lixianjing
46bcc5adc5 xml ui desc file support property tag 2019-06-04 18:04:52 +08:00
lixianjing
b3710d028c xml parser support cdata 2019-06-04 15:59:50 +08:00
xianjimli
45be58901d enable style mutable by default 2019-06-03 18:35:42 +08:00
xianjimli
b4dcb166b2 improve builtin dialog 2019-06-02 12:06:16 +08:00
xianjimli
66080e8508 fix preview ui when ui file not exist 2019-05-31 11:05:36 +08:00
lixianjing
a4f349c414 ensure tab button visible in scroll view 2019-05-30 09:47:26 +08:00
lixianjing
6d4513da79 remove TK_DEFAULT_FONT macro 2019-05-29 17:24:46 +08:00
lixianjing
055a67d859 add overlay 2019-05-29 15:24:59 +08:00
lixianjing
41f3d32eb3 improve window manager 2019-05-27 11:35:25 +08:00
lixianjing
00d3fd91aa rework list view layouter 2019-05-22 18:05:44 +08:00
lixianjing
b40624f907 window add move_focus_next_key/move_focus_prev_key props 2019-05-22 16:11:10 +08:00
lixianjing
00c8fb7bcf improve event flow, support place slide menu in slide view 2019-05-22 14:42:15 +08:00
lixianjing
3b852ceaa0 update assets 2019-05-21 17:06:57 +08:00
lixianjing
daf43c19c4 support tab stop 2019-05-21 16:23:10 +08:00
xianjimli
1bfb030799 fix widget_set_tr_text 2019-05-20 17:22:26 +08:00
xianjimli
aba26729d9 improve slider to support left/right/up/down 2019-05-18 19:07:10 +08:00
lixianjing
f0fc6c230e update assets 2019-05-15 02:48:46 -07:00
xianjimli
c327143350 add some xxx_BEFORE_CHILDREN events, give user register event handlers an opportunity to intercept default event handler 2019-05-10 16:52:06 +08:00
xianjimli
aed17d169c update assets 2019-05-10 07:11:33 +08:00
xianjimli
0117c69a82 add new state WIDGET_STATE_EMPTY_FOCUS for edit. 2019-05-07 14:28:43 +08:00
xianjimli
2204f9c7d2 update assets 2019-05-07 14:09:38 +08:00
xianjimli
23445d1436 show tips if edit is empty even in focus status 2019-05-07 09:39:19 +08:00
lixianjing
2925f4e882 rename thread to tk_thread 2019-05-06 16:35:51 +08:00
lixianjing
adb50980a3 rename demo_ui_web.json to demoui_web.json 2019-05-04 10:29:10 +08:00
lixianjing
90c9704279 add app_type 2019-05-03 08:37:32 +08:00
xianjimli
2e98b7203f update docs and assets 2019-04-24 14:31:12 +08:00
xianjimli
dc4e8cde41 update assets 2019-04-24 09:56:53 +08:00
xianjimli
a2c738d110 fix build script for python3 2019-04-23 16:01:10 +08:00
xianjimli
8bac0ab1a0 fix build script for python3 2019-04-23 16:00:02 +08:00
xianjimli
271768e0ee fix window manager paint events 2019-04-19 16:43:21 +08:00
xianjimli
f0f361aebe modify for awtk-web 2019-04-15 11:29:36 +08:00
xianjimli
931d2d8a7c refactor 2019-04-14 19:14:16 +08:00
xianjimli
2acc576ce1 add ui_loader_load_widget 2019-04-12 17:21:28 +08:00
xianjimli
4b7f6c5944 fix TK_CONST_DATA_ALIGN for vs2015 2019-04-11 11:33:06 +08:00
xianjimli
2c0b55404f update assets 2019-04-10 13:57:08 +08:00
xianjimli
10c5a02b51 update assets 2019-04-10 09:08:47 +08:00
xianjimli
46d5f9e238 fix window_manager_back_to_home(issue #109) 2019-04-09 09:14:55 +08:00
xianjimli
16e992c20b refactor and fix memory leaks found by valgrind 2019-04-08 18:14:36 +08:00
xianjimli
14ac7ba75d update asset scripts 2019-04-07 18:31:16 +08:00
xianjimli
fc208d26c5 add TK_CONST_DATA_ALIGN 2019-04-06 12:29:06 +08:00
xianjimli
3e30b0a8b1 fix demo 2019-04-03 17:13:18 +08:00
xianjimli
8b8b4a835d update assets-1m 2019-04-03 13:48:52 +08:00
xianjimli
112c98816c update assets 2019-04-03 13:46:31 +08:00
xianjimli
e510533545 improve text selector, support format in options prop 2019-04-03 11:30:35 +08:00
xianjimli
d262f5f1e3 re-enable WITH_MINI_FONT 2019-04-03 09:28:49 +08:00
xianjimli
e32bf9ee3a fix for stm32 2019-04-02 16:15:57 +08:00
xianjimli
9bfd1e75a9 rename dumbledor.ttf to default_mini.ttf 2019-04-02 14:51:04 +08:00
xianjimli
72b6216441 add dumbledor.res 2019-04-02 14:42:01 +08:00
xianjimli
9981b393e4 add dumbledor.ttf 2019-04-02 14:40:58 +08:00
xianjimli
d3158e09b6 remove WITH_MINI_FONT support 2019-04-01 17:38:51 +08:00
xianjimli
64d819dc2c remove MINI_FONT fix issue #103 2019-04-01 17:34:28 +08:00
xianjimli
5128b0448f fix window_manager_back_to_home(issue #102) 2019-03-30 10:27:32 +08:00
xianjimli
580b924a48 merge reworkwa 2019-03-29 18:39:40 +08:00
xianjimli
a723cfa430 fix compile warnings 2019-03-29 18:00:02 +08:00
xianjimli
e74767d2e6 fix for stm32 2019-03-29 17:12:58 +08:00
xianjimli
4a007a3ef7 update docs and format code 2019-03-28 17:51:05 +08:00
xianjimli
1928fab093 refactor 2019-03-28 15:24:27 +08:00
xianjimli
f6ec18c8e3 add more window_animators 2019-03-28 15:08:58 +08:00
xianjimli
f2474b2294 refactor and format code 2019-03-27 18:04:38 +08:00
xianjimli
414389e506 add dialog_highlighters 2019-03-27 15:30:03 +08:00
xianjimli
03e87f1643 remove some images in assets-1m.c 2019-03-25 17:51:16 +08:00
xianjimli
36f949132b fix issue #101 2019-03-25 16:55:48 +08:00
xianjimli
5a5e990fc3 improve assets scripts 2019-03-22 12:02:10 +08:00
xianjimli
f91ae2ff8a update assets 2019-03-22 11:03:44 +08:00
xianjimli
3e0c7babe1 add bar_size prop for slider 2019-03-21 18:03:31 +08:00
xianjimli
251b4bdc79 data assets support duplicate filename 2019-03-21 17:44:11 +08:00
xianjimli
effe016fee fix edit default focus bug 2019-03-20 15:33:37 +08:00
xianjimli
9ffb00304d window support fullscreen prop, and update docs 2019-03-20 14:53:37 +08:00
xianjimli
9363571234 fix style config 2019-03-20 11:41:09 +08:00
xianjimli
d4141a0f05 fix style config 2019-03-20 11:35:15 +08:00
xianjimli
db616f27fe improve assets build script to support any file extensions in data folder. 2019-03-20 11:16:26 +08:00
xianjimli
4be33699a0 improve assets build scripts 2019-03-15 17:44:48 +08:00
xianjimli
165cf687e2 add Custom Soft Keyboard demo 2019-03-14 10:52:25 +08:00
xianjimli
223e4ed405 improve demo 2019-03-13 15:33:51 +08:00
xianjimli
3563019076 format code 2019-03-13 15:31:15 +08:00
xianjimli
da6eb3afa9 fix emitter_remove_item 2019-03-13 15:27:44 +08:00
xianjimli
324ff46554 add window_manager_back/window_manager_back_to_home 2019-03-12 14:39:52 +08:00
xianjimli
c7b0a01f77 update assets 2019-03-11 18:32:41 +08:00
xianjimli
349a1a2034 update assets 2019-03-11 17:59:18 +08:00
xianjimli
77cadc0a49 improve digit clock 2019-03-11 17:57:27 +08:00
xianjimli
2680f831b3 fix emitter_dispatch 2019-03-11 12:02:54 +08:00
xianjimli
7d1e1279df update docs 2019-03-08 19:22:37 +08:00
xianjimli
1d7c057175 ui/image name support expr 2019-03-08 18:51:09 +08:00
xianjimli
52272913b1 refactor and support load density insensitive images 2019-03-08 11:26:35 +08:00
xianjimli
3e804bafc9 support set font global scale 2019-03-07 15:53:59 +08:00
xianjimli
f8416152dd rework system info 2019-03-07 15:25:11 +08:00
xianjimli
2d39829ef1 fix canvas_get_vgcanvas, init text_baseline/text_align 2019-03-06 11:21:01 +08:00
xianjimli
d05b0d0fd3 slide view support loop mode 2019-03-06 10:08:21 +08:00
xianjimli
759fe23752 rework progressbar/slider 2019-03-05 14:43:20 +08:00
xianjimli
adbd2d94f4 fix progress bar display bug 2019-03-04 17:08:14 +08:00
xianjimli
4e303c133f fix compile warnings 2019-03-03 12:10:46 +08:00
xianjimli
a66f782df1 add assets-1m for 1M flash platforms 2019-03-03 11:44:35 +08:00
xianjimli
f88d9699b4 add dialog_info/dialog_confirm/dialog_info 2019-03-02 18:04:29 +08:00
xianjimli
a64b93fff0 add dialog_toast 2019-03-01 18:04:57 +08:00
xianjimli
3639b00a01 improve image_animation 2019-02-26 18:03:26 +08:00
xianjimli
7b76f9ee2b format code and update docs 2019-02-25 12:02:56 +08:00
xianjimli
c0827a555b improve image_animation, fix issue #85 2019-02-25 11:59:00 +08:00
xianjimli
2bfc2d123d support change screen saver time 2019-02-21 18:00:15 +08:00
xianjimli
659a88aea0 fix open dialog in long press event 2019-02-20 17:21:37 +08:00
xianjimli
9eb02f67a1 support screen saver 2019-02-20 15:02:13 +08:00
xianjimli
dc00e9a674 button add enable_long_press property 2019-02-20 10:32:41 +08:00
xianjimli
0ef299abd3 improve image animation 2019-02-18 11:29:51 +08:00
xianjimli
6ad88d423e assets support script 2019-02-07 17:27:19 +08:00