Commit Graph

368 Commits

Author SHA1 Message Date
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
xianjimli
1710aba0d3 rework ui_binary_writer 2018-07-14 11:49:37 +08:00
xianjimli
a03f3998f5 rework dialog 2018-07-14 11:35:40 +08:00
xianjimli
51e96900b2 improve layout 2018-07-14 07:01:13 +08:00
xianjimli
e34c576c5f add widget clone/equal 2018-07-13 19:35:12 +08:00
xianjimli
fb8f33d458 change widget name from str_t to char* 2018-07-13 16:07:48 +08:00
xianjimli
3a7a78e3c6 add create/properies in widget vtable 2018-07-13 11:22:20 +08:00
xianjimli
f1e9f836cf rework widget_grab 2018-07-12 17:59:15 +08:00
xianjimli
59bdbb43fb refactor 2018-07-12 16:28:59 +08:00
xianjimli
b17b983857 improve image draw type and add demos 2018-07-11 17:37:08 +08:00
xianjimli
882c6a9e58 list view support mouse wheel event 2018-07-10 14:04:00 +08:00
xianjimli
a107d29755 improve events 2018-07-10 10:23:35 +08:00
xianjimli
bc4cda05cb keyboard action button commit input 2018-07-09 16:53:43 +08:00
xianjimli
ec1e00d91c improve scrollbar to support repeat and animatable 2018-07-09 11:44:06 +08:00
xianjimli
0fe0291d78 improve scrollview set_prop/get_prop 2018-07-09 07:42:35 +08:00
xianjimli
f3bf0b858f button support repeat property; keyboards support repeat. 2018-07-09 07:32:38 +08:00
xianjimli
a109e8fdc3 improve listview 2018-07-05 11:46:38 +08:00
xianjimli
aedeb8643c add scroll view 2018-07-04 09:56:07 +08:00
xianjimli
a42b8f0669 add dragger 2018-07-01 11:56:06 +08:00
xianjimli
82c94129f4 improve wstr 2018-06-30 13:17:54 +08:00
xianjimli
35e75d6128 improve edit 2018-06-29 19:33:01 +08:00
xianjimli
7fb1fd37e0 add border in theme 2018-06-29 19:12:04 +08:00
xianjimli
48508f2044 add edit demos 2018-06-29 17:22:57 +08:00
xianjimli
33be105e19 improve edit 2018-06-29 15:46:43 +08:00
xianjimli
05dc60957f update resources 2018-06-28 16:01:28 +08:00
xianjimli
aa5174c13e suggest words works 2018-06-27 13:46:42 +08:00
xianjimli
bca945603b theme support custom widget 2018-06-25 17:27:17 +08:00
xianjimli
3be0736dd0 improve layout 2018-06-25 06:59:12 +08:00
xianjimli
acd598092e port gpinyin to arm 2018-06-24 18:03:28 +08:00
xianjimli
0ba9d3303d integrate pinyin input method 2018-06-24 12:23:51 +08:00
xianjimli
8a37c17273 rework rect_init 2018-06-22 12:01:36 +08:00
xianjimli
c917ec6744 demou add locale demo 2018-06-21 17:42:18 +08:00
xianjimli
2cda38f2f7 rework emitter 2018-06-21 10:16:11 +08:00
xianjimli
a8a009ac61 improve keyboard 2018-06-20 16:04:13 +08:00
xianjimli
bcc2fb5838 add pages_set_active_by_name 2018-06-18 07:18:37 +08:00
xianjimli
8b3024125d add str_decode_xml_entity to decode xml entity 2018-06-17 17:58:07 +08:00
xianjimli
2974fcf94a improve layout 2018-06-17 12:03:18 +08:00
xianjimli
d36d3ac80c add tokenizer 2018-06-17 07:57:00 +08:00
xianjimli
792e736c44 add widget_factory to support custom widget in ui file 2018-06-16 17:59:41 +08:00
xianjimli
4fad8e5f2b rename WIDGETP to WIDGET/g 2018-06-16 11:40:13 +08:00
xianjimli
a08aa840f9 window support its own theme file 2018-06-15 19:12:34 +08:00
xianjimli
a442184d0c support lcd orientation(window translate animation not work yet) 2018-06-14 11:32:46 +08:00
xianjimli
081e3049b9 fix pointer_event_rotate 2018-06-13 10:27:14 +08:00
xianjimli
e6355ebc2e add lcd orientation(not work yet) 2018-06-12 16:02:24 +08:00
xianjimli
2e4af3abc4 refactor 2018-06-12 08:55:18 +08:00
xianjimli
f071b027e2 improve lcd/animation 2018-06-10 17:39:20 +08:00
xianjimli
83fb2e7cf5 add glyph_cache to optimize draw text 2018-06-10 08:24:42 +08:00
xianjimli
7b654f6b74 fix layout 2018-06-08 07:50:15 +08:00
xianjimli
461ae54b46 add slide view 2018-06-07 16:23:44 +08:00
xianjimli
3422972cda improve slide view 2018-06-06 15:57:15 +08:00
xianjimli
38d298e1d5 add velocity 2018-06-05 16:32:38 +08:00
xianjimli
6d249e62b0 format code 2018-06-03 10:19:34 +08:00
xianjimli
ec9d13c42e opimization and format code 2018-06-01 18:46:45 +08:00
xianjimli
10be70bfdf add test 2018-05-31 16:34:39 +08:00
xianjimli
426b8271b3 improve widget animator 2018-05-31 15:47:42 +08:00
xianjimli
1b6462c41c add animator_rotation/animator_scale 2018-05-31 11:01:46 +08:00
xianjimli
3b621a4d42 widget animator support delay play 2018-05-31 08:41:13 +08:00
xianjimli
676b937bd9 add wcs_xxx 2018-05-28 06:38:26 +08:00
xianjimli
fd8d44c230 optimization 2018-05-27 17:27:27 +08:00
xianjimli
06ca75a5b0 fix warnings and format code 2018-05-27 07:02:50 +08:00
xianjimli
201db06dce improve lcd mem 2018-05-27 06:44:02 +08:00
xianjimli
0ab8949aba rename some functions 2018-05-26 17:48:14 +08:00
xianjimli
82a14f788c update test 2018-05-26 17:40:06 +08:00
xianjimli
be985332a0 optimize fill color 2018-05-26 08:02:44 +08:00
xianjimli
287b22afed mv mem_test to tests 2018-05-24 13:49:17 +08:00
xianjimli
5febb1b47a support non gui thread send message to gui thread 2018-05-17 17:41:02 +08:00
xianjimli
ccfbbcf8da update docs 2018-05-17 14:02:00 +08:00
xianjimli
f5e21e06c7 format code 2018-05-17 11:14:41 +08:00
xianjimli
971962e358 add test 2018-05-17 10:26:18 +08:00
xianjimli
242ee28e02 improve timer and idle 2018-05-16 14:02:23 +08:00
xianjimli
60c1b940a1 improve timer manager 2018-05-16 10:32:51 +08:00
xianjimli
ecc9d812b1 rework idle 2018-05-15 18:12:28 +08:00
xianjimli
3fcd8767fb array_remove support destroy callback 2018-05-15 18:12:10 +08:00
xianjimli
9657e401f0 rename timer_check to timer_dispatch 2018-05-10 09:10:19 +08:00
xianjimli
bfdc0aa5be add g2d and format code 2018-05-07 17:50:05 +08:00
xianjimli
02449e1979 unify array return value 2018-05-04 17:23:21 +08:00
xianjimli
f5375677a8 improve font manage and update docs 2018-05-04 16:17:12 +08:00
xianjimli
f2ba7f8264 supported strings translation 2018-05-04 14:52:15 +08:00
xianjimli
cf804f90a8 add str_gen 2018-05-04 11:47:09 +08:00
xianjimli
8b6a42e830 add array_remove_all 2018-05-04 11:28:07 +08:00
xianjimli
56e9961dab add skip and docs 2018-05-04 11:27:12 +08:00
xianjimli
1468d14be9 add str_set_with_len 2018-05-04 11:00:21 +08:00
xianjimli
36de4d0e19 add str_t 2018-05-01 12:02:42 +08:00
xianjimli
f0d2a0f4e4 improve resource manager 2018-04-30 08:13:36 +08:00
xianjimli
b66d00b0ac rename MEM_ to TKMEM_ and format code 2018-04-29 16:51:54 +08:00
xianjimli
535e159ce8 image manager support cache/dpi 2018-04-28 15:09:07 +08:00
xianjimli
f0980f748e resource manager support loading res from file system 2018-04-27 18:12:12 +08:00
xianjimli
cd321ab9fb unify some function/macro names 2018-04-27 11:23:09 +08:00
xianjimli
8e665e77c1 fix picasso matrix and image format 2018-04-25 17:38:51 +08:00
xianjimli
6d5f099997 window animator on framebuffer 2018-04-22 16:57:05 +08:00
xianjimli
ba2558b783 update demos and tests 2018-04-21 07:43:02 +08:00
xianjimli
35d4ea8f5e add window animator framework 2018-04-20 21:49:47 +08:00
xianjimli
a5dab59fd9 add src/base/idle.c src/base/idle.h tests/idle_test.cc src/main_loop 2018-04-19 14:24:41 +08:00
xianjimli
597365517b add test 2018-04-18 17:33:40 +08:00
xianjimli
c1f2dc8a51 fix draw points 2018-04-18 16:58:51 +08:00
xianjimli
d63707f289 improve image loader 2018-04-18 14:27:14 +08:00
xianjimli
6ccd728b72 rename width to w, height to h 2018-04-09 16:22:35 +08:00
xianjimli
2bb60afed3 fix windows compile errors 2018-04-08 11:34:05 +08:00
xianjimli
a0d33ef894 fix wstr 2018-04-08 07:43:17 +08:00
xianjimli
b29773aad8 add edit 2018-04-08 07:32:48 +08:00
xianjimli
b9bb7a3b2e improve wstr 2018-04-08 07:28:21 +08:00
xianjimli
657e5280d0 move text to widget 2018-04-05 18:45:19 +08:00
xianjimli
79e47f5fa8 improve slider/progressbar 2018-04-05 17:09:29 +08:00
xianjimli
de159d15c5 add slider 2018-04-02 17:35:20 +08:00
lixianjing
87805f895c format code 2018-03-31 19:48:56 +08:00
lixianjing
9fa6ba29ae redesign xml theme file format 2018-03-31 13:48:18 +08:00
lixianjing
c73358008b refactoring 2018-03-30 22:15:45 +08:00
lixianjing
c262208307 add tests and refactoring 2018-03-26 12:16:52 +08:00
lixianjing
4c570f9f04 improve tests and demos 2018-03-26 11:17:38 +08:00
lixianjing
4dddb0fe3f image support diffirent draw_type 2018-03-26 07:36:18 +08:00
lixianjing
14d5e73415 add vgcanvas to draw vector graphics 2018-03-24 21:37:40 +08:00
lixianjing
8d7aaf09a5 add matrix 2018-03-23 19:15:24 +08:00
lixianjing
b96b4d8b97 add draw_image_center/scale/scale_x/scale_y 2018-03-22 21:41:30 +08:00
lixianjing
4a1b92739e support draw_image_tile/tile_h/tile_v 2018-03-21 21:34:54 +08:00
lixianjing
16e253eed7 support draw_image_3patch_h/draw_image_3patch_v 2018-03-20 21:38:43 +08:00
jim
12d7dcaa9a format code 2018-03-19 07:19:25 +08:00
jim
ff26012803 improve stm32 2018-03-18 17:02:10 +08:00
jim
5f36f35611 redesign resource manager 2018-03-18 11:29:31 +08:00
jim
906a09f6d9 add qt_to_xml/rc_to_xml 2018-03-15 22:07:01 +08:00
jim
47d73bcecf add event_queue 2018-03-13 21:23:34 +08:00
jim
79cde3f835 add docs 2018-03-12 21:24:24 +08:00
jim
8d3686bb21 support layout 2018-03-11 22:25:54 +08:00
jim
3fb0ff30b9 support fast mode 2018-03-11 14:21:19 +08:00
jim
f1c875c453 update docs 2018-03-11 12:04:43 +08:00
jim
9a0590ba59 support load ui from xml/bin ui description 2018-03-10 19:11:37 +08:00
jim
db5acd2123 load ui from bin/xml works 2018-03-09 21:54:46 +08:00
jim
9015c0b291 add lua binding for timer. 2018-03-06 21:56:52 +08:00
jim
8a5b7a63a9 fix linux/windows build errors. 2018-03-05 11:51:05 +08:00
jim
0d420c9665 1.add api doc. 2.add lua generator 2018-03-04 08:32:52 +08:00
jim
95e9f2f070 remove lcd_init 2018-02-26 17:32:00 +08:00
jim
5b5987c3f6 add lua generator 2018-02-26 12:42:05 +08:00
jim
0c87a12324 fix ubuntu compile errors 2018-02-22 11:53:07 +08:00
jim
1f468e80fb tools use self-contained memory manager 2018-02-22 11:37:13 +08:00
jim
c84a2c7804 support timer 2018-02-22 09:04:05 +08:00
jim
11a86b1bad add .clang-format and format source code 2018-02-22 08:36:54 +08:00
jim
a68c7d049f init 2018-02-21 19:36:38 +08:00