Commit Graph

497 Commits

Author SHA1 Message Date
xianjimli
f1d464ab8d group_box support typecheck 2019-02-26 10:17:02 +08:00
xianjimli
fa375484ec grid_item support typecheck 2019-02-26 10:14:22 +08:00
xianjimli
e8d29f2dab spin_box support typecheck 2019-02-26 10:11:52 +08:00
xianjimli
a3abb85f1d grid support typecheck 2019-02-26 10:09:27 +08:00
xianjimli
fbf94345c4 edit support typecheck 2019-02-26 10:03:18 +08:00
xianjimli
0f1ccb285b dragger suppor typecheck 2019-02-26 10:01:42 +08:00
xianjimli
9978289fbd dialog title support typecheck 2019-02-26 09:58:04 +08:00
xianjimli
e64853afa0 dialog_client support typecheck 2019-02-26 09:56:25 +08:00
xianjimli
0ee59551c6 combo_box_item support typecheck 2019-02-26 09:51:55 +08:00
xianjimli
32422532d2 combo_box support typecheck 2019-02-26 09:50:06 +08:00
xianjimli
73905076fc column support typecheck 2019-02-26 09:47:52 +08:00
xianjimli
c343941f2a color_tile support typecheck 2019-02-26 09:43:04 +08:00
xianjimli
5ed34ac0f0 check_button support typecheck 2019-02-26 09:40:40 +08:00
xianjimli
dfe81f3bac merge master 2019-02-26 08:46:23 +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
4760450519 improve test 2019-02-21 11:08:36 +08:00
xianjimli
f62cfbd242 fix value_copy/value_deep_copy 2019-02-21 11:08:00 +08:00
xianjimli
13f5a4acd9 add object_copy_prop 2019-02-21 11:07:28 +08:00
xianjimli
a1b538d5d7 add timer_reset 2019-02-20 14:59:49 +08:00
xianjimli
dc00e9a674 button add enable_long_press property 2019-02-20 10:32:41 +08:00
xianjimli
22674b0d6d button support typecheck 2019-02-19 16:00:31 +08:00
xianjimli
d84dd7a436 add darray_tail/darray_head 2019-02-19 15:09:15 +08:00
xianjimli
422ec231a5 improve dialog 2019-02-18 11:43:59 +08:00
xianjimli
0ef299abd3 improve image animation 2019-02-18 11:29:51 +08:00
xianjimli
0f6fad9d39 bitmap/color/date_time/emitter/event/named_value/object/object_default/rect/value support gc 2019-02-15 05:44:49 +08:00
xianjimli
5ab6a23ca1 add tk_under_score_to_camel 2019-02-14 08:45:23 +08:00
xianjimli
6ad88d423e assets support script 2019-02-07 17:27:19 +08:00
xianjimli
b207ccb565 format code 2019-02-04 18:04:19 +08:00
xianjimli
734164bdd6 update assets and add tests 2019-02-04 07:58:13 +08:00
xianjimli
1bedee8c42 add object_notify_changed 2019-02-03 17:13:56 +08:00
xianjimli
64ac168b02 add tk_str_ieq 2019-02-02 08:20:18 +08:00
xianjimli
67719425b2 fix str/wstr 2019-02-02 07:37:30 +08:00
xianjimli
7a1de48e6f move mvvm related code to awtk-mvvm project 2019-02-01 08:00:59 +08:00
xianjimli
3ffdc10b0d add test 2019-02-01 07:02:28 +08:00
xianjimli
1fb43e92b5 add binding_context_awtk 2019-01-31 17:26:03 +08:00
xianjimli
38173656b3 add int_str/str_str 2019-01-31 06:33:27 +08:00
xianjimli
ccd01abc28 improve data binding 2019-01-30 17:35:55 +08:00
xianjimli
539db4ae6a replace custom prop with object_default 2019-01-30 17:34:05 +08:00
xianjimli
ca70106434 add navigator 2019-01-29 11:39:09 +08:00
xianjimli
91ad508b08 add navigator hander 2019-01-28 11:36:48 +08:00
xianjimli
85674b0f5f restruct directory 2019-01-28 08:05:30 +08:00
xianjimli
35fb704465 update docs 2019-01-28 07:35:25 +08:00
xianjimli
3702d6ce55 add view model 2019-01-27 17:35:47 +08:00
xianjimli
e069f7a8ba add object_eval/object_has_prop 2019-01-27 06:44:51 +08:00
xianjimli
caf2ea6fa4 add expr eval 2019-01-26 17:35:16 +08:00
xianjimli
1ffd462180 merge master 2019-01-26 12:04:41 +08:00
xianjimli
3e95ba1ab1 add value converter factory/value validator factory 2019-01-26 08:04:58 +08:00
xianjimli
9f7c347496 image name support locale. fix issue #83 2019-01-26 07:53:51 +08:00
xianjimli
6c5a2c91de add model_delegate 2019-01-25 08:22:59 +08:00
xianjimli
5c1c202827 add value validator 2019-01-24 06:37:52 +08:00
xianjimli
3482d6daef add value converter 2019-01-23 07:34:22 +08:00
xianjimli
f868e16241 improve object 2019-01-23 06:41:25 +08:00
xianjimli
efc204b8cb improve data_binding/command_binding 2019-01-22 18:32:36 +08:00
xianjimli
c2f074b83a merge master 2019-01-22 18:03:36 +08:00
xianjimli
b6a11968da fix widget_destroy. issue #80 2019-01-22 17:49:15 +08:00
xianjimli
c2ab4498f1 add binding rule parser 2019-01-22 12:08:01 +08:00
xianjimli
601f146db5 add command binding 2019-01-21 11:45:12 +08:00
xianjimli
e76a4ba489 add binding_rule/binding_rule_data 2019-01-20 19:04:45 +08:00
xianjimli
0e829fbe48 fix valgrind found bugs 2019-01-19 12:06:25 +08:00
xianjimli
676b936e51 update docs 2019-01-17 15:48:41 +08:00
xianjimli
1fe6a5fd0b fix valgrind found errors 2019-01-17 14:05:15 +08:00
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