Commit Graph

385 Commits

Author SHA1 Message Date
xianjimli
d7d0953252 add test 2019-01-17 09:35:31 +08:00
xianjimli
6880692d8c remove array_t 2019-01-17 09:10:30 +08:00
xianjimli
c6b9a87893 rework all widget creator functions 2019-01-16 15:44:25 +08:00
xianjimli
b04cafeb24 rework widget pool 2019-01-16 11:38:31 +08:00
xianjimli
fc3554ee3d add darray_t to replace array_t 2019-01-16 09:48:07 +08:00
xianjimli
80b5b18827 improve script binding 2019-01-13 18:39:30 +08:00
xianjimli
32b25a06ea improve script binding 2019-01-13 12:18:55 +08:00
xianjimli
a8a6464adb update docs 2019-01-12 11:52:46 +08:00
xianjimli
abf3e12ce0 rework timer 2019-01-12 08:29:38 +08:00
xianjimli
ce8413ea51 Merge branch 'master' of https://github.com/zlgopen/awtk 2019-01-11 12:21:30 +08:00
xianjimli
c5f2c1f63f add slist 2019-01-11 12:21:16 +08:00
xianjimli
1ae12a655e fix windows compile errors 2019-01-11 07:29:57 +08:00
xianjimli
a10cd2ee46 add object_t 2019-01-10 16:23:03 +08:00
xianjimli
b5090041da refactoring and update docs 2019-01-09 16:24:14 +08:00
xianjimli
201b4a089d update copyright time 2019-01-07 10:58:36 +08:00
xianjimli
3f561dc4ab fix capslock 2019-01-03 17:39:29 +08:00
xianjimli
b3109001bc fix widget_get_state_for_style 2019-01-03 16:20:24 +08:00
xianjimli
1ae1b5002f update docs 2018-12-29 12:17:06 +08:00
xianjimli
742f4f94a5 update docs 2018-12-28 17:43:54 +08:00
xianjimli
3bed50d0c3 refactor and update docs 2018-12-27 17:39:26 +08:00
xianjimli
2b54b4a72d improve font and font cache 2018-12-27 17:15:22 +08:00
xianjimli
07d02d7ca7 update docs 2018-12-27 15:28:20 +08:00
xianjimli
55721f7e7d update docs 2018-12-27 14:02:45 +08:00
xianjimli
969f35c4ce support freetype font loader 2018-12-26 18:10:38 +08:00
xianjimli
f13ff0b236 improve value_t 2018-12-26 17:06:06 +08:00
xianjimli
4b751c3bef update docs 2018-12-26 11:36:59 +08:00
xianjimli
4bf297c9f9 update test 2018-12-26 10:27:11 +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
e2845bf75d support widget pool 2018-12-22 19:04:55 +08:00
xianjimli
91af1169e1 add widget_get_prop_default_value 2018-12-22 12:05:10 +08:00
xianjimli
65f64a547c improve widget_clone/widget_equal/widget_to_xml, add sensitive prop for widget 2018-12-20 16:18:49 +08:00
xianjimli
f8cffee530 rework layout 2018-12-20 11:01:37 +08:00
xianjimli
9a151db47c fix color parse 2018-12-18 09:49:09 +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
445a3d3bb4 fix canvas 2018-12-13 14:59:38 +08:00
xianjimli
dbbdd0524a fix slide menu 2018-12-13 11:33:03 +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
1e7d717316 format code 2018-12-07 17:59:44 +08:00
xianjimli
c8204a8e72 fix draw_vline/draw_hline 2018-12-07 16:49:05 +08:00
xianjimli
8f10138ce8 label supported multi-line 2018-12-05 16:23:49 +08:00
xianjimli
0ab6b5bd20 add str_unescape 2018-12-05 16:23:13 +08:00
xianjimli
6a98491b2e add image value widget 2018-12-01 18:30:03 +08:00
xianjimli
9452323c7f fix issue #56 (handle user changed system time) 2018-11-30 18:23:56 +08:00
xianjimli
c025fa550e add widget_restack/widget_insert_child 2018-11-30 12:13:35 +08:00
xianjimli
04680ed96c add tests 2018-11-30 11:28:54 +08:00
xianjimli
92f0e2612d improve layout params parser 2018-11-29 15:21:27 +08:00
xianjimli
c85f116fc8 move input device status related code from window_manager to input_device_status.c 2018-11-28 15:40:46 +08:00
xianjimli
a1e2ac2ca9 support gif 2018-11-25 18:57:44 +08:00
xianjimli
c1c3c84962 rework image 2018-11-22 14:58:21 +08:00
xianjimli
a5c2d80dd2 add clip board 2018-11-21 15:38:43 +08:00
xianjimli
62f70cbf38 improve svg parser and add svg_gen 2018-11-19 17:31:03 +08:00
xianjimli
e8294ad66e add svg 2018-11-18 19:04:13 +08:00
xianjimli
a209db607a improve digit clock 2018-11-14 09:57:08 +08:00
xianjimli
c558d7d48a improve wstr 2018-11-14 09:12:49 +08:00
xianjimli
7d3a23db17 add progress_circle and format code 2018-11-10 18:20:49 +08:00
xianjimli
370ed9fe56 improve events 2018-11-08 17:12:40 +08:00
xianjimli
7d5887bf88 fix screen rotation 2018-11-07 10:15:38 +08:00
xianjimli
34b55b31b7 improve animator and update docs 2018-11-06 10:22:50 +08:00
xianjimli
889fc6a58f improve widget animator 2018-11-05 17:32:23 +08:00
xianjimli
ab9fc935e7 rework idle 2018-11-04 11:51:14 +08:00
xianjimli
995844371d rework timer_manager 2018-11-04 11:10:40 +08:00
xianjimli
fa00bc59ae add digit clock 2018-11-03 12:10:25 +08:00
xianjimli
a6e2dbbdde add widget_add_timer 2018-11-02 18:04:06 +08:00
xianjimli
8c1319a7f6 add style_mutable 2018-11-01 15:38:14 +08:00
xianjimli
e2ab3abc1b add tk_round/tk_clamp 2018-10-31 13:49:19 +08:00
xianjimli
a2bc0c7d1e tests 2018-10-30 18:14:12 +08:00
xianjimli
0080e34788 fix canvas clip bug 2018-10-30 15:19:09 +08:00
xianjimli
aaa57408cc refactoring combo_box_item 2018-10-28 11:33:38 +08:00
xianjimli
34bc2205fd change style format of tab_button/combo_box_item 2018-10-28 11:07:44 +08:00
xianjimli
29d4eb938f update assets 2018-10-28 07:23:36 +08:00
xianjimli
b63dd50759 rework style related code 2018-10-27 18:34:18 +08:00
xianjimli
eb7e2b2703 improve blend and support line_length(also called stride/pitch) 2018-10-24 15:39:19 +08:00
xianjimli
3f7ace2855 improve widget animator 2018-10-23 15:08:08 +08:00
xianjimli
32f236a726 fix mouse cursor 2018-10-23 09:42:07 +08:00
xianjimli
7096b265a8 add window_base and refactoring 2018-10-22 17:21:06 +08:00
xianjimli
83d76c810a update assets and improve demos 2018-10-22 07:38:47 +08:00
xianjimli
2e690f326b add tests 2018-10-22 07:38:18 +08:00
xianjimli
766de04b36 update docs/format code 2018-10-21 07:59:27 +08:00
xianjimli
6e1cba7cb2 window animations supports set duration param in xml file 2018-10-20 19:04:48 +08:00
xianjimli
8911bc3dad add func_call_parser 2018-10-20 17:49:04 +08:00
xianjimli
9a6ea0fa01 update tests and docs 2018-10-20 11:15:41 +08:00
xianjimli
6c17f5e5cb rework font loader 2018-10-19 18:10:58 +08:00
xianjimli
78b4b3635c update assets 2018-10-17 09:57:47 +08:00
xianjimli
5a7a0c3fda improve image loader 2018-10-16 16:30:26 +08:00
xianjimli
14ec1c997a nanovg-agg backend 2018-10-15 16:19:26 +08:00
xianjimli
109c96201c tidy 3rd packages 2018-10-13 18:40:00 +08:00
xianjimli
4e5b0caaec update assets 2018-10-12 17:48:41 +08:00
xianjimli
fe9d6829de optimization 2018-10-11 16:12:43 +08:00
xianjimli
b611e64159 change rgb565 to bgr565 and format code 2018-10-11 14:20:17 +08:00
xianjimli
a7b2b19ec2 rework lcd_mem and blend 2018-10-10 17:30:59 +08:00
xianjimli
65f0880414 fix ui_loader_xml 2018-10-08 16:33:32 +08:00
xianjimli
ed75a4c2e0 fix windows compile erros 2018-10-04 11:48:29 +08:00
xianjimli
e22d5afdef improve mem manager, support memory leak 2018-10-04 11:14:59 +08:00
xianjimli
70f72129a9 add image_animation 2018-09-28 17:48:59 +08:00
xianjimli
f2c5058f46 fix vgcanvas 2018-09-27 14:21:45 +08:00
xianjimli
576b183696 add switch control 2018-09-27 11:38:11 +08:00
xianjimli
8bd8a6f7d9 add text selecotr demos 2018-09-26 10:09:59 +08:00
xianjimli
98c486ac1d add text_selector 2018-09-25 18:00:27 +08:00
xianjimli
88f9081306 refactoring 2018-09-23 12:12:38 +08:00
xianjimli
bc6e63af64 update resources 2018-09-22 18:13:21 +08:00
xianjimli
406f48343b fix valgrind found bugs 2018-09-21 10:32:39 +08:00
xianjimli
e1ef4f7024 ui desc file support include process instruction 2018-08-29 14:21:06 +08:00
xianjimli
1f8c3a71d6 add xml_file_expand_read 2018-08-29 11:27:38 +08:00
xianjimli
1981b6b204 add str_insert/str_remove 2018-08-29 11:27:15 +08:00
xianjimli
4abee6c79b fix path_app_root on windows 2018-08-28 18:20:07 +08:00
xianjimli
dbc5628a99 add path.c 2018-08-26 12:13:30 +08:00
xianjimli
7e6e0c9927 rename some file related functions and update resource 2018-08-26 07:14:32 +08:00
xianjimli
e632eedb37 move some widgets from base to ext_widgets 2018-08-24 11:20:34 +08:00
xianjimli
e57c8f0d4a rename resource to assets 2018-08-24 07:45:37 +08:00
xianjimli
75b16e7cd8 add color tile 2018-08-22 15:51:49 +08:00
xianjimli
bc5b583aab update resources 2018-08-20 07:44:12 +08:00
xianjimli
c30bf63bda improve res path 2018-08-19 19:12:35 +08:00
xianjimli
c1417104c8 improve desktop development 2018-08-17 18:11:08 +08:00
xianjimli
beaafbafa5 improve dialog 2018-08-12 18:47:01 +08:00
xianjimli
53a83344cb rename 3patch to patch3, 9patch to patch9 2018-08-11 12:14:20 +08:00
xianjimli
d723e09a53 make locale_t scriptable 2018-08-08 18:28:04 +08:00
xianjimli
70c243e4d4 add cast for each widget 2018-08-08 17:58:03 +08:00
xianjimli
ee9af7c6bc improve script bindings 2018-08-08 12:21:52 +08:00
xianjimli
3dfa4409f3 format code and fix slider 2018-08-06 17:46:27 +08:00
xianjimli
0216a4bfd8 improve api dos and update resources 2018-08-06 12:21:12 +08:00
xianjimli
f77b4644cd move tk.h to awtk.h 2018-08-05 18:56:46 +08:00
xianjimli
dece8002c9 fix valgrind found bugs 2018-08-04 11:58:43 +08:00
xianjimli
558af7f68e fix for linux 2018-08-03 18:40:24 +08:00
xianjimli
7f5651afbb update resources 2018-08-02 18:17:05 +08:00
xianjimli
d50da677c7 improve api docs 2018-08-02 17:48:21 +08:00
xianjimli
8b20ae9599 remove widget.type 2018-08-01 12:53:59 +08:00
xianjimli
c6d1d6c43d improve rich text 2018-07-31 16:26:31 +08:00
xianjimli
1faf29b808 add rich text demo 2018-07-29 12:43:39 +08:00
xianjimli
1506b99a01 add font baseline 2018-07-29 11:43:31 +08:00
xianjimli
2b1f40fc41 improve rich text 2018-07-29 08:46:01 +08:00
xianjimli
62ffe87669 add rich_test 2018-07-28 19:45:28 +08:00
xianjimli
7824ee6fbb add rich text parser 2018-07-27 19:12:20 +08:00
xianjimli
86c7a3a713 add line break 2018-07-27 10:50:05 +08:00
xianjimli
df93320be3 add combo box 2018-07-26 19:05:15 +08:00
xianjimli
1401d0ae1c update docs 2018-07-24 19:07:17 +08:00
xianjimli
8829b3147d improve tab control 2018-07-24 12:16:06 +08:00
xianjimli
e2ad4ccf04 implement tab control 2018-07-23 18:53:40 +08:00
xianjimli
21fb7072a6 tab_button/button_group 2018-07-22 14:22:09 +08:00
xianjimli
2c9f120a51 add widget_index_of 2018-07-21 07:26:44 +08:00
xianjimli
9c0433de9b only image support rotation/scale 2018-07-18 10:36:54 +08:00
xianjimli
33f4681b4a rework theme 2018-07-17 11:27:14 +08:00
xianjimli
e32387c055 widget support custom props 2018-07-17 07:47:53 +08:00
xianjimli
f29501ef27 add widget_to_xml 2018-07-15 18:10:44 +08:00
xianjimli
518ac5af2c implement ui_widget_to_xml 2018-07-14 18:04:52 +08:00