Commit Graph

709 Commits

Author SHA1 Message Date
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
xianjimli
734164bdd6 update assets and add tests 2019-02-04 07:58:13 +08:00
xianjimli
8a61fa2013 fix system bar locale. issue #86 2019-01-26 08:02:18 +08:00
xianjimli
9c9a5708d4 fix check button and update assets 2019-01-17 09:18:15 +08:00
xianjimli
9dab9f59bf improve slide menu 2019-01-09 09:21:46 +08:00
xianjimli
85223226d9 update assets 2019-01-08 11:09:06 +08:00
xianjimli
11fde44915 update docs 2019-01-07 12:06:05 +08:00
xianjimli
201b4a089d update copyright time 2019-01-07 10:58:36 +08:00
xianjimli
556bf31e00 fix combobox. issue #62 2019-01-04 16:16:27 +08:00
xianjimli
8df10787f7 improve slide menu. fix issue #63 2019-01-04 15:43:45 +08:00
xianjimli
98c43e17ce add close button on keyboard. fix issue #44 2019-01-03 15:52:56 +08:00
xianjimli
5286eda421 add images 2019-01-03 14:52:45 +08:00
xianjimli
646095435c improve password edit 2019-01-03 14:45:23 +08:00
xianjimli
8ebe43de3c fix demos 2019-01-03 11:37:28 +08:00
xianjimli
1ae1b5002f update docs 2018-12-29 12:17:06 +08:00
xianjimli
07d02d7ca7 update docs 2018-12-27 15:28:20 +08:00
xianjimli
969f35c4ce support freetype font loader 2018-12-26 18:10:38 +08:00
xianjimli
bdf4ad8945 update docs 2018-12-26 15:08:22 +08:00
xianjimli
a024cf7d18 remove large image 2018-12-26 11:03:29 +08:00
xianjimli
7d4ba3b4a7 remove unused assets 2018-12-26 10:27:47 +08:00
xianjimli
f5442abea5 add widget_animate_value_to 2018-12-26 09:30:33 +08:00
xianjimli
9c85038e16 rename NAME_LEN to TK_NAME_LEN 2018-12-26 09:14:02 +08:00
xianjimli
40d9deb9a8 change style id to string 2018-12-25 18:00:46 +08:00
xianjimli
5a9ed121df change widget state to const char* 2018-12-25 15:33:44 +08:00
xianjimli
aa27611594 fix combo box value changed events 2018-12-22 11:40:07 +08:00
xianjimli
036fc5fc14 update assets 2018-12-20 14:42:22 +08:00
xianjimli
32525eedeb optimize images 2018-12-20 14:25:53 +08:00
xianjimli
047523cd74 support mono fonts 2018-12-20 14:05:00 +08:00
xianjimli
f8cffee530 rework layout 2018-12-20 11:01:37 +08:00
xianjimli
53fe3d2f45 update assets 2018-12-19 09:34:21 +08:00
xianjimli
eca1a11f96 update assets 2018-12-18 10:06:38 +08:00
xianjimli
ae812450fc update assets 2018-12-18 09:34:56 +08:00
xianjimli
5fb485f5bd improve widget_destroy 2018-12-18 09:27:08 +08:00
xianjimli
a13294346c theme support round_radius for background and border 2018-12-16 12:06:15 +08:00
xianjimli
d1aa0b568c split base into 3 directories: tck, base and widgets 2018-12-15 17:22:05 +08:00
xianjimli
a3a197eb52 fix layout bug 2018-12-14 12:44:27 +08:00
xianjimli
191c3e8209 improve label 2018-12-12 11:17:41 +08:00
xianjimli
e2a1d4a921 support any number property animation. 2018-12-12 09:21:13 +08:00
xianjimli
85a7624b2b improve digit clock 2018-12-11 15:20:52 +08:00
xianjimli
f0d180320f add slide menu 2018-12-11 14:33:02 +08:00
xianjimli
f7b3f3fd76 gradient support alpha channel 2018-12-11 09:12:37 +08:00
xianjimli
64107c48ff support gradient 2018-12-07 12:42:54 +08:00
xianjimli
65532a2f45 fix window_animator_begin_frame to support 3fb 2018-12-05 17:01:06 +08:00
xianjimli
8f10138ce8 label supported multi-line 2018-12-05 16:23:49 +08:00
xianjimli
22b8a7bed7 update assets 2018-12-04 16:02:13 +08:00
xianjimli
6a7a098d30 update assets 2018-12-04 15:54:51 +08:00
xianjimli
6854adf9c7 update assets 2018-12-04 15:54:10 +08:00
xianjimli
edce71ef18 window manager support style 2018-12-04 14:52:05 +08:00
xianjimli
0db3c839ae update assets 2018-12-04 11:05:16 +08:00
xianjimli
20a78924b8 update docs 2018-12-04 10:23:33 +08:00
xianjimli
b3f882203c add system_bar 2018-12-03 12:50:07 +08:00
xianjimli
6a98491b2e add image value widget 2018-12-01 18:30:03 +08:00
xianjimli
b244b590fd add canvas_widget 2018-12-01 11:41:23 +08:00
xianjimli
457e87745a add zh/en switch button in default keyboard 2018-11-29 17:37:23 +08:00
xianjimli
42fe077f53 update assets 2018-11-29 15:26:48 +08:00
xianjimli
a2cad49093 update assets 2018-11-29 14:27:01 +08:00
xianjimli
c8ee186278 add get_clip_rect for vgcanvas to fix issue #52 2018-11-29 13:49:59 +08:00
xianjimli
cbfd25ed42 fix demo_main.c 2018-11-29 10:32:28 +08:00
xianjimli
5dd07d42a4 fix res_root 2018-11-29 10:25:45 +08:00
xianjimli
b66ba09b34 update locale doc and demos 2018-11-28 09:09:59 +08:00
xianjimli
573ad4cff5 update assets 2018-11-27 09:55:32 +08:00
xianjimli
386f047d52 update assets 2018-11-27 09:38:01 +08:00
xianjimli
3ab0f41ac7 call widget_invalidate in some set function 2018-11-26 17:09:10 +08:00
xianjimli
a1e2ac2ca9 support gif 2018-11-25 18:57:44 +08:00
xianjimli
4aa61a3fce svg support path arc 2018-11-24 18:30:26 +08:00
xianjimli
fc9025816c add svg_image 2018-11-23 17:30:06 +08:00
xianjimli
094e823e0a fix dirty rect when show_fps 2018-11-21 18:13:41 +08:00
xianjimli
36f7726894 update assets 2018-11-21 15:49:38 +08:00
xianjimli
e69aa2d6f5 improve slide view 2018-11-21 10:17:24 +08:00
xianjimli
e604049609 fix build scripts and update assets 2018-11-21 09:34:23 +08:00
xianjimli
7f33ea09bd update assets 2018-11-20 17:35:36 +08:00
xianjimli
a0215a945f update assets 2018-11-20 17:06:57 +08:00
xianjimli
d27b3fc618 fix compile warnings 2018-11-20 09:45:24 +08:00